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

feat: consistent tlog warnings during verification #2840

Merged
merged 1 commit into from
Mar 25, 2023

Conversation

lcarva
Copy link
Contributor

@lcarva lcarva commented Mar 24, 2023

Closes #2839

Summary

This adds consistent warnings when using the --insecure-ignore-tlog flag of the verification commands. The motivation is that if this is deemed an insecure practice, it should emit a warning whenever it is used.

Release Note

NONE

Documentation

I don't think a documentation change is needed, but I'm happy to make one if deemed useful/necessary.

Closes sigstore#2839

Signed-off-by: Luiz Carvalho <lucarval@redhat.com>
@codecov
Copy link

codecov bot commented Mar 24, 2023

Codecov Report

Merging #2840 (52d6aa1) into main (e71faa1) will decrease coverage by 0.04%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main    #2840      +/-   ##
==========================================
- Coverage   29.51%   29.47%   -0.04%     
==========================================
  Files         151      151              
  Lines        9666     9678      +12     
==========================================
  Hits         2853     2853              
- Misses       6374     6386      +12     
  Partials      439      439              
Impacted Files Coverage Δ
cmd/cosign/cli/verify.go 0.00% <0.00%> (ø)

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

Copy link
Contributor

@znewman01 znewman01 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@znewman01 znewman01 merged commit 8a304d5 into sigstore:main Mar 25, 2023
@github-actions github-actions bot added this to the v1.14.0 milestone Mar 25, 2023
dmitris pushed a commit to dmitris/cosign that referenced this pull request Mar 27, 2023
Closes sigstore#2839

Signed-off-by: Luiz Carvalho <lucarval@redhat.com>
@lcarva lcarva deleted the consisten-tlog-warning branch June 20, 2023 20:49
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.

Inconsistent warning for ignoring tlog verification
2 participants