Results 1 to 2 of 2

Thread: gpg cannot decrypt file as it can't find pinentry

  1. #1

    Default gpg cannot decrypt file as it can't find pinentry

    I'm currently migrating from Mandriva 2009.1 to Opensuse 11.2RC2. I'm hitting this problem trying to do a simple decrypt of a file I encrypted with gpg in Mandriva:

    Code:
    gpg -d Passwords.txt.gpg
    gpg: CAST5 encrypted data
    gpg: problem with the agent: No pinentry
    gpg: encrypted with 1 passphrase
    gpg: decryption failed: No secret key
    Code:
    which pinentry
    /usr/bin/pinentry
    Anyone know how I can tell it where to find pinentry?

  2. #2

    Default Re: gpg cannot decrypt file as it can't find pinentry

    worked it out, I needed to edit (or just delete) ~/.gnupg/gpg-agent.conf and then kill and restart gpg-agent
    Dave Brondsema's Blog - keychain gpg-agent pinentry problems

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •