Skip to content

Do not use pkcs1v15 for signature #721

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

Open
cryptochecktool opened this issue Nov 16, 2024 · 0 comments
Open

Do not use pkcs1v15 for signature #721

cryptochecktool opened this issue Nov 16, 2024 · 0 comments
Labels
SDK Issue pertains to the SDK itself and not specific to any service

Comments

@cryptochecktool
Copy link

Message signatures should be populated in a more secure way using pss.
Code is located at:

return key.sign(msg, padding.PKCS1v15(), self.hash_alg())

You can refer to cryptography for pkcs1v15 specifications, https://cryptography.io/en/latest/limitations/#rsa-pkcs1-v1-5-constant-time-decryption

@bhagwatvyas bhagwatvyas added the SDK Issue pertains to the SDK itself and not specific to any service label Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
SDK Issue pertains to the SDK itself and not specific to any service
Projects
None yet
Development

No branches or pull requests

2 participants