aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2011-01-27 18:59:39 +0100
committerintrigeri <intrigeri@boum.org>2011-01-27 19:00:15 +0100
commit8190b0dbc7581590a23d302ba06966aa17d9ba63 (patch)
tree89f8df4520ecf4f56b74ed12efc5e9aca97c46e8
parent5c7a26f70d0d899e99f3680e25e643e232502955 (diff)
downloadbackupninja-8190b0dbc7581590a23d302ba06966aa17d9ba63.tar.gz
backupninja-8190b0dbc7581590a23d302ba06966aa17d9ba63.tar.bz2
rdiff.helper: generate 4096 bits RSA keys.
-rw-r--r--ChangeLog2
-rw-r--r--handlers/rdiff.helper.in2
2 files changed, 3 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 276467e..b66a589 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -30,6 +30,8 @@ version 0.9.9 -- UNRELEASED
dup:
. Fix separate signing key usecase. Thanks to Ian Beckwith for
the patch.
+ rdiff:
+ . Generate 4096 bits RSA keys.
version 0.9.8.1 -- October 31, 2010 (boo!)
backupninja changes
diff --git a/handlers/rdiff.helper.in b/handlers/rdiff.helper.in
index b5bb8bb..039799e 100644
--- a/handlers/rdiff.helper.in
+++ b/handlers/rdiff.helper.in
@@ -168,7 +168,7 @@ do_rdiff_ssh_con() {
if [ ! -f /root/.ssh/id_dsa.pub -a ! -f /root/.ssh/id_rsa.pub ]; then
echo "Creating local root's ssh key"
- ssh-keygen -t dsa -f /root/.ssh/id_dsa -N ""
+ ssh-keygen -t rsa -b 4096 -f /root/.ssh/id_rsa -N ""
echo "Done. hit return to continue"
read
fi