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

Support HSM signing #1912

Closed
lukpueh opened this issue Mar 21, 2022 · 2 comments
Closed

Support HSM signing #1912

lukpueh opened this issue Mar 21, 2022 · 2 comments
Labels
backlog Issues to address with priority for current development goals enhancement securesystemslib Requires corresponding implementation in securesystemslib

Comments

@lukpueh
Copy link
Member

lukpueh commented Mar 21, 2022

Supersedes #569 and #864
Related to #1109 (out-of-band signing)
Groundwork available in secure-systems-lab/securesystemslib#229

Description of issue or feature request:

python-tuf (or rather securesystemslib) should provide an implementation to sign metadata with hardware security modules, like Yubikey, plus functions for public key export and signature verification.

Current behavior:

The sign method in the new Metadata API takes a Signer parameter which generates the actual signature. Currently, secureystemslib has one standard Signer implementation in SSlibSigner, which encapsulates securesystemslib-style private keys (rsa, ed25519, ecdsa) and generates a Signature that can be verified with a python-tuf Key using its verify_signature method.

Expected behavior:

@lukpueh lukpueh added enhancement securesystemslib Requires corresponding implementation in securesystemslib labels Mar 21, 2022
@jku jku added the backlog Issues to address with priority for current development goals label Mar 23, 2022
@trishankatdatadog
Copy link
Member

@d-niu, you might be interested in this 🙂

@lukpueh
Copy link
Member Author

lukpueh commented Dec 18, 2023

Securesystemslib provides an HSMSigner, which is compatible with the TUF Metadata API, since v0.26.0.

It is used e.g. to support YubiKeys in TUF-on-CI.

@lukpueh lukpueh closed this as completed Dec 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backlog Issues to address with priority for current development goals enhancement securesystemslib Requires corresponding implementation in securesystemslib
Projects
None yet
Development

No branches or pull requests

3 participants