diff options
author | Simon Warta <[email protected]> | 2015-06-25 15:45:23 +0200 |
---|---|---|
committer | Simon Warta <[email protected]> | 2015-06-25 15:45:23 +0200 |
commit | 0b91cbbe2477a631b083ba8809724557259c2e8c (patch) | |
tree | 06c0c93135cf5de00230032f834c05f08b8d4670 /src/cmd | |
parent | 07dc22cf87ca0c614eb4bfcfea9e6f325546ad74 (diff) | |
parent | 865f3f536a919e275a141d5185be09ac1cee85d2 (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.cpp | 2 |
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", ""); |