For now disable monkeysphere link to ssh-agent
This commit is contained in:
parent
a2c375fc92
commit
d9608c0ba6
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue