From d9608c0ba62ce5f5119ee2980ba6a4ee1fff060e Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 20 Nov 2016 09:59:20 +0000 Subject: [PATCH] For now disable monkeysphere link to ssh-agent --- src/freedombone-adduser | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/freedombone-adduser b/src/freedombone-adduser index 053d4aa1..ed80a31a 100755 --- a/src/freedombone-adduser +++ b/src/freedombone-adduser @@ -152,14 +152,18 @@ if [ ! -f $MY_GPG_PUBLIC_KEY ]; then fi # add a monkeysphere subkey -su -c "monkeysphere gen-subkey $MY_GPG_PUBLIC_KEY_ID" - $MY_USERNAME +#echo $'Adding monkeysphere subkey' +#su -c "monkeysphere gen-subkey" - $MY_USERNAME +#echo $'Adding monkeysphere subkey to ssh-agent' +#su -c "monkeysphere s" - $MY_USERNAME # add authorized GPG email address mkdir /home/$MY_USERNAME/.monkeysphere chmod 755 /home/$MY_USERNAME/.monkeysphere echo "$MY_USERNAME <$MY_USERNAME@$HOSTNAME>" > /home/$MY_USERNAME/.monkeysphere/authorized_user_ids chmod 644 /home/$MY_USERNAME/.monkeysphere/authorized_user_ids chown -R $MY_USERNAME:$MY_USERNAME /home/$MY_USERNAME/.monkeysphere -#monkeysphere-authentication update-users +echo $'Updating monkeysphere users' +monkeysphere-authentication update-users if [ -f /home/$MY_USERNAME/.muttrc ]; then # encrypt outgoing mail to the "sent" folder