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

Cert interface #1212

Merged
merged 14 commits into from
Oct 10, 2024
Merged

Cert interface #1212

merged 14 commits into from
Oct 10, 2024

Conversation

nbrownus
Copy link
Collaborator

@nbrownus nbrownus commented Sep 6, 2024

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 the cert 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

pki.go Outdated Show resolved Hide resolved
pki.go Outdated Show resolved Hide resolved
@nbrownus nbrownus force-pushed the cert-interface branch 2 times, most recently from 64bf64b to 16914c4 Compare September 7, 2024 01:03
control.go Show resolved Hide resolved
Copy link
Collaborator

@brad-defined brad-defined left a 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

cert/ca_pool.go Outdated Show resolved Hide resolved
cert/cert.go Show resolved Hide resolved
cert/cert.go Outdated Show resolved Hide resolved
cert/cert_v1.go Outdated Show resolved Hide resolved
cert/ca_pool.go Outdated Show resolved Hide resolved
cert/ca_pool.go Outdated Show resolved Hide resolved
cert/ca_pool.go Outdated Show resolved Hide resolved
cert/ca_pool.go Outdated Show resolved Hide resolved
cert/ca_pool.go Outdated Show resolved Hide resolved
cert/ca_pool.go Outdated Show resolved Hide resolved
cmd/nebula-cert/ca.go Outdated Show resolved Hide resolved
interface.go Outdated Show resolved Hide resolved
@nbrownus nbrownus marked this pull request as ready for review October 4, 2024 03:22
}
// MarshalPEM will return a PEM encoded representation of this certificate
// This is primarily the format stored on disk
MarshalPEM() ([]byte, error)
Copy link
Member

@wadey wadey Oct 10, 2024

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?

@wadey wadey added this to the v1.10.0 milestone Oct 10, 2024
@nbrownus nbrownus merged commit 08ac653 into master Oct 10, 2024
9 checks passed
@nbrownus nbrownus deleted the cert-interface branch October 10, 2024 23:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants