Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/pskc/crypto/aeskw.py
Commit message (Collapse)AuthorAgeFilesLines
* Ignore more flake8 messagesArthur de Jong2018-07-301-3/+3
|
* Add and cleanup docstringsArthur de Jong2018-02-151-10/+10
| | | | | | | | This adds docstrings to public methods and cleans up a few other docstrings to pass most flake8 docstring related tests. This also adds noqa statements in a few places so we can remove most entries from the global flake8 ignore list.
* Add support for KW-Camellia suite of algorithmsArthur de Jong2017-12-131-4/+4
|
* Replace pycrypto with cryptographyArthur de Jong2017-10-091-7/+10
| | | | | | | | | The cryptography library is better supported. This uses the functions from cryptography for AES and Triple DES encryption, replaces the (un)padding functions that were previously implemented in python-pskc with cryptography and uses PBKDF2 implementation from hashlib.
* Replace use of pycrypto utility functionsArthur de Jong2017-10-011-7/+14
| | | | | | This uses os.urandom() as a source for random data and replaces other utility functions. This also removes one import for getting the lengths of Tripple DES keys.
* Run flake8 from toxArthur de Jong2017-09-201-1/+1
| | | | | This also makes a few small code formatting changes to ensure that the flake8 tests pass.
* Support Python 3Arthur de Jong2015-10-061-10/+12
| | | | | | | | 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-0/+123
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.