-
Notifications
You must be signed in to change notification settings - Fork 29
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
fix wrong EC_PARAMETERS #123
Conversation
Dear @lau-bin, In order to potentially merge your code in this open-source repository and therefore proceed with your contribution, we need to have your approval on DFINITY's CLA1. If you decide to agree with it, please visit this issue and read the instructions there. — The DFINITY Foundation Footnotes
|
Dear @lau-bin, In order to potentially merge your code in this open-source repository and therefore proceed with your contribution, we need to have your approval on DFINITY's CLA1. If you decide to agree with it, please visit this issue and read the instructions there. — The DFINITY Foundation Footnotes
|
Hi @lau-bin, thank you very much for your PR. I'll ping the relevant people so they can review this. |
This change seems correct to me. The DER encoding AIUI this "EC PARAMETERS" block is just being printed out for the user during key derivation, and the variable is not used outside of that context. So it seems safe enough to change. Certainly no other software will be able to correctly interpret the value we are printing right now. |
FYI, on the agent-rs side (used by dfx), such And thank you @randombit for pointing out that such bytes are DER encoding of OID. |
Hi @lau-bin, would you mind approve DFINITY's CLA? So that I can merge this work. |
Close by #124 |
Wrong elliptic curve parameters cause the "generate" command to fail with an InvalidEncoding exception