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

Fix state in DoUserAuthRequestPublicKey #683

Merged
merged 1 commit into from
May 2, 2024

Conversation

embhorn
Copy link
Member

@embhorn embhorn commented Apr 30, 2024

In DoUserAuthRequestPublicKey function there is a case in which partialSuccess is returned by the auth callback. When a public key passes the signature test and the auth result callback, the state of the authentication state machine gets set to CLIENT_USERAUTH_DONE even in case partialSuccess were to be true.

Fixes zd17917

@embhorn embhorn self-assigned this Apr 30, 2024
@embhorn embhorn requested a review from JacobBarthelmeh April 30, 2024 16:46
@embhorn embhorn assigned wolfSSL-Bot and unassigned embhorn Apr 30, 2024
@ejohnstown ejohnstown merged commit 8839376 into wolfSSL:master May 2, 2024
11 checks passed
jefferyq2 pushed a commit to jefferyq2/wolfssh that referenced this pull request Sep 24, 2024
Fix state in DoUserAuthRequestPublicKey
jefferyq2 pushed a commit to jefferyq2/wolfssh that referenced this pull request Oct 18, 2024
Fix state in DoUserAuthRequestPublicKey
jefferyq2 pushed a commit to jefferyq2/wolfssh that referenced this pull request Oct 29, 2024
Fix state in DoUserAuthRequestPublicKey
jefferyq2 pushed a commit to jefferyq2/wolfssh that referenced this pull request Oct 29, 2024
Fix state in DoUserAuthRequestPublicKey
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.

4 participants