Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 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-164-2/+98
|
* Include a license file (LGPL)Arthur de Jong2014-04-161-0/+504
|
* Add bulk provisioning test from Figure 10Arthur de Jong2014-04-162-0/+154
|
* Use slightly clearer namesArthur de Jong2014-04-161-4/+4
|
* Add test for Figure 7 from RFC6030Arthur de Jong2014-04-132-0/+94
| | | | | This tests encrypted key derivation using PBKDF2 and a pre-shared passphrase.
* 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
|
* Add test for Figure 6 from RFC6030Arthur de Jong2014-04-122-0/+78
| | | | This test key encryption with a pre-shared key and MAC checks.
* 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
|
* Add test for Figure 5 from RFC6030Arthur de Jong2014-04-112-0/+114
| | | | This test extraction of key policy information and cross-key references.
* 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
|
* Add test for Figure 4 from RFC6030Arthur de Jong2014-04-112-0/+54
| | | | | This tests for key profile and key reference properties that can be used to reference external keys.
* Add test for Figure 3 from RFC6030Arthur de Jong2014-04-112-0/+71
| | | | | This tests Figure 3 from RFC6030 with a very basic plain text secret key and some supplementary data.
* 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.
* Add test for example from RFC6030Arthur de Jong2014-04-072-0/+60
| | | | | This tests Figure 2 from RFC6030 with a very basic plain text secret key.
* Support getting plaintext keyArthur de Jong2014-04-071-0/+58
|
* Minimal testArthur de Jong2014-04-071-0/+35
| | | | | This adds a doctest for the absolute minimum PSKC file that does not contain any useful information.
* 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).
* Provide an initial READMEArthur de Jong2014-04-041-0/+40
|
* Initial project layoutArthur de Jong2014-04-042-0/+40