Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Support more AES-CBC encryption schemes | Arthur de Jong | 2014-05-29 | 1 | -4/+8 | |
| | | | | | This also moves the crypto imports to the places where they are used to avoid a depenency on pycrypto if no encryption is used. | |||||
* | Add test for missing secret value | Arthur de Jong | 2014-05-29 | 1 | -0/+2 | |
| | ||||||
* | Add a function for adding a new key | Arthur de Jong | 2014-05-25 | 3 | -2/+26 | |
| | ||||||
* | Consistency improvement | Arthur de Jong | 2014-05-25 | 1 | -2/+2 | |
| | ||||||
* | Support creating an empty PSKC instance | Arthur de Jong | 2014-05-25 | 2 | -6/+14 | |
| | ||||||
* | Be more lenient in accepting algorithms | Arthur de Jong | 2014-05-25 | 2 | -16/+3 | |
| | ||||||
* | Code simplification | Arthur de Jong | 2014-05-25 | 1 | -9/+5 | |
| | ||||||
* | Raise an exception if decryption fails | Arthur de Jong | 2014-05-25 | 5 | -4/+67 | |
| | ||||||
* | Make decryption code better readable | Arthur de Jong | 2014-05-25 | 1 | -5/+9 | |
| | ||||||
* | Add tests for invalid PSKC files | Arthur de Jong | 2014-05-23 | 5 | -1/+66 | |
| | ||||||
* | Raise exceptions on some parsing problems | Arthur de Jong | 2014-05-23 | 2 | -2/+44 | |
| | ||||||
* | Fix install_requires | Arthur de Jong | 2014-05-23 | 1 | -1/+1 | |
| | ||||||
* | Get files ready for 0.1 release0.1 | Arthur de Jong | 2014-05-23 | 3 | -1/+258 | |
| | ||||||
* | Use pskcxml as file name extension | Arthur de Jong | 2014-05-23 | 10 | -9/+9 | |
| | | | | This is the extension that is suggested in RFC6030. | |||||
* | Improve IANA links | Arthur de Jong | 2014-05-23 | 2 | -2/+2 | |
| | ||||||
* | Improve test | Arthur de Jong | 2014-05-23 | 1 | -2/+7 | |
| | | | | | This tests that, before the PSKC ecnryption is key available, the secret from the key cannot be extracted. | |||||
* | Provide Sphinx documentation | Arthur de Jong | 2014-05-19 | 7 | -0/+720 | |
| | ||||||
* | Add missing policy constant | Arthur de Jong | 2014-05-19 | 1 | -0/+3 | |
| | ||||||
* | Fix attribute name in docstring | Arthur de Jong | 2014-05-19 | 1 | -1/+1 | |
| | ||||||
* | Update README | Arthur de Jong | 2014-05-19 | 1 | -5/+28 | |
| | ||||||
* | Fix dateutil dependency | Arthur de Jong | 2014-05-17 | 2 | -2/+2 | |
| | | | | This also ignores downloaded .egg files. | |||||
* | Fix module description | Arthur de Jong | 2014-04-19 | 1 | -2/+1 | |
| | ||||||
* | Move PSKC class to toplevel module | Arthur de Jong | 2014-04-19 | 2 | -42/+44 | |
| | | | | This also splits the parsing to a parse() function for consistency. | |||||
* | Provide pskc.key docstrings | Arthur de Jong | 2014-04-19 | 2 | -48/+115 | |
| | | | | | | | | | 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 docstrings | Arthur de Jong | 2014-04-19 | 1 | -1/+19 | |
| | | | | | This documents most of the API of the parsing functions and the PSKC class. | |||||
* | Complete pskc.policy docstrings | Arthur de Jong | 2014-04-19 | 1 | -2/+4 | |
| | | | | Also contains small consistency improvement. | |||||
* | Provide pskc.mac docstrings | Arthur de Jong | 2014-04-19 | 1 | -8/+34 | |
| | | | | This also hides two properties that are not part of the public API. | |||||
* | Provide pskc.encryption docstrings | Arthur de Jong | 2014-04-19 | 1 | -5/+41 | |
| | | | | This documents classes in the pskc.encryption module. | |||||
* | Move Key class to separate module | Arthur de Jong | 2014-04-19 | 4 | -188/+239 | |
| | | | | This also allows re-organising the imports a bit. | |||||
* | Add initial setup script | Arthur de Jong | 2014-04-16 | 4 | -2/+98 | |
| | ||||||
* | Include a license file (LGPL) | Arthur de Jong | 2014-04-16 | 1 | -0/+504 | |
| | ||||||
* | Add bulk provisioning test from Figure 10 | Arthur de Jong | 2014-04-16 | 2 | -0/+154 | |
| | ||||||
* | Use slightly clearer names | Arthur de Jong | 2014-04-16 | 1 | -4/+4 | |
| | ||||||
* | Add test for Figure 7 from RFC6030 | Arthur de Jong | 2014-04-13 | 2 | -0/+94 | |
| | | | | | This tests encrypted key derivation using PBKDF2 and a pre-shared passphrase. | |||||
* | Implement PBKDF2 key derivation | Arthur de Jong | 2014-04-13 | 1 | -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 EncryptionKey | Arthur de Jong | 2014-04-13 | 1 | -2/+5 | |
| | ||||||
* | Add test for Figure 6 from RFC6030 | Arthur de Jong | 2014-04-12 | 2 | -0/+78 | |
| | | | | This test key encryption with a pre-shared key and MAC checks. | |||||
* | Implement MAC checking | Arthur de Jong | 2014-04-12 | 2 | -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 key | Arthur de Jong | 2014-04-12 | 2 | -2/+108 | |
| | | | | | This adds an encryption module that provides wrappers for handling decryption. | |||||
* | Refactor DataType value handling | Arthur de Jong | 2014-04-12 | 1 | -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 values | Arthur de Jong | 2014-04-11 | 1 | -0/+42 | |
| | ||||||
* | Add test for Figure 5 from RFC6030 | Arthur de Jong | 2014-04-11 | 2 | -0/+114 | |
| | | | | This test extraction of key policy information and cross-key references. | |||||
* | Implement key policy parsing | Arthur de Jong | 2014-04-11 | 2 | -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 values | Arthur de Jong | 2014-04-11 | 1 | -8/+23 | |
| | ||||||
* | Add test for Figure 4 from RFC6030 | Arthur de Jong | 2014-04-11 | 2 | -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 RFC6030 | Arthur de Jong | 2014-04-11 | 2 | -0/+71 | |
| | | | | | This tests Figure 3 from RFC6030 with a very basic plain text secret key and some supplementary data. | |||||
* | Get more data from KeyPackage | Arthur de Jong | 2014-04-07 | 1 | -0/+42 | |
| | | | | | This gets most simple string values from the KeyPackage as well as some integer and boolean values. | |||||
* | Add test for example from RFC6030 | Arthur de Jong | 2014-04-07 | 2 | -0/+60 | |
| | | | | | This tests Figure 2 from RFC6030 with a very basic plain text secret key. | |||||
* | Support getting plaintext key | Arthur de Jong | 2014-04-07 | 1 | -0/+58 | |
| | ||||||
* | Minimal test | Arthur de Jong | 2014-04-07 | 1 | -0/+35 | |
| | | | | | This adds a doctest for the absolute minimum PSKC file that does not contain any useful information. |