repository-service-tuf / repository-service-tuf-cli

Repository Service for TUF: Command Line Interface
https://pypi.org/project/repository-service-tuf/
MIT License
8 stars 16 forks source link

Feature: Support to Yubikey (HSM) #351

Open kairoaraujo opened 1 year ago

kairoaraujo commented 1 year ago

What is the task about?

The CLI could implement a nice interface/UX to get the public key information (key info) and also use the Key for Root Keys on Ceremony (admin ceremony) and Metadata Update/Signing (metadata <metadata|sign>)

It would be interesting if the RSTUF CLI could use the Yubikey (HSM) for Ceremony and Metadata Update/Signing process.

We could take advantage of the implemented HSM Signer support from Secure Systems Lib.

Parent feature

No response

References

No response

Code of Conduct

MVrachev commented 11 months ago

Maybe https://github.com/theupdateframework/tuf-on-ci can be a good reference for this issue?

lukpueh commented 11 months ago

I recommend to generally use tuf-on-ci as inspiration for Signer integration. Jussi definitely knows how to use the Signer API as it is intended. A high-level comment about the Signer API in RSTUF:

I plan to look at how RSTUF uses the Signer API next week and make some more concrete suggestions.

kairoaraujo commented 10 months ago

@KAUTH FYI https://github.com/repository-service-tuf/repository-service-tuf-worker/issues/419

MVrachev commented 6 months ago

Have a look at admin2 commands for this issue.