Skip to content

Web Crypto API support the SPKI export with RSA-PSS algorithm - #132

Open
Unknown-Robot wants to merge 1 commit into
PeculiarVentures:masterfrom
Unknown-Robot:fix/publickey-rsa-pss
Open

Web Crypto API support the SPKI export with RSA-PSS algorithm#132
Unknown-Robot wants to merge 1 commit into
PeculiarVentures:masterfrom
Unknown-Robot:fix/publickey-rsa-pss

Conversation

@Unknown-Robot

Copy link
Copy Markdown

This PR removes the condition that exports public keys using the RSA-PSS algorithm to RSA-PKCS1, since the Web Crypto API supports the export of SPKIs that use the RSA-PSS algorithm.

This behavior can be confusing when importing an X.509 certificate that uses a public key with the RSA-PSS algorithm but was exported with the RSA-PKCS1 algorithm, even though it works correctly.

This commit removes the condition that exports public keys using the RSA-PSS algorithm to RSA-PKCS1, since the Web Crypto API supports the export of SPKIs that use the RSA-PSS algorithm.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant