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

Can you add PSS support? #154

Open
xros opened this issue Feb 9, 2022 · 1 comment
Open

Can you add PSS support? #154

xros opened this issue Feb 9, 2022 · 1 comment

Comments

@xros
Copy link

xros commented Feb 9, 2022

When signing data, people recommended to use PSS method rather than PKCS1v15
I saw Pointy Castle is still using PKCS1v15.

https://cryptography.io/en/latest/hazmat/primitives/asymmetric/rsa/#signing
Valid paddings for signatures are PSS and PKCS1v15. PSS is the recommended choice for any new protocols or applications, PKCS1v15 should only be used to support legacy protocols.

https://cryptography.io/en/latest/limitations/#rsa-pkcs1-v1-5-constant-time-decryption

Here's an example like what cryptography on pub.dev https://pub.dev/documentation/cryptography/latest/cryptography/RsaPss-class.html But this one doesn't work for now.

Also for paddings, PKCS8 might be modern.

@Ephenodrom
Copy link
Contributor

I am also interested in this! Bump

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

2 participants