0xV3NOMx
Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64



Your IP : 3.142.135.24


Current Path : /proc/thread-self/root/usr/lib/systemd/user-environment-generators/
Upload File :
Current File : //proc/thread-self/root/usr/lib/systemd/user-environment-generators/90gpg-agent

#!/bin/bash

# Author: rufo <rufo@rufoa.com>
# See https://bugs.debian.org/855868

agent_sock=$(gpgconf --list-dirs agent-socket)
export GPG_AGENT_INFO=${agent_sock}:0:1
if [ -n "$(gpgconf --list-options gpg-agent | \
            awk -F: '/^enable-ssh-support:/{ print $10 }')" ]; then
    echo SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
    echo GSM_SKIP_SSH_AGENT_WORKAROUND=true
fi