Add gpg_auth to Linux.

This commit is contained in:
Tom Alexander
2023-02-25 18:16:34 -05:00
parent 4bf64d8298
commit 73ce98a492
5 changed files with 365 additions and 46 deletions

View File

@@ -0,0 +1,9 @@
#!/usr/bin/env bash
#
# Wrapper to set the SSH auth socket to GPG for services that do not
# yet support security key ssh keys
set -euo pipefail
IFS=$'\n\t'
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
exec env SSH_AUTH_SOCK="${XDG_RUNTIME_DIR}/gnupg/S.gpg-agent.ssh" "$@"