-
Notifications
You must be signed in to change notification settings - Fork 35
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
Simplify our serialization logic #18
Conversation
0ba70b7
to
2e641eb
Compare
4d6c33a
to
fa562a8
Compare
fa562a8
to
c0a0c83
Compare
c0a0c83
to
6390ad7
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.
Left a bunch of comments. In the interest of getting this out as soon as possible, if any of my suggestions here are hard to do right now, I think the only critical thing is the boxing of Curve25519SecretKey
. The rest can be done in a separate clean up PR if need be.
Co-authored-by: Denis Kasak <[email protected]>
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.
Looks good now. Pushed a commit tweaking doc comments.
A lot of types in our serialization logic seem to be of questionable usage. We should revise our serialization logic and where possible remove helper structs and use serde directly, this include error types.