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

OpenSSL Compat Layer: OCSP response improvments #8408

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

rizlik
Copy link
Contributor

@rizlik rizlik commented Feb 1, 2025

Improves of OCSP response handling.

Aligns wolfSSL_OCSP_basic_verify and wolfSSL_d2i_OCSP_RESPONSE to OpenSSL behavior.

Replaces #8036

@rizlik rizlik requested a review from julek-wolfssl February 1, 2025 00:15
@rizlik rizlik self-assigned this Feb 1, 2025
@rizlik rizlik force-pushed the ocsp-resp-refactor branch 3 times, most recently from 3b89ce4 to f96acbb Compare February 1, 2025 02:34
@rizlik rizlik closed this Feb 1, 2025
@rizlik rizlik reopened this Feb 1, 2025
@rizlik rizlik force-pushed the ocsp-resp-refactor branch from f96acbb to 8050b1f Compare February 1, 2025 22:41
- Search certificate based on responderId
- Verify response signer is authorized for all single responses
- Align with OpenSSL behavior
- Separate wolfSSL_OCSP_basic_verify from verification done during
  decoding
@rizlik rizlik force-pushed the ocsp-resp-refactor branch from 8050b1f to 43964c1 Compare February 3, 2025 09:57
The internal fields of OcspResponse refer to the resp->source buffer.
Copying these fields is complex, so it's better to decode the response again.
@rizlik rizlik force-pushed the ocsp-resp-refactor branch from 43964c1 to 2816d92 Compare February 3, 2025 11:06
@rizlik rizlik assigned julek-wolfssl and unassigned rizlik Feb 3, 2025
@rizlik rizlik force-pushed the ocsp-resp-refactor branch from 2816d92 to a635189 Compare February 3, 2025 11:57
@rizlik
Copy link
Contributor Author

rizlik commented Feb 3, 2025

retest this please

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.

2 participants