diff options
author | Matt Johnston <matt@ucc.asn.au> | 2017-06-24 23:32:25 +0800 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2017-06-24 23:32:25 +0800 |
commit | a94338dc6725f9f2594c6c5e1c9a799c7e11f3f1 (patch) | |
tree | 967f689c4c8fa73219cf42e1f4af1f2713b08064 /default_options.h.in | |
parent | 364fb6019c1931de3d181f21ea491ec112161577 (diff) |
add configuration option for default RSA size.
print key size with dropbearkey
Diffstat (limited to 'default_options.h.in')
-rw-r--r-- | default_options.h.in | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/default_options.h.in b/default_options.h.in index e81eaae..3a55731 100644 --- a/default_options.h.in +++ b/default_options.h.in @@ -10,7 +10,7 @@ Local customisation should be added to localoptions.h which is used if it exists. Options defined there will override any options in this file (#ifndef guards added by ifndef_wrapper.sh). -Options can also be defined with -DDROPBEAR_XXX Makefile CFLAGS +Options can also be defined with -DDROPBEAR_XXX in Makefile CFLAGS IMPORTANT: Many options will require "make clean" after changes */ @@ -130,6 +130,11 @@ If you test it please contact the Dropbear author */ * on x86-64 */ #define DROPBEAR_ECDSA 1 +/* RSA must be >=1024 */ +#define DROPBEAR_DEFAULT_RSA_SIZE 2048 +/* DSS is always 1024 */ +/* ECDSA defaults to largest size configured, usually 521 */ + /* Add runtime flag "-R" to generate hostkeys as-needed when the first connection using that key type occurs. This avoids the need to otherwise run "dropbearkey" and avoids some problems |