comparison cli-authpasswd.c @ 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 750ec4ec4cbe
children 62e4baa059c3
comparison
equal deleted inserted replaced
1820:e9854650d45b 1821:df8d8ec1801c
153 153
154 buf_putstring(ses.writepayload, password, strlen(password)); 154 buf_putstring(ses.writepayload, password, strlen(password));
155 155
156 encrypt_packet(); 156 encrypt_packet();
157 m_burn(password, strlen(password)); 157 m_burn(password, strlen(password));
158 158 cli_ses.is_trivial_auth = 0;
159 TRACE(("leave cli_auth_password")) 159 TRACE(("leave cli_auth_password"))
160 } 160 }
161 #endif /* DROPBEAR_CLI_PASSWORD_AUTH */ 161 #endif /* DROPBEAR_CLI_PASSWORD_AUTH */