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

Document detailed signature format per signing scheme #587

Open
lukpueh opened this issue May 26, 2023 · 1 comment
Open

Document detailed signature format per signing scheme #587

lukpueh opened this issue May 26, 2023 · 1 comment
Labels

Comments

@lukpueh
Copy link
Member

lukpueh commented May 26, 2023

The tuf/in-toto signature metadata format specification treats the exact signature format as implementation detail. The (tuf spec) only says that the signature field contains a:

A hex-encoded signature of the canonical form of the metadata for

For the sake of interoperability -- i.e. 3rd-party signature verification or generation of signatures generated by or to be verified by securesystemslib -- the Signer API should document the exact signature format per signing scheme, e.g. for
"ecdsa-sha2-nistp256" and "ecdsa-sha2-nistp384":

"ASN.1 encoded Dss-Sig-Value sequences (RFC 3279)"

Note that the documentation should be available per scheme and not per signer, because securesystemslib may implement different signers that generate signatures for the same schemes. E.g. ecdsa signatures can be generated on HSM and in memory.

@lukpueh
Copy link
Member Author

lukpueh commented Mar 14, 2024

... documentation should be available per scheme ...

Maybe this could be included with docstrings for scheme constants #593

@lukpueh lukpueh added the contribfest Issues for KubeCon EU contribfest label Mar 14, 2024
@lukpueh lukpueh removed the contribfest Issues for KubeCon EU contribfest label Mar 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant