Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Support kw-aes128, kw-aes192 and kw-aes256 | Arthur de Jong | 2014-05-30 | 4 | -0/+117 | |
| | | | | | This adds support for key unwrapping using the RFC 3394 or RFC 5649 algorithm if the PSKC file uses this. | |||||
* | Implement padding as specified in RFC 5649 | Arthur de Jong | 2014-05-30 | 1 | -1/+79 | |
| | | | | This adds a pad argument with which padding can be forced or disabled. | |||||
* | Allow speciying an initial value for key wrapping | Arthur de Jong | 2014-05-30 | 1 | -0/+17 | |
| | ||||||
* | Provide an RFC 3394 AES key wrapping algorithm | Arthur de Jong | 2014-05-30 | 1 | -0/+101 | |
| | | | | This also introduces an EncryptionError exception. | |||||
* | Always put a space between RFC and number | Arthur de Jong | 2014-05-29 | 8 | -26/+27 | |
| | ||||||
* | Support Tripple DES decryption | Arthur de Jong | 2014-05-29 | 2 | -0/+40 | |
| | ||||||
* | Add tests for key derivation problems | Arthur de Jong | 2014-05-29 | 1 | -0/+39 | |
| | | | | | This tests for unknown or missing algorithms and unknown derivation parameters. | |||||
* | Add test for missing key encryption algorithm | Arthur de Jong | 2014-05-29 | 2 | -1/+24 | |
| | | | | | This also introduces a toplevel PSKCError exception that all exceptions have as parent. | |||||
* | Add test for all AES-CBC encryption schemes | Arthur de Jong | 2014-05-29 | 4 | -0/+131 | |
| | ||||||
* | 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 | 1 | -1/+10 | |
| | ||||||
* | Support creating an empty PSKC instance | Arthur de Jong | 2014-05-25 | 1 | -0/+5 | |
| | ||||||
* | Raise an exception if decryption fails | Arthur de Jong | 2014-05-25 | 3 | -2/+50 | |
| | ||||||
* | Add tests for invalid PSKC files | Arthur de Jong | 2014-05-23 | 4 | -0/+65 | |
| | ||||||
* | Use pskcxml as file name extension | Arthur de Jong | 2014-05-23 | 8 | -7/+7 | |
| | | | | This is the extension that is suggested in RFC6030. | |||||
* | 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 pskc.key docstrings | Arthur de Jong | 2014-04-19 | 1 | -1/+1 | |
| | | | | | | | | | 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. | |||||
* | Add bulk provisioning test from Figure 10 | Arthur de Jong | 2014-04-16 | 2 | -0/+154 | |
| | ||||||
* | 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. | |||||
* | 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. | |||||
* | 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. | |||||
* | 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. | |||||
* | 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. | |||||
* | 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. |