Skip to content

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

Merged
jku merged 2 commits intosecure-systems-lab:mainfrom
lukpueh:improve-key-tests
Apr 11, 2023
Merged

signer API: test key loading and signature verification more thoroughly#555
jku merged 2 commits intosecure-systems-lab:mainfrom
lukpueh:improve-key-tests

Conversation

@lukpueh
Copy link
Copy Markdown
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 ).

Lukas Puehringer 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