Mailing List Archive

Fwd: Cannot decrypt from smartcard using gnupg-2.2, can from 2.0
I just realized my reply did not go to the list.

---------- Forwarded message ---------
From: alejandro Cortez <alejacortez69@gmail.com>
Date: Tue, Oct 15, 2019 at 9:43 AM
Subject: Re: Cannot decrypt from smartcard using gnupg-2.2, can from 2.0
To: Niibe Yutaka <gniibe@fsij.org>


On Mon, Oct 14, 2019 at 12:18 AM Niibe Yutaka <gniibe@fsij.org> wrote:

> $ gpg-connect-agent "KEYINFO --list" /bye
>

On 2.0, this only prints OK. On 2.2, only one KEYINFO line is printed and
the 4th to final column looks like:
D - - - P - - -

I have two different smartcards (both nitrokey pro). One of them is for a
different key and does not experience any problems (it is loaded with a
master key instead of a subkey). The output of KEYINFO is two lines and the
4th - final column looks like this:

T <string of numbers/letters> OPENPGP.3 - - - - -
D - - - P - - -

So neither a working nor broken smartcard shows output like yours. Are
there any other methods to debug this perhaps?