:-(( Re: smart card no longer works

NIIBE Yutaka gniibe at fsij.org
Sat Sep 10 06:27:47 CEST 2016

On 09/09/2016 11:52 PM, Philip Jackson wrote:
>> Packaging in Debian had been changed.  Now scdaemon is in a package of
>> "scdaemon" (used to be in "gnupg2" package).
> I have now installed the missing scdaemon deb package and that makes a
> big improvement as far as gpg2 is concerned.
> Both gpg and gpg2 --card-status return essentially the same data which
> looks good.


> gpg: public key decryption failed: Operation cancelled
> gpg: decryption failed: No secret key
> Since in my first attempts, the pinentry window which came up was
> anonymous, I supposed there might be a problem with the choice of
> pinentry.  So I put "pinentry-program /usr/bin/pinentry-gtk-2" into the
> gpg-agent.conf file.
> The pinentry dialogue is no longer anonymous, it does say
> pinentry-gtk-2, but the result is the same, no decrypt.

I don't have any experience with this error behavior.  Please describe
the situation and the interaction; Did you input passphrase and push
[OK] button, and then gpg failed?

Please try again with pinentry-curses and/or pinentry-tty.  Does it work?

More information about the Gnupg-users mailing list