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 paddings #400

Open
stronny opened this issue Sep 9, 2022 · 0 comments
Open

RSA paddings #400

stronny opened this issue Sep 9, 2022 · 0 comments
Labels
Status: Untriaged An issue that has yet to be triaged.

Comments

@stronny
Copy link

stronny commented Sep 9, 2022

Please support different paddings for private_decrypt() method. Currently it requires PKCS1, but it should either be OAEP, or configurable with the key item, or it should try all known paddings until one of them works.

Usecase: I need to generate chef-vault compatible jsons from a browser; native APIs do not support RSA-PKCS1 due to security concerns that should also apply to chef-vault. Even if you handwave external compatibility away, PKCS1 padding is old and less secure.

@stronny stronny added the Status: Untriaged An issue that has yet to be triaged. label Sep 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Untriaged An issue that has yet to be triaged.
Projects
None yet
Development

No branches or pull requests

1 participant