Conversation
There was a problem hiding this comment.
Pull request overview
This PR adds PEM import/export support to the OpenSSL EVP key wrapper, enabling keys to be loaded from PEM and exported back to PEM, with new tests to validate round-trips and COSE sign/verify using PEM-imported keys.
Changes:
- Add
EvpKey::{from_pem_public, from_pem_private, to_pem_public, to_pem_private}APIs. - Add unit tests for PEM round-trips (EC/RSA) and negative PEM parsing.
- Add a COSE integration test that signs/verifies using PEM-imported keys.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 5 comments.
| File | Description |
|---|---|
| src/ossl_wrappers.rs | Adds PEM serialization/deserialization APIs for EvpKey plus comprehensive unit tests. |
| src/cose.rs | Adds a test ensuring COSE signing/verifying works with PEM-imported keys. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 2 out of 2 changed files in this pull request and generated 6 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
No description provided.