For now disable monkeysphere link to ssh-agent

This commit is contained in:
Bob Mottram 2016-11-20 09:59:20 +00:00
parent a2c375fc92
commit d9608c0ba6
1 changed files with 6 additions and 2 deletions

View File

@ -152,14 +152,18 @@ if [ ! -f $MY_GPG_PUBLIC_KEY ]; then
fi fi
# add a monkeysphere subkey # 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 # add authorized GPG email address
mkdir /home/$MY_USERNAME/.monkeysphere mkdir /home/$MY_USERNAME/.monkeysphere
chmod 755 /home/$MY_USERNAME/.monkeysphere chmod 755 /home/$MY_USERNAME/.monkeysphere
echo "$MY_USERNAME <$MY_USERNAME@$HOSTNAME>" > /home/$MY_USERNAME/.monkeysphere/authorized_user_ids echo "$MY_USERNAME <$MY_USERNAME@$HOSTNAME>" > /home/$MY_USERNAME/.monkeysphere/authorized_user_ids
chmod 644 /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 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 if [ -f /home/$MY_USERNAME/.muttrc ]; then
# encrypt outgoing mail to the "sent" folder # encrypt outgoing mail to the "sent" folder