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:

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
which pinentry
/usr/bin/pinentry

Anyone know how I can tell it where to 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