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

Adding from PEM stack for CA chain functionality #242

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

DGonzalezVillal
Copy link
Member

Adding the ability to create a CA chain from a PEM stack. Will be useful when getting the certificates from the KDS, since that is how those certificates are provided. Will also fix the issue of different cert sizes for different generations.

@tylerfanelli
Copy link
Member

Can you write a test for cargo test to ensure its running as expected?

@DGonzalezVillal DGonzalezVillal force-pushed the cert-update branch 3 times, most recently from f930dc1 to 638376c Compare November 7, 2024 21:54
@DGonzalezVillal
Copy link
Member Author

@tylerfanelli @larrydewey Can you guys review

@tylerfanelli
Copy link
Member

Seems there's a failing test with crypto_nossl.

Turin certs are a different size from previous generation certificates.

Adding those certs to our cert cache.

When requesting certificates from the KDS, those certificates will come as a pem stack. Adding the ability to generate a ca Chain from a pem stack, that way cert size is not a concern.

Also adding testing for this new functionality.

Signed-off-by: DGonzalezVillal <[email protected]>
@DGonzalezVillal
Copy link
Member Author

@tylerfanelli @larrydewey Can you guys review

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.

3 participants