comparison auth.h @ 47:4b53a43f0082

- client pubkey auth works - rearrange the runopts code for client and server (hostkey reading is needed by both (if the client is doing pubkey auth. otherwise....))
author Matt Johnston <matt@ucc.asn.au>
date Fri, 06 Aug 2004 16:18:01 +0000
parents 9ee8996a375f
children 3b2a5a1c4347
comparison
equal deleted inserted replaced
46:3bea78e1b175 47:4b53a43f0082
61 #define AUTH_METHOD_PUBKEY "publickey" 61 #define AUTH_METHOD_PUBKEY "publickey"
62 #define AUTH_METHOD_PUBKEY_LEN 9 62 #define AUTH_METHOD_PUBKEY_LEN 9
63 #define AUTH_METHOD_PASSWORD "password" 63 #define AUTH_METHOD_PASSWORD "password"
64 #define AUTH_METHOD_PASSWORD_LEN 8 64 #define AUTH_METHOD_PASSWORD_LEN 8
65 65
66 /* For a 4096 bit DSS key, empirically determined to be 1590 bytes */
67 #define MAX_PUBKEY_SIZE 1600
68
69 /* This structure is shared between server and client - it contains 66 /* This structure is shared between server and client - it contains
70 * relatively little extraneous bits when used for the client rather than the 67 * relatively little extraneous bits when used for the client rather than the
71 * server */ 68 * server */
72 struct AuthState { 69 struct AuthState {
73 70