Use gpg-agent directly
This commit is contained in:
@@ -36,7 +36,7 @@ export LC_COLLATE=C
|
|||||||
|
|
||||||
# Start the gpg-agent if not already running
|
# Start the gpg-agent if not already running
|
||||||
if ! pgrep -x --uid "${USER}" gpg-agent >/dev/null 2>&1; then
|
if ! pgrep -x --uid "${USER}" gpg-agent >/dev/null 2>&1; then
|
||||||
gpg-connect-agent /bye >/dev/null 2>&1
|
eval $(gpg-agent --daemon --sh)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Set SSH to use gpg-agent
|
# Set SSH to use gpg-agent
|
||||||
|
|||||||
Reference in New Issue
Block a user