From d9706b341712bbd20cc546e69b31183536f23983 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 14 Jun 2017 21:27:05 +0100 Subject: [PATCH] Append --- src/freedombone-adduser | 2 +- src/freedombone-base-email | 4 ++-- src/freedombone-utils-backup | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/freedombone-adduser b/src/freedombone-adduser index 73e64af6..59524152 100755 --- a/src/freedombone-adduser +++ b/src/freedombone-adduser @@ -137,7 +137,7 @@ chmod 600 /home/$ADD_USERNAME/.gnupg/* # Generate a GPG key echo 'Key-Type: eddsa' > /home/$ADD_USERNAME/gpg-genkey.conf -echo 'Key-Curve: Ed25519' > /home/$ADD_USERNAME/gpg-genkey.conf +echo 'Key-Curve: Ed25519' >> /home/$ADD_USERNAME/gpg-genkey.conf echo 'Subkey-Type: eddsa' >> /home/$ADD_USERNAME/gpg-genkey.conf echo "Name-Real: $ADD_USERNAME" >> /home/$ADD_USERNAME/gpg-genkey.conf echo "Name-Email: $ADD_USERNAME@$HOSTNAME" >> /home/$ADD_USERNAME/gpg-genkey.conf diff --git a/src/freedombone-base-email b/src/freedombone-base-email index ba1e7d75..99fc367b 100755 --- a/src/freedombone-base-email +++ b/src/freedombone-base-email @@ -1506,8 +1506,8 @@ function create_gpg_subkey { # Generate a GPG subkey echo 'Key-Type: eddsa' > /home/$MY_USERNAME/gpg-genkey.conf - echo 'Key-Curve: Ed25519' > /home/$MY_USERNAME/gpg-genkey.conf - echo "Key-Grip: $KEYGRIP" > /home/$MY_USERNAME/gpg-genkey.conf + echo 'Key-Curve: Ed25519' >> /home/$MY_USERNAME/gpg-genkey.conf + echo "Key-Grip: $KEYGRIP" >> /home/$MY_USERNAME/gpg-genkey.conf echo 'Subkey-Type: eddsa' >> /home/$MY_USERNAME/gpg-genkey.conf echo "subkey-Usage: $GPG_KEY_USAGE" > /home/$MY_USERNAME/gpg-genkey.conf echo "Name-Real: $MY_NAME" >> /home/$MY_USERNAME/gpg-genkey.conf diff --git a/src/freedombone-utils-backup b/src/freedombone-utils-backup index 27a6854d..24aff1c0 100755 --- a/src/freedombone-utils-backup +++ b/src/freedombone-utils-backup @@ -66,7 +66,7 @@ function configure_backup_key { BACKUP_KEY_EXISTS=$(gpg_key_exists "$MY_USERNAME" "$MY_NAME (backup key)") if [[ $BACKUP_KEY_EXISTS == "no" ]]; then echo 'Key-Type: eddsa' > /home/$MY_USERNAME/gpg-genkey.conf - echo 'Key-Curve: Ed25519' > /home/$MY_USERNAME/gpg-genkey.conf + echo 'Key-Curve: Ed25519' >> /home/$MY_USERNAME/gpg-genkey.conf echo 'Subkey-Type: eddsa' >> /home/$MY_USERNAME/gpg-genkey.conf echo "Name-Real: $MY_NAME" >> /home/$MY_USERNAME/gpg-genkey.conf echo "Name-Email: $MY_EMAIL_ADDRESS" >> /home/$MY_USERNAME/gpg-genkey.conf