added gpg-agent support