[KeyManager] Move Crypto Key capabilities to individual traits
Open
- Dominant language
- C
- Stars
- 309
- Forks
- 118
- Avg merge
- 1d 16h
- Merged PRs (30d)
- 33
Description
The PrivateKey and PublicKey traits assume that every public key can do HPKE sealing and every private key can do both KEM decaps and HPKE open. If there were a future use-case for an ECDSA or ML-DSA key, it would be hard to represent those in this type system.
Migrate the key capabilities to individual traits leaving room in the future for Sign and Verify traits and other operational traits.
Contributor guide
Assessment
This issue has not been assessed yet.