aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/cmd/keygen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/keygen.cpp b/src/cmd/keygen.cpp
index 99769a62f..846836ae7 100644
--- a/src/cmd/keygen.cpp
+++ b/src/cmd/keygen.cpp
@@ -80,7 +80,7 @@ int keygen(int argc, char* argv[])
opts.parse(argv);
const std::string algo = opts.value_or_else("algo", "rsa");
- const size_t bits = opts.int_value_or_else("bits", 1024);
+ const size_t bits = opts.int_value_or_else("bits", 2048);
const std::string pass = opts.value_or_else("passphrase", "");
const std::string pbe = opts.value_or_else("pbe", "");