-
Notifications
You must be signed in to change notification settings - Fork 110
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
feat(keys): JSON unmarshal hardening. #275
feat(keys): JSON unmarshal hardening. #275
Conversation
Fixes #258 |
5c25a92
to
b383cc5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for tackling this!
08c4916
to
3085d4b
Compare
Branch rebased to |
* Add io.LimitReader to block public key content larger than 512Kb. * Fix Ed25519 signer constructor to be referenced as ECDSASigner. * Rename `NewEd25519Signer` to `NewEd25519SignerFromKey` to support the signer registry registration and prevent double declaration. * Add ECDSA unmarshaller tests. Signed-off-by: Thibault Normand <[email protected]>
Signed-off-by: Thibault Normand <[email protected]>
Signed-off-by: Thibault Normand <[email protected]>
Signed-off-by: Thibault Normand <[email protected]>
Signed-off-by: Thibault Normand <[email protected]>
Signed-off-by: Thibault Normand <[email protected]>
Signed-off-by: Thibault Normand <[email protected]>
Signed-off-by: Thibault Normand <[email protected]>
Signed-off-by: Thibault Normand <[email protected]>
d5af22b
to
a2635a0
Compare
Branch rebased to master - 0d40b25 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is great, thank you!
Great job, thanks Thibault, and Marina/Joshua for reviewing! |
Types of changes:
Description of the changes being introduced by the pull request:
NewEd25519Signer
toNewEd25519SignerFromKey
to supportthe signer registry registration and prevent double declaration. (breaking-change)
Please verify and check that the pull request fulfills the following requirements: