John-Mark Gurney 0c61b6d12a | 1 year ago | |
---|---|---|
cryptography | 1 year ago | |
.gitignore | 1 year ago | |
Makefile | 1 year ago | |
README.md | 1 year ago | |
requirements.txt | 1 year ago | |
setup.py | 1 year ago |
This is a translation layer to let software written for cryptography to used with pycryptodome.
It currently only implements a minimal interface to get pywebpush working.
Currently implemented, tested, and working:
It shouldn’t be too hard to add some additional ciphers or curves.
The Makefile
does the neccessary work to build an environment. To
run the tests:
make test-noentr
This will first run the tests against the cryptography module, and then run the tests against this module. This makes sure that the tests are valid, and also makes it easier to add known answers to make sure you don’t end up only self compatible.
To make developing easier, the test
target has one dependency,
entr. This will watch for changes
in the py
files, and automatically rerun the test.