Mercurial > dropbear
comparison session.h @ 1821:df8d8ec1801c
added option to disable trivial auth methods (#128)
* added option to disable trivial auth methods
* rename argument to match with other ssh clients
* fixed trivial auth detection for pubkeys
author | Manfred Kaiser <37737811+manfred-kaiser@users.noreply.github.com> |
---|---|
date | Thu, 19 Aug 2021 17:37:14 +0200 |
parents | d1b279aa5ed1 |
children |
comparison
equal
deleted
inserted
replaced
1820:e9854650d45b | 1821:df8d8ec1801c |
---|---|
314 | 314 |
315 volatile int winchange; /* Set to 1 when a windowchange signal happens */ | 315 volatile int winchange; /* Set to 1 when a windowchange signal happens */ |
316 | 316 |
317 int lastauthtype; /* either AUTH_TYPE_PUBKEY or AUTH_TYPE_PASSWORD, | 317 int lastauthtype; /* either AUTH_TYPE_PUBKEY or AUTH_TYPE_PASSWORD, |
318 for the last type of auth we tried */ | 318 for the last type of auth we tried */ |
319 int is_trivial_auth; | |
319 int ignore_next_auth_response; | 320 int ignore_next_auth_response; |
320 #if DROPBEAR_CLI_INTERACT_AUTH | 321 #if DROPBEAR_CLI_INTERACT_AUTH |
321 int auth_interact_failed; /* flag whether interactive auth can still | 322 int auth_interact_failed; /* flag whether interactive auth can still |
322 be used */ | 323 be used */ |
323 int interact_request_received; /* flag whether we've received an | 324 int interact_request_received; /* flag whether we've received an |