summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2010-11-21 23:40:24 -0200
committerSilvio Rhatto <rhatto@riseup.net>2010-11-21 23:40:24 -0200
commit5c1095bde2d56e81227c2912c0717bfb8027be1d (patch)
treee44ec530e5d344e1ce1616b59e5b8eb2ba8573a9 /share
parent68e1a5551da6d64af68f78571ee42fd64162aa4d (diff)
downloadkeyringer-5c1095bde2d56e81227c2912c0717bfb8027be1d.tar.gz
keyringer-5c1095bde2d56e81227c2912c0717bfb8027be1d.tar.bz2
Removing hardcoded Name-Comment at genpair_gpg
Diffstat (limited to 'share')
-rwxr-xr-xshare/keyringer/genpair3
1 files changed, 1 insertions, 2 deletions
diff --git a/share/keyringer/genpair b/share/keyringer/genpair
index 5fadbf0..6dff7c6 100755
--- a/share/keyringer/genpair
+++ b/share/keyringer/genpair
@@ -37,7 +37,7 @@ function genpair_gpg {
read -s -p "Enter password for the private key: " passphrase
printf "\n"
- # TODO: insert 279 random bytes
+ # TODO: insert random bytes
# TODO: custom Name-Comment and Name-Email
# TODO: allow for empty passphrases
gpg --homedir "$TMPWORK" --gen-key --batch <<EOF
@@ -46,7 +46,6 @@ function genpair_gpg {
Subkey-Type: ELG-E
Subkey-Length: 4096
Name-Real: $NODE
- Name-Comment: backupninja
Name-Email: root@$NODE
Expire-Date: 0
Passphrase: $passphrase