Open
Description
This came up in a discussion with @kommendorkapten:
- Yubikey PIV module can produce a certificate chain that proves the signing key was generated on the Yubikey (and isn't e.g. a file on a disk)
- We could include that chain as custom metadata when storing the public key
- When that custom metadata is present, we could verify it when using the key
I haven't thought this through very well and it may be complicated enough to implement that it does not make sense in securesystemslib:
- I don't know if certificate lookup is something PKCS11 covers at all or if only Yubikeys yubivo-piv-tool can do this.
- unsure if the device contains the whole chain or only the device cert
- unsure if standard keytypes sometimes having custom metadata is a good idea (this could be done in a new keytype as well but that would require all clients to support the new keytype when in reality it may be that only the repository installation and other signers care about the key storage)
Metadata
Assignees
Labels
No labels