wolfssh
wolfssh copied to clipboard
Asynchronous user authentication.
This patch makes it possible to do asynchronous user authentication, by returning WOLFSSH_USERAUTH_WOULD_BLOCK from the authentication callback.
Can one of the admins verify this patch?
ok to test
@JacobBarthelmeh the functionality has only been tested server-side. To make use of it, one needs to return WOLFSSH_USERAUTH_WOULD_BLOCK and then at a later time trigger a new read from the socket. Since the auth request doesn't get discarded when returning WOLFSH_USERAUTH_WOULD_BLOCK, the auth callback gets then invoked with the same request again.
Superseded by PR #695.