Skip to content

public_key: Validate OCSP responder certificate validity period#11136

Merged
u3s merged 1 commit into
erlang:maintfrom
u3s:kuba/public_key/OTP-20112
May 27, 2026
Merged

public_key: Validate OCSP responder certificate validity period#11136
u3s merged 1 commit into
erlang:maintfrom
u3s:kuba/public_key/OTP-20112

Conversation

@u3s
Copy link
Copy Markdown
Contributor

@u3s u3s commented May 24, 2026

public_key: Validate OCSP responder certificate validity period
The OCSP responder certificate's notBefore/notAfter fields were not
checked, allowing expired or not-yet-valid certificates to be accepted
as valid OCSP responders.

Add validity period verification before evaluating responder
authorization (RFC 5280 Section 4.1.2.5, RFC 6960 Section 4.2.2.2).

The OCSP responder certificate's notBefore/notAfter fields were not
checked, allowing expired or not-yet-valid certificates to be accepted
as valid OCSP responders.

Add validity period verification before evaluating responder
authorization (RFC 5280 Section 4.1.2.5, RFC 6960 Section 4.2.2.2).
@u3s u3s self-assigned this May 24, 2026
@u3s u3s added the team:PS Assigned to OTP team PS label May 24, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 24, 2026

CT Test Results

  2 files   18 suites   5m 47s ⏱️
310 tests 301 ✅ 8 💤 1 ❌
327 runs  318 ✅ 8 💤 1 ❌

For more details on these failures, see this check.

Results for commit f735fd9.

♻️ This comment has been updated with latest results.

To speed up review, make sure that you have read Contributing to Erlang/OTP and that all checks pass.

See the TESTING and DEVELOPMENT HowTo guides for details about how to run test locally.

Artifacts

// Erlang/OTP Github Action Bot

@u3s u3s force-pushed the kuba/public_key/OTP-20112 branch from f735fd9 to b3870e0 Compare May 27, 2026 06:35
@u3s u3s changed the title test commit public_key: Validate OCSP responder certificate validity period May 27, 2026
@u3s u3s requested a review from IngelaAndin May 27, 2026 06:36
@u3s u3s merged commit 287fed1 into erlang:maint May 27, 2026
28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

team:PS Assigned to OTP team PS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants