Skip to content
Snippets Groups Projects
Commit d9608c0b authored by Bob Mottram's avatar Bob Mottram
Browse files

For now disable monkeysphere link to ssh-agent

parent a2c375fc
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment