Skip to content
New issue

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

src/OpenSSL/crypto.py: support SM2 sign with OpenSSL 1.1.1x #1171

Closed
hustliyilin opened this issue Dec 28, 2022 · 1 comment
Closed

src/OpenSSL/crypto.py: support SM2 sign with OpenSSL 1.1.1x #1171

hustliyilin opened this issue Dec 28, 2022 · 1 comment

Comments

@hustliyilin
Copy link

In openssl 1.1.1 docs/man3/EVP_PKEY_set1_RSA.pod
(https://github.com/openssl/openssl/blob/OpenSSL_1_1_1/doc/man3/EVP_PKEY_set1_RSA.pod)
The EVP_PKEY_set_alias_type(pkey, EVP_PKEY_SM2) API is possible to convert it to using
SM2 algorithms After loading an ECC key.

Besides, pyca/cryptography support to export The EVP_PKEY_set_alias_type(pkey, EVP_PKEY_SM2) API
in pyca/cryptography@c28bfb3 .

So in pyopenssl, we can support SM2 sign with OpenSSL 1.1.1x and pyca/cryptography.

@alex
Copy link
Member

alex commented Jan 12, 2025

Signing support has been removed from pyOpenSSL.

@alex alex closed this as completed Jan 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

2 participants