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

RSA-PSS (RSASSA-PSS) keys are unusable in Go language #360

Open
vault-thirteen opened this issue Oct 30, 2023 · 0 comments
Open

RSA-PSS (RSASSA-PSS) keys are unusable in Go language #360

vault-thirteen opened this issue Oct 30, 2023 · 0 comments

Comments

@vault-thirteen
Copy link

vault-thirteen commented Oct 30, 2023

This library can not be used normally in Golang because built-in Go library does not support parsing RSA-PSS (RSASSA-PSS) keys.

Parsing an RSA-PSS (RSASSA-PSS) key throws a following error:

x509: PKCS#8 wrapping contained private key with unknown algorithm: 1.2.840.113549.1.1.10

For more information see this issue:
golang/go#48314

This means that such signing methods as PS256, PS384 and PS512 are not working with built-in Golang's libraries.

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

No branches or pull requests

1 participant