diff options
author | Darren Tucker <dtucker@zip.com.au> | 2004-12-06 22:47:41 +1100 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2004-12-06 22:47:41 +1100 |
commit | 22cc741096c85ff211dfc4c910fd28ec4858ba83 (patch) | |
tree | 312742d9b3a62da80833cb224d1df1778b2104cd /ssh.h | |
parent | 16e254d17934437a811e0019107ad53cdea8eb76 (diff) |
- dtucker@cvs.openbsd.org 2004/12/06 11:41:03
[auth-rsa.c auth2-pubkey.c authfile.c misc.c misc.h ssh.h sshd.8]
Discard over-length authorized_keys entries rather than complaining when
they don't decode. bz #884, with & ok djm@
Diffstat (limited to 'ssh.h')
-rw-r--r-- | ssh.h | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ssh.h,v 1.75 2003/12/02 17:01:15 markus Exp $ */ | 1 | /* $OpenBSD: ssh.h,v 1.76 2004/12/06 11:41:03 dtucker Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
@@ -40,6 +40,13 @@ | |||
40 | #define SSH_MAX_IDENTITY_FILES 100 | 40 | #define SSH_MAX_IDENTITY_FILES 100 |
41 | 41 | ||
42 | /* | 42 | /* |
43 | * Maximum length of lines in authorized_keys file. | ||
44 | * Current value permits 16kbit RSA and RSA1 keys and 8kbit DSA keys, with | ||
45 | * some room for options and comments. | ||
46 | */ | ||
47 | #define SSH_MAX_PUBKEY_BYTES 8192 | ||
48 | |||
49 | /* | ||
43 | * Major protocol version. Different version indicates major incompatibility | 50 | * Major protocol version. Different version indicates major incompatibility |
44 | * that prevents communication. | 51 | * that prevents communication. |
45 | * | 52 | * |