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

Include note about non-deterministic usage in documentation. #11

Open
zamicol opened this issue Dec 27, 2024 · 0 comments
Open

Include note about non-deterministic usage in documentation. #11

zamicol opened this issue Dec 27, 2024 · 0 comments

Comments

@zamicol
Copy link
Contributor

zamicol commented Dec 27, 2024

Something along the lines of: "Non-deterministic signing may result in unique signatures. Although this use is RFC non-compliant, tool performing such operations may produce many different signatures for the same key and message. Verification tools have no way to know if the messages have been created in such a way, and thus will validate and verify. Verification tools are not given enough information to force an error on non-compliant constructions that use non-deterministic generation."

Here's an example "abusing" R, i.e. a signature that is not RFC compliant but there is no way to tell at the time of verification:

https://cyphr.me/ed25519_tool/ed.html#?alg_type=Msg&msg_enc=Text&msg=this%20is%20a%20test%20message&key_enc=Hex&key=9a197e4e00c86d52e22bff7d19162b9f372e9eefdd394c51f6250355305ef187&sig=d2f48969d58865dc37a8cf53d2c9db5a6384611ee1a539692f41a6ca67a93fdc8f6c2f6c86eb89afc840b9088dfeb8b93fc569304835478f8c94a784282b3b01&verify

https://cyphr.me/ed25519_tool/ed.html#?alg_type=Msg&msg_enc=Text&msg=this%20is%20a%20test%20message&key_enc=Hex&key=9a197e4e00c86d52e22bff7d19162b9f372e9eefdd394c51f6250355305ef187&sig=c3c0132022abeefbee6e915f89c044bf1c845fa6340e62abfde1d4caf317c37fa3ce5f4f8b9d8262fbd6c30d2196aeb2c22faa9431204b067eacd1a0cf15750e&verify

@zamicol zamicol changed the title Include note about non-deterministic useage in documentation. Include note about non-deterministic usage in documentation. Dec 27, 2024
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