Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/pskc
Commit message (Collapse)AuthorAgeFilesLines
* Use pskcxml as file name extensionArthur de Jong2014-05-231-1/+1
| | | | This is the extension that is suggested in RFC6030.
* Add missing policy constantArthur de Jong2014-05-191-0/+3
|
* Fix attribute name in docstringArthur de Jong2014-05-191-1/+1
|
* Fix module descriptionArthur de Jong2014-04-191-2/+1
|
* Move PSKC class to toplevel moduleArthur de Jong2014-04-192-42/+44
| | | | This also splits the parsing to a parse() function for consistency.
* Provide pskc.key docstringsArthur de Jong2014-04-191-47/+114
| | | | | | | | | This documents most of the information that is available per key and adds a few other minor cosmetic changes. This also re-organises the key properties to be in a slightly more logical order and renames the userid key property to key_userid to more clearly distinguish it from device_userid.
* Provide pskc.parse docstringsArthur de Jong2014-04-191-1/+19
| | | | | This documents most of the API of the parsing functions and the PSKC class.
* Complete pskc.policy docstringsArthur de Jong2014-04-191-2/+4
| | | | Also contains small consistency improvement.
* Provide pskc.mac docstringsArthur de Jong2014-04-191-8/+34
| | | | This also hides two properties that are not part of the public API.
* Provide pskc.encryption docstringsArthur de Jong2014-04-191-5/+41
| | | | This documents classes in the pskc.encryption module.
* Move Key class to separate moduleArthur de Jong2014-04-194-188/+239
| | | | This also allows re-organising the imports a bit.
* Add initial setup scriptArthur de Jong2014-04-161-2/+22
|
* Use slightly clearer namesArthur de Jong2014-04-161-4/+4
|
* Implement PBKDF2 key derivationArthur de Jong2014-04-131-0/+64
| | | | | This supports deriving the key from a passphrase and information present in the DerivedKey and PBKDF2-params XML elements.
* Add id attribute from EncryptionKeyArthur de Jong2014-04-131-2/+5
|
* Implement MAC checkingArthur de Jong2014-04-122-0/+95
| | | | | This implements message message authentication code checking for the encrypted values if MACMethod and ValueMAC are present.
* Support decrypting with a pre-shared keyArthur de Jong2014-04-122-2/+108
| | | | | This adds an encryption module that provides wrappers for handling decryption.
* Refactor DataType value handlingArthur de Jong2014-04-121-35/+55
| | | | | This ensures that DataType values are retrieved dynamically instead of at the time the PSKC file was parsed in order to make decryption work.
* Document key and pin usage valuesArthur de Jong2014-04-111-0/+42
|
* Implement key policy parsingArthur de Jong2014-04-112-2/+125
| | | | | This parses key policy from PSKC files and provides a few utility methods to help with policy validation.
* Support parsing date and integer valuesArthur de Jong2014-04-111-8/+23
|
* Get more data from KeyPackageArthur de Jong2014-04-071-0/+42
| | | | | This gets most simple string values from the KeyPackage as well as some integer and boolean values.
* Support getting plaintext keyArthur de Jong2014-04-071-0/+58
|
* Basic implementation of PSKC classArthur de Jong2014-04-072-0/+90
| | | | | | | | | This class is used for handling PSKC files. It will parse the file and store relevant properties for easy access. The Key class corresponds to a single key defined in the PSKC file. This is a very minimal implementation that only provides some meta-data from the file and keys (work in progress).
* Initial project layoutArthur de Jong2014-04-041-0/+28