Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Use pskcxml as file name extensionArthur de Jong2014-05-238-7/+7
| | | | This is the extension that is suggested in RFC6030.
* Improve testArthur de Jong2014-05-231-2/+7
| | | | | This tests that, before the PSKC ecnryption is key available, the secret from the key cannot be extracted.
* Provide pskc.key docstringsArthur de Jong2014-04-191-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 10Arthur de Jong2014-04-162-0/+154
|
* 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.
* 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.
* Add test for Figure 5 from RFC6030Arthur de Jong2014-04-112-0/+114
| | | | This test extraction of key policy information and cross-key references.
* 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.
* 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.
* 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.