2022-10-27 05:43:04 +00:00
|
|
|
#!/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 )"
|
|
|
|
|
2023-04-21 02:22:22 +00:00
|
|
|
exec env SSH_AUTH_SOCK="${XDG_RUNTIME_DIR}/gnupg/S.gpg-agent.ssh" "$@"
|