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

Backport of PKI: Do not set NextUpdate OCSP field when ocsp_expiry is 0 into release/1.15.x #24196

Conversation

hc-github-team-secure-vault-core
Copy link
Collaborator

Backport

This PR is auto-generated from #24192 to be assessed for backporting due to the inclusion of the label backport/1.15.x.

The below text is copied from the body of the original PR.


When the ocsp_expiry field within config/crl is set to 0, we should not be setting the NextUpdate field within OCSP responses. We were setting it to the current time, which effectively means that the response has expired and shouldn't be used.

Based on RFC 6960: 4.2.2.1. Time, we shouldn't have set this field to indicate newer information is available right away

If nextUpdate is not set, the responder is indicating that newer revocation information is available all the time.


Overview of commits

@hc-github-team-secure-vault-core hc-github-team-secure-vault-core force-pushed the backport/stevendpclark/vault-22097-ocsp-nextupdate/commonly-thorough-jaybird branch from 3e2a874 to a705592 Compare November 20, 2023 15:32
@hc-github-team-secure-vault-core hc-github-team-secure-vault-core force-pushed the backport/stevendpclark/vault-22097-ocsp-nextupdate/commonly-thorough-jaybird branch from b51c05b to 1f7f045 Compare November 20, 2023 15:32
@github-actions github-actions bot added the hashicorp-contributed-pr If the PR is HashiCorp (i.e. not-community) contributed label Nov 20, 2023
@stevendpclark stevendpclark self-assigned this Nov 20, 2023
@stevendpclark stevendpclark added this to the 1.15.3 milestone Nov 20, 2023
@stevendpclark stevendpclark added backport bug Used to indicate a potential bug secret/pki labels Nov 20, 2023
Copy link

Build Results:
All builds succeeded! ✅

@stevendpclark stevendpclark merged commit a28a42b into release/1.15.x Nov 20, 2023
@stevendpclark stevendpclark deleted the backport/stevendpclark/vault-22097-ocsp-nextupdate/commonly-thorough-jaybird branch November 20, 2023 15:49
Copy link

CI Results:
All Go tests succeeded! ✅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport bug Used to indicate a potential bug hashicorp-contributed-pr If the PR is HashiCorp (i.e. not-community) contributed secret/pki
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants