Skip to content

Commit

Permalink
security/SSH: add fix for nonconfigurable GPG socket directory
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanSquared committed Aug 15, 2021
1 parent 95fe016 commit c62007d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions content/docs/security/SSH.md
Expand Up @@ -101,6 +101,11 @@ if [ -z "$SSH_TTY" ]; then
);
then
killall gpg-agent
# This isn't strictly required but helps prevents issues when trying to
# mount a socket in the /run tmpfs into a Docker container, and puts
# the socket in a consistent location under GNUPGHOME
rm -r /run/user/`id -u`/gnupg
touch /run/user/`id -u`/gnupg
gpg-agent --daemon --enable-ssh-support > $envfile
fi
Expand Down

1 comment on commit c62007d

@RyanSquared
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

anyways gonna kill vim if it doesn't stop inserting tabs when i want it to put in spaces

Please sign in to comment.