Closed warner closed 12 years ago
I rebased the patches so they'd land cleanly. I think I incorporated all the comments that fell off with the rebasing, with the possible exception of zooko's "why not force callers of create_keypair()
to provide the entropy".
I may rebase them again tomorrow, if I manage to make a new upstream version. It'd be nice if this lands exactly the same code as an upstream release.
I plan to change the API to look more like this minimalist API: https://github.com/warner/python-ed25519/tree/zookoapi after merging this feature and before tagging the next release of pycryptopp. Thank you so much for your excellent work on this!
This copies in version 0.8 of python-ed25519, from https://github.com/warner/python-ed25519 (or pypi), with minor source-code rearrangement to match pycryptopp's build process. It includes unit tests, power-on self-tests, and full known-answer tests. The standard 'setup.py test' target only exercises 10% of the test vectors, to let the suite run in about 1.0s on my laptop.
Tests have been run successfully on OS-X and windows.