diff --git a/scripts/fix_gpg_agent.sh b/scripts/fix_gpg_agent.sh new file mode 100755 index 0000000..f854457 --- /dev/null +++ b/scripts/fix_gpg_agent.sh @@ -0,0 +1,10 @@ +#!/bin/bash +# GPG-agent on Ubuntu Bionic complains with the following error when trying +# to use gpg-agent as an ssh-agent. +# sign_and_send_pubkey: signing failed: agent refused operation + +# A search indicates the following bug report on Debian, which also +# gives a helpful hint for fixing this problem. +# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=835394 + +gpg-connect-agent updatestartuptty /bye