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

Feature/tls #17

Merged
merged 15 commits into from
Oct 21, 2022
Merged

Feature/tls #17

merged 15 commits into from
Oct 21, 2022

Conversation

mwittie
Copy link

@mwittie mwittie commented Oct 17, 2022

This PR adds the tools needed by the nitriding server (future PR) to get certificates to create TLS connections.

Notable changes:

  • I added type Builder[T any] interface, which allows us to remove all the specific builder interfaces like AttesterBuilder etc. For not I only used this interface to get rid specific builder interfaces in this PR, but I plan on updating older code as well. Not doing it now because it would result in changes all over the place and make the review of the new TLS code harder.

@mwittie mwittie closed this Oct 17, 2022
@mwittie mwittie reopened this Oct 17, 2022
common.go Outdated Show resolved Hide resolved
server/tls.go Show resolved Hide resolved
@mwittie mwittie requested review from dlm and tahardi October 17, 2022 18:21
Copy link
Collaborator

@dlm dlm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is a test

@mwittie mwittie requested a review from dlm October 18, 2022 15:12
Copy link
Collaborator

@tahardi tahardi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me! But I also don't understand how this will fit into the larger system so would recommend you wait on Dave's approval too

certificate/manager.go Outdated Show resolved Hide resolved
certificate/manager.go Show resolved Hide resolved
certificate/manager.go Show resolved Hide resolved
server/tls.go Outdated Show resolved Hide resolved
server/tls.go Show resolved Hide resolved
Copy link
Collaborator

@dlm dlm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few comments, but nothing that should be too hard to address... but let me know if you want me to take another look at anything.

certificate/manager.go Show resolved Hide resolved
common.go Outdated Show resolved Hide resolved
server/tls.go Show resolved Hide resolved
server/tls.go Outdated Show resolved Hide resolved
server/tls.go Show resolved Hide resolved
server/tls_test.go Show resolved Hide resolved
certificate/manager.go Show resolved Hide resolved
certificate/manager.go Outdated Show resolved Hide resolved
@mwittie mwittie merged commit e52ca87 into main Oct 21, 2022
@mwittie mwittie deleted the feature/tls branch October 21, 2022 18:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants