diff options
author | Robey Pointer <robey@lag.net> | 2004-12-11 03:43:18 +0000 |
---|---|---|
committer | Robey Pointer <robey@lag.net> | 2004-12-11 03:43:18 +0000 |
commit | 767d73929996a839636fb5afedad38439d5916d5 (patch) | |
tree | 9fd49925771c889077ff60a5c11d7979a5bd9072 /tests/test_rsa.key | |
parent | 73a0df1df3ee3bcda654d383303f2a5771946d41 (diff) |
[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-123]
clean up authentication
add new exception "BadAuthenticationType", which is raised when auth fails
because your auth type (password or public-key) isn't valid on the server.
used this as an excuse to clean up auth_password and auth_publickey so their
'event' arg is optional, and if missing, they block until auth is finished,
raising an exception on error.
also, don't close the session on failed auth -- the server may let you try
again.
added some test cases for failed auth.
Diffstat (limited to 'tests/test_rsa.key')
0 files changed, 0 insertions, 0 deletions