Hi, I've found the answer on the [GPG Website][1] itself. The agent was failing to find on which screen to display the Pinentry window. I just had to put the following in my .*shrc file: echo "UPDATESTARTUPTTY" | gpg-connect-agent > /dev/null 2&>1 [1]: https://www.gnupg.org/documentation/manuals/gnupg/Common-Problems.html __ Jimmy