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

signer API: test key loading and signature verification more thoroughly #555

Merged
merged 2 commits into from
Apr 11, 2023

Conversation

lukpueh
Copy link
Member

@lukpueh lukpueh commented Mar 30, 2023

Add pre-generated public keys and signatures for all traditional1 signing schemes and test loading with Key.from_dict and verification

Footnotes

  1. All schemes supported by securesystemslib.verify_signature, except for very old schemes (*md5, *sha1 -- see Drop md5 and sha1 schemes from supported key schemes #512) or very new schemes (sphincs+ -- will be tested more through separatelty ).

lukpueh added 2 commits March 30, 2023 16:45
Make table driven, in order  test other key types and signing
schemes more easily.

Signed-off-by: Lukas Puehringer <[email protected]>
This test adds pre-generated signatures and public keys to test all
traditional signing schemes, i.e. everything that is supported by
SSlibKey except for sphincs+ schemes.

Signed-off-by: Lukas Puehringer <[email protected]>
@lukpueh lukpueh requested a review from jku March 30, 2023 15:51
@jku jku merged commit 3046866 into secure-systems-lab:main Apr 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants