Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

fix: ocsp revocation check with context #235

Merged
merged 8 commits into from
Oct 11, 2024

Conversation

Two-Hearts
Copy link
Contributor

@Two-Hearts Two-Hearts commented Oct 10, 2024

This PR adds context to OCSP revocation check.

Resolves #223

Signed-off-by: Patrick Zheng <patrickzheng@microsoft.com>
Signed-off-by: Patrick Zheng <patrickzheng@microsoft.com>
Copy link

codecov bot commented Oct 10, 2024

Codecov Report

Attention: Patch coverage is 91.30435% with 2 lines in your changes missing coverage. Please review.

Project coverage is 91.89%. Comparing base (e90546b) to head (dd19068).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
revocation/internal/ocsp/ocsp.go 90.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #235      +/-   ##
==========================================
+ Coverage   91.76%   91.89%   +0.13%     
==========================================
  Files          30       30              
  Lines        2065     2074       +9     
==========================================
+ Hits         1895     1906      +11     
+ Misses        115      114       -1     
+ Partials       55       54       -1     

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

Signed-off-by: Patrick Zheng <patrickzheng@microsoft.com>
Signed-off-by: Patrick Zheng <patrickzheng@microsoft.com>
Signed-off-by: Patrick Zheng <patrickzheng@microsoft.com>
Signed-off-by: Patrick Zheng <patrickzheng@microsoft.com>
@Two-Hearts Two-Hearts changed the title fix: ocsp revocation check with log fix: ocsp revocation check with context Oct 10, 2024
revocation/internal/ocsp/ocsp.go Outdated Show resolved Hide resolved
revocation/ocsp/ocsp.go Outdated Show resolved Hide resolved
revocation/internal/ocsp/ocsp.go Outdated Show resolved Hide resolved
Signed-off-by: Patrick Zheng <patrickzheng@microsoft.com>
shizhMSFT
shizhMSFT previously approved these changes Oct 10, 2024
Copy link
Contributor

@shizhMSFT shizhMSFT left a comment

Choose a reason for hiding this comment

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

LGTM

Signed-off-by: Patrick Zheng <patrickzheng@microsoft.com>
Copy link
Contributor

@shizhMSFT shizhMSFT left a comment

Choose a reason for hiding this comment

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

LGTM

@Two-Hearts Two-Hearts requested a review from JeyJeyGao October 10, 2024 07:54
Copy link
Contributor

@JeyJeyGao JeyJeyGao left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@priteshbandi priteshbandi left a comment

Choose a reason for hiding this comment

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

LGTM

@priteshbandi priteshbandi merged commit 3067ab1 into notaryproject:main Oct 11, 2024
9 checks passed
@Two-Hearts Two-Hearts deleted the ocsp branch October 12, 2024 00:54
@Two-Hearts Two-Hearts mentioned this pull request Dec 6, 2024
6 tasks
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

OCSP request missing logs
4 participants