mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-25 09:12:24 +00:00
Update default key length in PuTTYgen to 2048.
[originally from svn r9414]
This commit is contained in:
parent
46bd2b0721
commit
948203f2c7
2
cmdgen.c
2
cmdgen.c
@ -261,7 +261,7 @@ int main(int argc, char **argv)
|
|||||||
enum { NOKEYGEN, RSA1, RSA2, DSA } keytype = NOKEYGEN;
|
enum { NOKEYGEN, RSA1, RSA2, DSA } keytype = NOKEYGEN;
|
||||||
char *outfile = NULL, *outfiletmp = NULL;
|
char *outfile = NULL, *outfiletmp = NULL;
|
||||||
enum { PRIVATE, PUBLIC, PUBLICO, FP, OPENSSH, SSHCOM } outtype = PRIVATE;
|
enum { PRIVATE, PUBLIC, PUBLICO, FP, OPENSSH, SSHCOM } outtype = PRIVATE;
|
||||||
int bits = 1024;
|
int bits = 2048;
|
||||||
char *comment = NULL, *origcomment = NULL;
|
char *comment = NULL, *origcomment = NULL;
|
||||||
int change_passphrase = FALSE;
|
int change_passphrase = FALSE;
|
||||||
int errs = FALSE, nogo = FALSE;
|
int errs = FALSE, nogo = FALSE;
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
|
|
||||||
#define WM_DONEKEY (WM_APP + 1)
|
#define WM_DONEKEY (WM_APP + 1)
|
||||||
|
|
||||||
#define DEFAULT_KEYSIZE 1024
|
#define DEFAULT_KEYSIZE 2048
|
||||||
|
|
||||||
static char *cmdline_keyfile = NULL;
|
static char *cmdline_keyfile = NULL;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user