Fwd: Cannot decrypt from smartcard using gnupg-2.2, can from 2.0

alejandro Cortez alejacortez69 at gmail.com
Thu Oct 17 01:52:21 CEST 2019


I just realized my reply did not go to the list.

---------- Forwarded message ---------
From: alejandro Cortez <alejacortez69 at 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 at fsij.org>


On Mon, Oct 14, 2019 at 12:18 AM Niibe Yutaka <gniibe at 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?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnupg-users/attachments/20191016/65ad9aee/attachment.html>


More information about the Gnupg-users mailing list