Enhanced gpg-conect-agent scripting.