Update default key length in PuTTYgen to 2048.
[u/mdw/putty] / cmdgen.c
index 3abc245..6d8b39a 100644 (file)
--- a/cmdgen.c
+++ b/cmdgen.c
@@ -261,7 +261,7 @@ int main(int argc, char **argv)
     enum { NOKEYGEN, RSA1, RSA2, DSA } keytype = NOKEYGEN;    
     char *outfile = NULL, *outfiletmp = NULL;
     enum { PRIVATE, PUBLIC, PUBLICO, FP, OPENSSH, SSHCOM } outtype = PRIVATE;
-    int bits = 1024;
+    int bits = 2048;
     char *comment = NULL, *origcomment = NULL;
     int change_passphrase = FALSE;
     int errs = FALSE, nogo = FALSE;