]> gitweb.fluxo.info Git - keyringer.git/commitdiff
Using RSA 4096 bit for gpg key generation
authorSilvio Rhatto <rhatto@riseup.net>
Mon, 23 Aug 2010 21:16:01 +0000 (18:16 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Mon, 23 Aug 2010 21:16:01 +0000 (18:16 -0300)
share/keyringer/genpair

index 63960daea8305bfe690ff6a2edc65ec4016fec73..ee870b11f4d6bfbf083d1a003fbbba9d2c01d2d1 100755 (executable)
@@ -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