aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2010-08-23 18:16:01 -0300
committerSilvio Rhatto <rhatto@riseup.net>2010-08-23 18:16:01 -0300
commitb593d116a1ab03df5536f3285a741eb9ef71058a (patch)
treead81238e99b0b53cf8544b40b1fdf0bac42fe24b
parent78800c8f35aeda211c614b62cb0ff8cb99b052b9 (diff)
downloadkeyringer-b593d116a1ab03df5536f3285a741eb9ef71058a.tar.gz
keyringer-b593d116a1ab03df5536f3285a741eb9ef71058a.tar.bz2
Using RSA 4096 bit for gpg key generation
-rwxr-xr-xshare/keyringer/genpair4
1 files changed, 2 insertions, 2 deletions
diff --git a/share/keyringer/genpair b/share/keyringer/genpair
index 63960da..ee870b1 100755
--- a/share/keyringer/genpair
+++ b/share/keyringer/genpair
@@ -40,8 +40,8 @@ function genpair_gpg {
# TODO: custom Name-Comment and Name-Email
# TODO: allow for empty passphrases
gpg --homedir $WORK --gen-key --batch <<EOF
- Key-Type: DSA
- Key-Length: 1024
+ Key-Type: RSA
+ Key-Length: 4096
Subkey-Type: ELG-E
Subkey-Length: 4096
Name-Real: $NODE