-
Notifications
You must be signed in to change notification settings - Fork 988
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
Cert interface #1212
Cert interface #1212
Conversation
64bf64b
to
16914c4
Compare
16914c4
to
93c5a8c
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.
big pr, posting some stuff now, and continuing to go through it
93c5a8c
to
2626ff9
Compare
} | ||
// MarshalPEM will return a PEM encoded representation of this certificate | ||
// This is primarily the format stored on disk | ||
MarshalPEM() ([]byte, error) |
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.
The other methods in cert are like Marshal...ToPem()
and Unmarshal...FromPEM()
. Should we normalize the naming one way or the other?
This change lays the groundwork for v2 certificates, ipv6 in the overlay, and hopefully a more ergonomic
cert
library. It does break ABI backwards compatibility for thecert
package but should continue to function just fine with v1.9.4 and earlier versions.There are many open questions laid out as review comments here.
The next PR is #1216