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

OCSP pkix-ocsp-no-check extension handling #220

Open
JeyJeyGao opened this issue Aug 14, 2024 · 4 comments
Open

OCSP pkix-ocsp-no-check extension handling #220

JeyJeyGao opened this issue Aug 14, 2024 · 4 comments
Assignees
Labels
bug Something isn't working Stale

Comments

@JeyJeyGao
Copy link
Contributor

JeyJeyGao commented Aug 14, 2024

What is not working as expected?

// Handle pkix-ocsp-no-check and id-ce-invalidityDate extensions if present
// in response
extensionMap := extensionsToMap(resp.Extensions)
if _, foundNoCheck := extensionMap[pkixNoCheckOID]; !foundNoCheck {
// This will be ignored until CRL is implemented
// If it isn't found, CRL should be used to verify the OCSP response
_ = foundNoCheck // needed to bypass linter warnings (Remove after adding CRL)
// TODO: add CRL support
// https://github.com/notaryproject/notation-core-go/issues/125
}

I think the OCSP implementation is not quite right. The pkix-ocsp-no-check extension should be part of the certificate rather than the OCSP response.

References:

What did you expect to happen?

No

How can we reproduce it?

No real effect.

Describe your environment

Source code

What is the version of your notation-core-go Library?

v1.1.0-rc.1

@JeyJeyGao JeyJeyGao added the bug Something isn't working label Aug 14, 2024
@JeyJeyGao JeyJeyGao mentioned this issue Aug 14, 2024
@JeyJeyGao JeyJeyGao added the triage triage label Aug 27, 2024
@yizha1 yizha1 removed the triage triage label Sep 3, 2024
Copy link

github-actions bot commented Nov 3, 2024

This issue is stale because it has been opened for 60 days with no activity. Remove stale label or comment. Otherwise, it will be closed in 30 days.

@github-actions github-actions bot added the Stale label Nov 3, 2024
@yizha1 yizha1 removed the Stale label Nov 18, 2024
@yizha1
Copy link
Contributor

yizha1 commented Nov 18, 2024

@priteshbandi @JeyJeyGao Is this issue still valid?

@JeyJeyGao
Copy link
Contributor Author

Yes, it is valid.

Copy link

This issue is stale because it has been opened for 60 days with no activity. Remove stale label or comment. Otherwise, it will be closed in 30 days.

@github-actions github-actions bot added the Stale label Jan 19, 2025
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working Stale
Projects
None yet
Development

No branches or pull requests

3 participants