1
0
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:
Simon Tatham 2012-02-19 10:44:04 +00:00
parent 46bd2b0721
commit 948203f2c7
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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;