vmware-archive / repository-editor-for-tuf

Command line tool for editing and maintaining a TUF repository
Apache License 2.0
5 stars 3 forks source link

Separate Keyring interface and implementation #25

Closed jku closed 2 years ago

jku commented 2 years ago

This makes it clearer what the Repository interface actually needs: just a Mapping of role names to some private key representation (maybe that representation could even be a plain Signer, but right now it's a bit more).

Also separate the two Keyring implementations: they are never needed at the same time.