KEMBAR78
pkg/api: better logs when algorithm registry rejects a key by ret2libc · Pull Request #2429 · sigstore/rekor · GitHub
Skip to content

Conversation

@ret2libc
Copy link
Contributor

@ret2libc ret2libc commented Apr 4, 2025

Right now the logs are quite obscure when the registry rejects a key. This change provides more info about the rejected algorithm, for better observability.

Signed-off-by: Riccardo Schirone <riccardo.schirone@trailofbits.com>
@ret2libc ret2libc requested a review from a team as a code owner April 4, 2025 13:02
@codecov
Copy link

codecov bot commented Apr 4, 2025

Codecov Report

Attention: Patch coverage is 13.33333% with 26 lines in your changes missing coverage. Please review.

Project coverage is 25.23%. Comparing base (488eb97) to head (d642943).
Report is 364 commits behind head on main.

Files with missing lines Patch % Lines
pkg/api/entries.go 13.33% 25 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##             main    #2429       +/-   ##
===========================================
- Coverage   66.46%   25.23%   -41.23%     
===========================================
  Files          92      192      +100     
  Lines        9258    24871    +15613     
===========================================
+ Hits         6153     6276      +123     
- Misses       2359    17819    +15460     
- Partials      746      776       +30     
Flag Coverage Δ
e2etests 46.63% <13.33%> (-0.92%) ⬇️
unittests 16.46% <0.00%> (-31.22%) ⬇️

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

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Signed-off-by: Riccardo Schirone <riccardo.schirone@trailofbits.com>
@haydentherapper haydentherapper merged commit 7b74193 into sigstore:main Apr 7, 2025
16 checks passed
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