sbuss / bitmerchant

Bitcoin merchant tools
MIT License
82 stars 36 forks source link

Investigate using the cryptography library #36

Closed sbuss closed 10 years ago

sbuss commented 10 years ago

https://cryptography.io/en/latest/hazmat/primitives/asymmetric/ec/?highlight=ecdsa

sbuss commented 10 years ago

Looks like this library doesn't yet support secp256k1:

Currently cryptography only supports NIST curves, none of which are considered “safe” by the SafeCurves project run by Daniel J. Bernstein and Tanja Lange.

From https://cryptography.io/en/latest/hazmat/primitives/asymmetric/ec/#elliptic-curves

Note that secp256k1 is not an NIST curve.