We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
from oscrypto import asymmetric public, private = asymmetric.generate_pair('ec', curve='secp256k1')
Could this be supported? I am trying to play with notr protocol and do not want to compile C libraries.
I think openssl already support this curve. Like openssl ecparam -name secp256k1 -genkey -noout -out priv.pem. so we can add
openssl ecparam -name secp256k1 -genkey -noout -out priv.pem
NID_secp160k1 = 708 NID_secp192k1 = 711 NID_secp224k1 = 712 NID_secp256k1 = 714
to https://github.com/wbond/oscrypto/blob/master/oscrypto/_openssl/_libcrypto.py#L147
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Could this be supported? I am trying to play with notr protocol and do not want to compile C libraries.
I think openssl already support this curve. Like
openssl ecparam -name secp256k1 -genkey -noout -out priv.pem
. so we can addto https://github.com/wbond/oscrypto/blob/master/oscrypto/_openssl/_libcrypto.py#L147
The text was updated successfully, but these errors were encountered: