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

Partial Success #571

Merged
merged 1 commit into from
Sep 1, 2023
Merged

Conversation

ejohnstown
Copy link
Contributor

User authentication partial successes are controlled by the user authentication callback. If the public key is accepted by the user authentication callback, but considers it a partial success, the signature is still checked and if successful, is still treated as a failure in the response message.

User authentication partial successes are controlled by the user
authentication callback. If the public key is accepted by the user
authentication callback, but considers it a partial success, the
signature is still checked and if successful, is still treated as a
failure in the response message.

1. Add new user authentication callback return value of
   WOLFSSH_USERAUTH_PARTIAL_SUCCESS.
2. Update the password user authentication function to parallel the
   public key version more. Treat failure and partial success similarly.
3. Check the public key user authentcation callback for partial success.
   In that case, still check the signature.
@JacobBarthelmeh JacobBarthelmeh merged commit 48fbd9a into wolfSSL:master Sep 1, 2023
2 checks passed
@ejohnstown ejohnstown deleted the partial-success branch September 5, 2023 16:34
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