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

Certificate OK #669

Merged
merged 1 commit into from
Mar 30, 2024
Merged

Certificate OK #669

merged 1 commit into from
Mar 30, 2024

Conversation

ejohnstown
Copy link
Contributor

  1. Split ParseAndVerifyCert() into ParseCertChainVerify() and ParseCert() with a common ParseCertChain() function.
  2. When the server is checking the user's certificate, don't do the verify step. Verify when the user's client sends a signature. The server needs to tell the client the cert is OK as a cert. Make the client do a PK sign.
  3. If the certificate check fails, we still need to be able to send the failure message to the peer. Set the ret value back to WS_SUCCESS. All other auth actions are gated on the authFailed.
  4. Whitespace.
    (ZD 17555)

1. Split ParseAndVerifyCert() into ParseCertChainVerify() and
   ParseCert() with a common ParseCertChain() function.
2. When the server is checking the user's certificate, don't do the
   verify step. Verify when the user's client sends a signature. The
   server needs to tell the client the cert is OK as a cert. Make the
   client do a PK sign.
3. If the certificate check fails, we still need to be able to send the
   failure message to the peer. Set the `ret` value back to
   `WS_SUCCESS`. All other auth actions are gated on the `authFailed`.
4. Whitespace.
(ZD 17555)
@douzzer douzzer merged commit dc89635 into wolfSSL:master Mar 30, 2024
11 checks passed
@ejohnstown ejohnstown deleted the certs branch April 3, 2024 01:05
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.

3 participants