Skip to content

[fix] OCSP::Request nonce and certid handling (#396) - #403

Merged
kares merged 2 commits into
masterfrom
ocsp-mri-align
Nov 4, 2026
Merged

kares merged 2 commits into
masterfrom
ocsp-mri-align

Conversation

@kares

@kares kares commented Nov 4, 2026

Copy link
Copy Markdown
Member
  • avoid NPE in OCSP::Request#add_nonce when request has no extensions
  • retain existing request list and name when adding nonces or cert IDs
  • populate cert IDs and lazily extract nonces on requests from DER
  • Include extensions when signing OCSP::Request
  • fix NPE in OCSP::BasicResponse#copy_nonce when request lacks nonce

- avoid NPE in `OCSP::Request#add_nonce` when request has no extensions
- retain existing request list and name when adding nonces or cert IDs
- populate cert IDs and lazily extract nonces on requests from DER
- Include extensions when signing `OCSP::Request`
- fix NPE in `OCSP::BasicResponse#copy_nonce` when request lacks nonce
@kares kares added this to the 0.19.5 milestone Nov 4, 2026
we could easily get out-of-sync here with the OCSP request
@kares
kares merged commit abc48e9 into master Nov 4, 2026
160 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.

OCSP::Request#add_nonce raises NullPointerException when the request has a certid

1 participant