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

Ability to store peer certificate chain #362

Merged
merged 6 commits into from
Dec 16, 2024

Conversation

soundofspace
Copy link
Collaborator

No description provided.

rama-net/src/tls/mod.rs Show resolved Hide resolved
rama-tls/src/boring/client/connector.rs Show resolved Hide resolved
rama-tls/src/boring/server/service.rs Outdated Show resolved Hide resolved
rama-http-backend/src/client/svc.rs Outdated Show resolved Hide resolved
@soundofspace soundofspace marked this pull request as ready for review December 16, 2024 09:48
let store_server_cert_chain = connector_data
.is_some_and(|data| data.connect_config_input.store_server_certificate_chain);

let server_certificate_chain = if let Some(chain) = store_server_cert_chain
Copy link
Member

Choose a reason for hiding this comment

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

might feel like a nit pick but it's not. Use a match statement please as it gives protections, in general.

So match .... { Some(chain) => ... , None => None }

Copy link
Member

@GlenDC GlenDC 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. Feel free to merge, added 1 requested change but you can immediately squash-merge once that one is solved

@soundofspace soundofspace merged commit d8eaa74 into main Dec 16, 2024
32 checks passed
@soundofspace soundofspace deleted the ability-to-store-peer-certificate-chain branch December 16, 2024 13:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants