-
Notifications
You must be signed in to change notification settings - Fork 565
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
Add public key validation #1598
Conversation
Signed-off-by: Kavitha Krishnan <krishnanka@vmware.com>
Codecov Report
@@ Coverage Diff @@
## main #1598 +/- ##
==========================================
+ Coverage 27.44% 27.96% +0.51%
==========================================
Files 137 137
Lines 7742 7789 +47
==========================================
+ Hits 2125 2178 +53
+ Misses 5387 5383 -4
+ Partials 230 228 -2
Continue to review full report at Codecov.
|
Signed-off-by: hectorj2f <hectorf@vmware.com>
f533078
to
7573633
Compare
Signed-off-by: hectorj2f <hectorf@vmware.com>
7573633
to
9c359f6
Compare
@@ -21,8 +21,6 @@ spec: | |||
- glob: images.* | |||
- glob: image* | |||
authorities: | |||
- key: | |||
data: "---another-public-key---" | |||
- keyless: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I removed another-public-key
and fixed the code validating the key.
Nice work! |
* Add public key validation Signed-off-by: Kavitha Krishnan <krishnanka@vmware.com> * fix: key validation Signed-off-by: hectorj2f <hectorf@vmware.com> * fix: test valid policy using wrong key data Signed-off-by: hectorj2f <hectorf@vmware.com> Co-authored-by: hectorj2f <hectorf@vmware.com>
Signed-off-by: Kavitha Krishnan krishnanka@vmware.com
Sets util func for part of : #1596
cc: @vaikas @coyote240