Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/tests/test_invalid.doctest
Commit message (Collapse)AuthorAgeFilesLines
* Support Python 3Arthur de Jong2015-10-061-5/+6
| | | | | | | | This enables support for Python 3 together with Python 2 support with a single codebase. On Python 3 key data is passed around as bytestrings which makes the doctests a little harder to maintain across Python versions.
* Add tests for missing or invalid MACArthur de Jong2014-06-141-0/+40
| | | | This tests for incomplete, unknown or invalid MACs in PSKC files.
* Add tests for key derivation problemsArthur de Jong2014-05-291-0/+39
| | | | | This tests for unknown or missing algorithms and unknown derivation parameters.
* Add test for missing key encryption algorithmArthur de Jong2014-05-291-0/+7
| | | | | This also introduces a toplevel PSKCError exception that all exceptions have as parent.
* Raise an exception if decryption failsArthur de Jong2014-05-251-0/+15
|
* Add tests for invalid PSKC filesArthur de Jong2014-05-231-0/+42