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

Load RSA PSS keys as regular RSA keys #7112

Merged
merged 5 commits into from Apr 26, 2022
Merged

Conversation

reaperhulk
Copy link
Member

@reaperhulk reaperhulk commented Apr 25, 2022

Allow loading of RSA PSS keys (in OpenSSL 1.1.1e+ only). We do not enforce PSS constraints in the loaded keys (but if someone wants to parse and expose those constraints via another API in the future we'd love to see a PR).

src/_cffi_src/openssl/evp.py Outdated Show resolved Hide resolved
@alex alex enabled auto-merge (squash) April 26, 2022 03:27
@alex alex linked an issue Apr 26, 2022 that may be closed by this pull request
@alex alex merged commit 34fd658 into pyca:main Apr 26, 2022
@reaperhulk reaperhulk deleted the pss-support branch April 26, 2022 03:40
tiran pushed a commit to tiran/cryptography that referenced this pull request Oct 27, 2023
* RSA PSS openssl constant

* load PSS keys (OpenSSL only) but strip the constraints

* empty commit for CI, sigh

* review feedback

* nit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Support for RSASSA-PSS private key loading
2 participants