Open jku opened 1 year ago
Rough sketch:
example uses two working directories
private/
-- this is where signing config is stored (and private key material for file keys)public/
-- this is where signatures and public keys are "published" (this is the equivalent of TUF repository)example contains 2 separate apps, one has two commands:
signer add-key
-- adds a new signing key
--hsm
uses a yubikeypublic/<keyid>.json
private/<keyid>.pem
)signer sign
-- sign with all current keys
private/signers.json
, signs predefined content with eachpublic/signatures.json
verify
-- verify with all current public keys
public/<keyid>.json
, verifies the predefined content with each keyapp state can be cleared by deleting private/ and public/
We should have example code and maybe a high level user manual in addition to the API reference.
I would suggest starting with an example app:
Things I'd like to showcase:
TODO:
References