aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrhatto@riseup.net <Silvio Rhatto>2014-04-10 10:47:20 -0300
committerrhatto@riseup.net <Silvio Rhatto>2014-04-10 10:47:20 -0300
commit9d04c79cf4a5b99d8910e07b5232267ed4cedcf5 (patch)
tree0998e6e5b76d10b86da685807ad872e4fb99f37f
parent9469f033404ce0ffea8b379fd26a046f9a6c61c0 (diff)
downloadkeyringer-9d04c79cf4a5b99d8910e07b5232267ed4cedcf5.tar.gz
keyringer-9d04c79cf4a5b99d8910e07b5232267ed4cedcf5.tar.bz2
Genpair: 4096 bits ssl by default
-rw-r--r--ChangeLog4
-rwxr-xr-xlib/keyringer/actions/genpair2
2 files changed, 3 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 916dbc2..738a1f1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,6 @@
-2014-04-08 - Silvio Rhatto <rhatto@riseup.net>
+2014-04-10 - Silvio Rhatto <rhatto@riseup.net>
- Genpair: generate ssh keys with 4096 bits
+ Genpair: generate ssh and ssl keys with 4096 bits size
Fix usage message inside keyringer shell
diff --git a/lib/keyringer/actions/genpair b/lib/keyringer/actions/genpair
index 509f5c2..6fc6dcd 100755
--- a/lib/keyringer/actions/genpair
+++ b/lib/keyringer/actions/genpair
@@ -132,7 +132,7 @@ EOF
cat openssl.conf
read -p "Hit ENTER to continue." prompt
- openssl req -batch -nodes -config openssl.conf -newkey rsa:2048 -sha256 \
+ openssl req -batch -nodes -config openssl.conf -newkey rsa:4096 -sha256 \
-keyout ${NODE}_privatekey.pem -out ${NODE}_csr.pem
openssl req -noout -text -in ${NODE}_csr.pem