Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Support to Yubikey (HSM) #351

Open
1 task done
kairoaraujo opened this issue Aug 19, 2023 · 4 comments
Open
1 task done

Feature: Support to Yubikey (HSM) #351

kairoaraujo opened this issue Aug 19, 2023 · 4 comments
Assignees
Milestone

Comments

@kairoaraujo
Copy link
Member

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

  • I agree to follow this project's Code of Conduct
@MVrachev
Copy link
Member

MVrachev commented Nov 3, 2023

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

@lukpueh
Copy link
Collaborator

lukpueh commented Nov 3, 2023

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:

  • Only the CLI (dialog) should need to know about different signers
  • At least in theory, the worker should be able to just use any signer with:
Signer.from_priv_key_uri(uri, public_key, secrets_handler)

where the URI could be passed, via service config, the public_key is taken from the trusted root, and the secrets_handler is implemented in a generic way in the worker, making secrets available that are also passed via service config.

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

@kairoaraujo
Copy link
Member Author

@MVrachev
Copy link
Member

MVrachev commented Apr 5, 2024

Have a look at admin2 commands for this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

4 participants