virtee / sev

Rust library abstracting Linux AMD SEV and SEV-SNP ioctls.
Apache License 2.0
92 stars 36 forks source link

Adding from PEM stack for CA chain functionality and caching turin certs #247

Closed LakshmiSaiHarika closed 1 week ago

LakshmiSaiHarika commented 1 week ago

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.