Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/tests/test_tripledeskw.doctest
Commit message (Collapse)AuthorAgeFilesLines
* Improve tests and test coverageArthur de Jong2016-03-191-4/+4
| | | | | | | | | | This adds tests to ensure that incorrect attribute and value types in the PSKC file raise a ValueError exception and extends the tests for invalid encryption options. This removes some code or adds no cover directives to a few places that have unreachable code or are Python version specific and places doctest directives inside the doctests where needed.
* Support Python 3Arthur de Jong2015-10-061-3/+4
| | | | | | | | 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.
* Move encryption functions in pskc.crypto packageArthur de Jong2014-10-091-1/+1
| | | | | | This moves the encryption functions under the pskc.crypto package to more clearly separate it from the other code. Ideally this should be replaced by third-party library code.
* Implement RFC 3217 Triple DES key wrappingArthur de Jong2014-05-311-0/+85