boltlabs-inc / key-mgmt-spec

Formal specification for the key management project
MIT License
3 stars 2 forks source link

Make sure that signing key generation returns the public component #135

Closed marsella closed 2 years ago

marsella commented 2 years ago

When creating a signing key (either locally generated or generated at the server), the caller needs to get back the corresponding public key (which is subsequently used to verify signature, store in a PKI, etc.).

marsella commented 2 years ago

The generate protocol is implemented in two combinations right now: • local generation for arbitrary secrets • remote generation for signing keys

The arbitrary secret implementation doesn't need any changes as a result of this change. The signing keys implementation was fixed to return a public key in boltlabs-inc/key-mgmt#308.

The import protocol is implemented in one combination: • remote import for signing keys

This does need to be updated to return the public key. EDIT: See boltlabs-inc/key-mgmt#324.