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

1.2) Use RSA for VRF seeds, without Salt for unique signatures. #8

Closed
jio-gl opened this issue Apr 28, 2021 · 0 comments
Closed

1.2) Use RSA for VRF seeds, without Salt for unique signatures. #8

jio-gl opened this issue Apr 28, 2021 · 0 comments

Comments

@jio-gl
Copy link
Collaborator

jio-gl commented Apr 28, 2021

1.2) Use RSA for VRF seeds, without Salt for unique signatures. Hash Signature with block number to obtain VRF Seed needed by MiniComptrolller to calculate VDF Difficulty.

We are using mode RSASSA-PKCS1-v1_5 for RSA, which apparently has No Malleability because it has No Padding
. So, signatures are unique.

in an answer [2], Thomas Pornin writes that this "type 2" padding yields a weak signature scheme due to malleability of modular exponentiation. I understand that "type 1" (RSASSA-PKCS1-v1_5) is for digital signatures and "type 2" (RSAES-PKCS1-v1_5) for encryption, yet I don't see how malleability can be applied here to break the security.

References

[1] https://crypto.stackexchange.com/questions/76350/forgery-against-signature-using-rsaes-pkcs1-v1-5-padding
[2] https://security.stackexchange.com/questions/90489/pkcs1-1-5-encoding-is-there-a-reason-to-use-00-in-block-type/90490#90490

@jio-gl jio-gl changed the title 1.2) Use RSA for VRF seeds, without Salt for unique signatures. Hash Signature with block number to obtain VRF Seed needed by MiniComptrolller to calculate VDF Difficulty 1.2) Use RSA for VRF seeds, without Salt for unique signatures. Apr 28, 2021
@jio-gl jio-gl closed this as completed Jul 9, 2021
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