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

pki: add fuzzer #1256

Merged
merged 1 commit into from
Jan 3, 2023
Merged

pki: add fuzzer #1256

merged 1 commit into from
Jan 3, 2023

Conversation

AdamKorcz
Copy link
Contributor

Signed-off-by: AdamKorcz adam@adalogics.com

Summary

Adds a fuzzer that tests the public key APIs and the signature APIs.

With the public key APIs it:

  1. Creates a public key
  2. Gets the canonical value
  3. Creates another public key with the canonical value

With the signature APIs it:

  1. Creates a signature
  2. Gets the canonical value
  3. Creates another signature with the canonical value
  4. Verifies some test data.

Release Note

Documentation

Signed-off-by: AdamKorcz <adam@adalogics.com>
@AdamKorcz AdamKorcz requested a review from a team as a code owner December 27, 2022 20:16
@codecov-commenter
Copy link

codecov-commenter commented Dec 27, 2022

Codecov Report

Merging #1256 (345e656) into main (042ae08) will increase coverage by 0.03%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #1256      +/-   ##
==========================================
+ Coverage   63.19%   63.23%   +0.03%     
==========================================
  Files          82       82              
  Lines        7670     7670              
==========================================
+ Hits         4847     4850       +3     
+ Misses       2210     2208       -2     
+ Partials      613      612       -1     
Flag Coverage Δ
e2etests 47.74% <ø> (ø)
unittests 42.08% <ø> (+0.04%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
pkg/types/rekord/v0.0.1/entry.go 67.76% <0.00%> (-0.66%) ⬇️
pkg/types/tuf/v0.0.1/entry.go 49.79% <0.00%> (+0.81%) ⬆️
pkg/types/alpine/v0.0.1/entry.go 73.57% <0.00%> (+1.21%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@bobcallaway bobcallaway merged commit 8a68186 into sigstore:main Jan 3, 2023
@github-actions github-actions bot added this to the v1.1.0 milestone Jan 3, 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.

3 participants