aboutsummaryrefslogtreecommitdiffstats
path: root/src/cmd
diff options
context:
space:
mode:
authorSimon Warta <[email protected]>2015-06-25 15:45:23 +0200
committerSimon Warta <[email protected]>2015-06-25 15:45:23 +0200
commit0b91cbbe2477a631b083ba8809724557259c2e8c (patch)
tree06c0c93135cf5de00230032f834c05f08b8d4670 /src/cmd
parent07dc22cf87ca0c614eb4bfcfea9e6f325546ad74 (diff)
parent865f3f536a919e275a141d5185be09ac1cee85d2 (diff)
Merge pull request #112 from cordney/increase-keygen-default-bits
Increase default keysize to 2048 bit in keygen tool
Diffstat (limited to 'src/cmd')
-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 7cd9b1cc0..75ba3ed42 100644
--- a/src/cmd/keygen.cpp
+++ b/src/cmd/keygen.cpp
@@ -81,7 +81,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", "");