Page MenuHome GnuPG

GnuPG fails to find default key to sign when using a smart card, but recovers once card is removed
Closed, ResolvedPublic

Description

I'm trying to sign a message, and I have only one usable for signatures key in the keyring:

$ gpg -K
/tmp/test-keyring/pubring.kbx
-------------------------------
sec>  rsa2048 2012-01-16 [C] [expires: 2024-05-15]
      CB522FE0379DDF40A93400D7E4BC91FACDA9A65B
      Card serial no. = 00nn 00nnnnnn
uid           [ unknown] John Doe <username@example.com>
ssb#  rsa2048 2012-01-16 [S] [expires: 2024-05-14]
ssb   rsa3072 2012-01-16 [S] [expires: 2024-05-15]

GnuPG says my public key is unusable:

$ echo test | gpg --clearsign
gpg: no default secret key: Unusable public key
gpg: [stdin]: clear-sign failed: Unusable public key

But if I specify that user ID directly, it works as it should:

$ echo test | gpg --clearsign --default-key username@example.com
gpg: using "username@example.com" as default secret key for signing
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

test
-----BEGIN PGP SIGNATURE-----

The manual says it should be working out of the box:

--default-key name 
Use name as default user ID for signatures. If this is not used the default user ID is the first user ID found in the secret keyring.

Conversely, if I remove the card, signing also starts working as expected.

I'm using GnuPG 2.2.19:

$ gpg --version
gpg (GnuPG) 2.2.19
libgcrypt 1.8.5

I'll be happy to give detailed instructions to archiving this setup, if this issue is non-obvious.

Details

External Link
https://unix.stackexchange.com/q/567880/23316
Version
2.2.19

Related Objects

Event Timeline

sanmai created this object in space S1 Public.

Are you sure that you have only one secret key? (run: gpg -K)

I'm pretty sure. That's the actual output above. Once again, if I remove the smart card, gpg --clearsign starts to just work, without a need to specify --default-key.

Please show us your card information. Does it have unrelated signing key?

If so, that is a corner case which should be fixed; but the title of the issue would be: "With valid signing key on card, gpg confuses".

Nope, that's all I had. I'll try to get some debugging info in an hour.

Simply, we need the output of gpg --card-status to identify which key is on your card.

Your OpenPGP key has two signing keys, and newer one is on-disk key. When no card, this is used, I suppose.

Or your card has the key to certify and its fingerprint is: CB522FE0379DDF40A93400D7E4BC91FACDA9A65B

I will be using OpenPGP applet for the YubiKey NEO in a virtialized vanilla Debian environment. This emulated card can sign new keys just as correctly. PINs are the default 12345678 for admin and 123456 for user.

First you have to pull the image, and start it. Please bear with me it's a 1.5 Gb download, but that's what we can use right away. You can absolutely repeat the instructions below.

docker run -d --rm --name openpgp-card ionsago/openpgp-card
docker exec --user pgpcard --workdir /home/pgpcard -it openpgp-card /bin/bash

Next, in the opened shell, I check for the version and make a new certify-only key:

gpg --version | head -n 2
gpg --quick-generate-key "John Doe <jdoe@example.com>" rsa2048 cert

Then I move the key to the card:

(echo keytocard; echo y; echo 1; echo save) |
    gpg --command-fd 0 --edit-key jdoe@example.com

Next I add a signing key:

FPR=$(gpg --list-options show-only-fpr-mbox --list-secret-keys | head -c 40)
gpg --quick-add-key $FPR - sign 1y

And then I try to sign just about anything:

echo -n | gpg --clearsign

And get:

$ echo -n | gpg --clearsign
gpg: no default secret key: Unusable public key
gpg: [stdin]: clear-sign failed: Unusable public key

With debugging:

$ echo -n | gpg --clearsign --debug-all
gpg: reading options from '/home/pgpcard/.gnupg/gpg.conf'
gpg: enabled debug flags: packet mpi crypto filter iobuf memory cache memstat trust hashing ipc clock lookup extprog
gpg: DBG: [not enabled in the source] start
gpg: DBG: chan_3 <- OK Pleased to meet you, process 144
gpg: DBG: connection to agent established
gpg: DBG: chan_3 -> RESET
gpg: DBG: chan_3 <- OK
gpg: DBG: chan_3 -> OPTION ttyname=/dev/pts/0
gpg: DBG: chan_3 <- OK
gpg: DBG: chan_3 -> OPTION ttytype=xterm
gpg: DBG: chan_3 <- OK
gpg: DBG: chan_3 -> OPTION lc-ctype=en_DK.UTF-8
gpg: DBG: chan_3 <- OK
gpg: DBG: chan_3 -> OPTION lc-messages=en_DK.UTF-8
gpg: DBG: chan_3 <- OK
gpg: DBG: chan_3 -> GETINFO version
gpg: DBG: chan_3 <- D 2.2.19
gpg: DBG: chan_3 <- OK
gpg: DBG: chan_3 -> OPTION allow-pinentry-notify
gpg: DBG: chan_3 <- OK
gpg: DBG: chan_3 -> OPTION agent-awareness=2.1.0
gpg: DBG: chan_3 <- OK
gpg: DBG: chan_3 -> SCD SERIALNO
gpg: DBG: chan_3 <- S SERIALNO D2760001240102000000000000010000
gpg: DBG: chan_3 <- OK
gpg: DBG: chan_3 -> SCD SERIALNO
gpg: DBG: chan_3 <- S SERIALNO D2760001240102000000000000010000
gpg: DBG: chan_3 <- OK
gpg: DBG: chan_3 -> SCD GETATTR KEY-FPR
gpg: DBG: chan_3 <- S KEY-FPR 1 5C983A1D38716B3D1965546BC815F155FE0F0829
gpg: DBG: chan_3 <- OK
gpg: DBG: [not enabled in the source] keydb_new
gpg: DBG: [not enabled in the source] keydb_search enter
gpg: DBG: keydb_search: 1 search descriptions:
gpg: DBG: keydb_search   0: FPR20: '5C98 3A1D 3871 6B3D 1965  546B C815 F155 FE0F 0829'
gpg: DBG: keydb_search: searching keybox (resource 0 of 1)
gpg: DBG: keydb_search: searched keybox (resource 0 of 1) => Success
gpg: DBG: [not enabled in the source] keydb_search leave (found)
gpg: DBG: [not enabled in the source] keydb_get_keybock enter
gpg: DBG: parse_packet(iob=1): type=6 length=269 (parse.../../g10/keydb.c.1255)
gpg: DBG: parse_packet(iob=1): type=12 length=12 (parse.../../g10/keydb.c.1255)
gpg: DBG: parse_packet(iob=1): type=13 length=27 (parse.../../g10/keydb.c.1255)
gpg: DBG: parse_packet(iob=1): type=12 length=12 (parse.../../g10/keydb.c.1255)
gpg: DBG: parse_packet(iob=1): type=2 length=340 (parse.../../g10/keydb.c.1255)
gpg: DBG: parse_packet(iob=1): type=12 length=6 (parse.../../g10/keydb.c.1255)
gpg: DBG: parse_packet(iob=1): type=14 length=269 (parse.../../g10/keydb.c.1255)
gpg: DBG: parse_packet(iob=1): type=2 length=626 (parse.../../g10/keydb.c.1255)
gpg: DBG: parse_packet(iob=1): type=12 length=6 (parse.../../g10/keydb.c.1255)
gpg: DBG: iobuf-1.0: underflow: buffer size: 1589; still buffered: 0 => space for 1589 bytes
gpg: DBG: [not enabled in the source] keydb_get_keyblock leave
gpg: DBG: rsa_verify data:+01ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff \
gpg: DBG:                  ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff \
gpg: DBG:                  ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff \
gpg: DBG:                  ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff \
gpg: DBG:                  ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff \
gpg: DBG:                  ffffffffffffffffffffff003051300d06096086480165030402030500044055 \
gpg: DBG:                  81494d747bc065fe0751a3e4d80eb7f19a47b0a79eb9ff464dd321d014d3d26b \
gpg: DBG:                  ec61dd52eb8b6a74dbaaa9270b0c431b45ab19a9318e62fe02c2df2b8df3ce
gpg: DBG: rsa_verify  sig:+07d3d90a4da94361529cb2207c6d5a54a8f00b8e35806737a2085689f599a4d8 \
gpg: DBG:                  6853068e442e9897cc74d4717a25d9b10e721a61e3766e3b0549e8454235a650 \
gpg: DBG:                  c2e9b9a906792d1c1c6f659a33a01bd7f0452367a3d2f99a005acdb88bf6707e \
gpg: DBG:                  05806b7eca78cf24df4c13cf69f4da589e380e30015181a1de4ac27b5d4a6c14 \
gpg: DBG:                  5f69f5ea3442f2a23fa1d62b373b97b8a1ad48410e0765b368107530906ad6cc \
gpg: DBG:                  23ecbbf6f2ac3ac50d5befcf28f326990cbbb11c95cb8828daadb4cd05503c3f \
gpg: DBG:                  8355cf607dcfd30c93ea70860f0cb8a6abb1b1f1dac4956074969f8456bba0e6 \
gpg: DBG:                  c0b65cee7e3bad44fab9b090f67f825e67c653ce9fe15f768ea0cf3283e6e5e9
gpg: DBG: rsa_verify    n:+ab1e4bb9013a0cc5e6cb6e6a5d0b6f705d5adcd9b9ce20cf9f366fa8b8664e13 \
gpg: DBG:                  f0f082b34858cf7670a03782590ad89bd2ff0a9f5ea7b04b644e831eb7fdcc09 \
gpg: DBG:                  e503705cf1b38f87fd394fffd05bf9d1e4d5c395c6f339e030b277faaa72cdf5 \
gpg: DBG:                  e4fe04cad0f2d090568aed70f37737228de6ebccbd789ac28b5379767eb146ec \
gpg: DBG:                  ba77448c3f4d5d6cb876426b418e2941dda66a3bb2cdc9109707efdf0dc39429 \
gpg: DBG:                  bd259d0cc91515091faf26d23e2fe8a7bbc6fb378f440faeb225c06e64feeff4 \
gpg: DBG:                  e8887be33a0eb161fde8f4b1693afbbc421216ba60f40c19424f629021c86a70 \
gpg: DBG:                  0cba546e2097eeb354dad054e836b5e335d2404a6f5e716547891704b76b06e7
gpg: DBG: rsa_verify    e:+010001
gpg: DBG: rsa_verify  cmp:+01ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff \
gpg: DBG:                  ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff \
gpg: DBG:                  ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff \
gpg: DBG:                  ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff \
gpg: DBG:                  ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff \
gpg: DBG:                  ffffffffffffffffffffff003051300d06096086480165030402030500044055 \
gpg: DBG:                  81494d747bc065fe0751a3e4d80eb7f19a47b0a79eb9ff464dd321d014d3d26b \
gpg: DBG:                  ec61dd52eb8b6a74dbaaa9270b0c431b45ab19a9318e62fe02c2df2b8df3ce
gpg: DBG: rsa_verify    => Good
gpg: DBG: iobuf-2.0: close '?'
gpg: DBG: rsa_verify data:+01ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff \
gpg: DBG:                  ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff \
gpg: DBG:                  ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff \
gpg: DBG:                  ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff \
gpg: DBG:                  ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff \
gpg: DBG:                  ffffffffffffffffffffff003051300d06096086480165030402030500044005 \
gpg: DBG:                  0aebddc91d92b063c0176e71c04276421788564604a83a594edb1cb258ae5bde \
gpg: DBG:                  27128c8e4e0e115336c08b8b22fc1be972f1b2e10d842d010b6d20937c636b
gpg: DBG: rsa_verify  sig:+894813330638e7ca57dd84422fd27649fe7f9494d086a84b3333aea3ff1fb762 \
gpg: DBG:                  c5aac745204fc3ff2f5f9cbb64f5cec9536fc279a58f93d3188ba5e7c97f24aa \
gpg: DBG:                  7304b3cb96df996024368f4d2cc1a813c85e93058f6d5ff999589450c45df6ad \
gpg: DBG:                  da98290d3a81845ae260b5be29f031f396f5b5a57f5e7a0392b4c579be5110ad \
gpg: DBG:                  25fe42bc483b2dd3a8b0febefff598e840ba60fe32697b9deb8472ad7cd926a4 \
gpg: DBG:                  5b4277299d5bdf58c52da6e8c6fd1bf5389af43f40f33e51ed4d1cdaaa5ac0a4 \
gpg: DBG:                  7e35cd377278d0195cbd04802599769f0388430bf4de714f500c125b9fcc8c38 \
gpg: DBG:                  88c9df91cc51bf1bbb5cb94c1666a2e3e6303770eacefcde161167d484ad9c09
gpg: DBG: rsa_verify    n:+c7ffe0537d83181e4e0b4a42b32867fd1ce3dede4dfff7a499e4f096658333f2 \
gpg: DBG:                  eb06b5772377230de33cce90caa56418e13b1b25a527ac41ca615b594232c107 \
gpg: DBG:                  371fe949530f00c0e965e4f6e807aeaf4c33501fdfb71a20f2ea5f73bd55d242 \
gpg: DBG:                  6f6a3a5beba8968685128bdd2309b99e6d7cfbe7e6c83778fbf6b224481cfeab \
gpg: DBG:                  3ac2d9b6272fcc1b05d70ce3b361a76adb87f7dc89a2bd636bc203c9ce0ff398 \
gpg: DBG:                  6b0ae390da8695db5698b04353dc52de79d6e5a909f9aa0b13b19b9e7ef03ed5 \
gpg: DBG:                  e23237e687fc88acbdea3761e83ee20b1c71d9357fe86eaa29e7a148ad95d5f4 \
gpg: DBG:                  73176e57b31d9590f6922777f4000fc19b665a03ef4ce21e4582cabe14fb9713
gpg: DBG: rsa_verify    e:+010001
gpg: DBG: rsa_verify  cmp:+01ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff \
gpg: DBG:                  ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff \
gpg: DBG:                  ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff \
gpg: DBG:                  ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff \
gpg: DBG:                  ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff \
gpg: DBG:                  ffffffffffffffffffffff003051300d06096086480165030402030500044005 \
gpg: DBG:                  0aebddc91d92b063c0176e71c04276421788564604a83a594edb1cb258ae5bde \
gpg: DBG:                  27128c8e4e0e115336c08b8b22fc1be972f1b2e10d842d010b6d20937c636b
gpg: DBG: rsa_verify    => Good
gpg: DBG: finish_lookup: checking key FE0F0829 (one)(req_usage=1)
gpg: DBG: 	primary key usage does not match: want=1 have=4
gpg: DBG: 	no suitable key found -  giving up
gpg: DBG: free_packet() type=6
gpg: DBG: free_packet() type=13
gpg: DBG: free_packet() type=2
gpg: DBG: free_packet() type=14
gpg: DBG: free_packet() type=2
gpg: DBG: [not enabled in the source] keydb_search enter
gpg: DBG: keydb_search: 1 search descriptions:
gpg: DBG: keydb_search   0: FPR20: '5C98 3A1D 3871 6B3D 1965  546B C815 F155 FE0F 0829'
gpg: DBG: keydb_search: searching keybox (resource 0 of 1)
gpg: DBG: keydb_search: searched keybox (resource 0 of 1) => EOF
gpg: DBG: iobuf-1.0: close '?'
gpg: DBG: [not enabled in the source] keydb_search leave (not found)
gpg: no default secret key: Unusable public key
gpg: [stdin]: clear-sign failed: Unusable public key
gpg: DBG: [not enabled in the source] stop
gpg: keydb: handles=1 locks=0 parse=1 get=1
gpg:        build=0 update=0 insert=0 delete=0
gpg:        reset=0 found=1 not=1 cache=0 not=0
gpg: kid_not_found_cache: count=0 peak=0 flushes=0
gpg: sig_cache: total=2 cached=1 good=1 bad=0
gpg: random usage: poolsize=600 mixed=0 polls=0/0 added=0/0
              outmix=0 getlvl1=0/0 getlvl2=0/0
gpg: rndjent stat: collector=0x0000000000000000 calls=0 bytes=0
gpg: secmem usage: 0/65536 bytes in 0 blocks

Here are relevant statuses:

$ gpg -K
/home/pgpcard/.gnupg/pubring.kbx
--------------------------------
sec>  rsa2048 2020-02-19 [C] [expires: 2022-02-18]
      5C983A1D38716B3D1965546BC815F155FE0F0829
      Card serial no. = 0000 00000001
uid           [ultimate] John Doe <jdoe@example.com>
ssb   rsa2048 2020-02-19 [S] [expires: 2021-02-18]

$ gpg --card-status
Reader ...........: Virtual PCD 00 00
Application ID ...: D2760001240102000000000000010000
Application type .: OpenPGP
Version ..........: 2.0
Manufacturer .....: test card
Serial number ....: 00000001
Name of cardholder: [not set]
Language prefs ...: [not set]
Salutation .......: 
URL of public key : [not set]
Login data .......: [not set]
Signature PIN ....: forced
Key attributes ...: rsa2048 rsa2048 rsa2048
Max. PIN lengths .: 127 127 127
PIN retry counter : 3 3 3
Signature counter : 1
Signature key ....: 5C98 3A1D 3871 6B3D 1965  546B C815 F155 FE0F 0829
      created ....: 2020-02-19 01:14:28
Encryption key....: [none]
Authentication key: [none]
General key info..: pub  rsa2048/C815F155FE0F0829 2020-02-19 John Doe <jdoe@example.com>
sec>  rsa2048/C815F155FE0F0829  created: 2020-02-19  expires: 2022-02-18
                                card-no: 0000 00000001
ssb   rsa2048/B44E81C7FC491F68  created: 2020-02-19  expires: 2021-02-18

Now the fun part. If I happen to eject the card by shutting down the pcscd from another console:

docker exec -it openpgp-card /etc/init.d/pcscd stop

Signing starts to work:

$ echo -n | gpg --clearsign
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512


-----BEGIN PGP SIGNATURE-----

... skip
-----END PGP SIGNATURE-----

With debugging:

$ echo -n | gpg --clearsign --debug-all
gpg: reading options from '/home/pgpcard/.gnupg/gpg.conf'
gpg: enabled debug flags: packet mpi crypto filter iobuf memory cache memstat trust hashing ipc clock lookup extprog
gpg: DBG: [not enabled in the source] start
gpg: DBG: chan_3 <- OK Pleased to meet you, process 166
gpg: DBG: connection to agent established
gpg: DBG: chan_3 -> RESET
gpg: DBG: chan_3 <- OK
gpg: DBG: chan_3 -> OPTION ttyname=/dev/pts/0
gpg: DBG: chan_3 <- OK
gpg: DBG: chan_3 -> OPTION ttytype=xterm
gpg: DBG: chan_3 <- OK
gpg: DBG: chan_3 -> OPTION lc-ctype=en_DK.UTF-8
gpg: DBG: chan_3 <- OK
gpg: DBG: chan_3 -> OPTION lc-messages=en_DK.UTF-8
gpg: DBG: chan_3 <- OK
gpg: DBG: chan_3 -> GETINFO version
gpg: DBG: chan_3 <- D 2.2.19
gpg: DBG: chan_3 <- OK
gpg: DBG: chan_3 -> OPTION allow-pinentry-notify
gpg: DBG: chan_3 <- OK
gpg: DBG: chan_3 -> OPTION agent-awareness=2.1.0
gpg: DBG: chan_3 <- OK
gpg: DBG: chan_3 -> SCD SERIALNO
gpg: DBG: chan_3 <- ERR 100696144 No such device <SCD>
gpg: DBG: [not enabled in the source] keydb_new
gpg: DBG: [not enabled in the source] keydb_search enter
gpg: DBG: keydb_search: 1 search descriptions:
gpg: DBG: keydb_search   0: FIRST
gpg: DBG: keydb_search: searching keybox (resource 0 of 1)
gpg: DBG: [not enabled in the source] keydb_new
gpg: DBG: [not enabled in the source] keydb_search enter
gpg: DBG: keydb_search: 1 search descriptions:
gpg: DBG: keydb_search   0: LONG_KID: 'C815F155FE0F0829'
gpg: DBG: keydb: kid_not_found_p (c815f155fe0f0829) => indeterminate
gpg: DBG: keydb_search: searching keybox (resource 0 of 1)
gpg: DBG: keydb_search: searched keybox (resource 0 of 1) => Success
gpg: DBG: [not enabled in the source] keydb_search leave (found)
gpg: DBG: [not enabled in the source] keydb_get_keybock enter
gpg: DBG: parse_packet(iob=1): type=6 length=269 (parse.../../g10/keydb.c.1255)
gpg: DBG: parse_packet(iob=1): type=12 length=12 (parse.../../g10/keydb.c.1255)
gpg: DBG: parse_packet(iob=1): type=13 length=27 (parse.../../g10/keydb.c.1255)
gpg: DBG: parse_packet(iob=1): type=12 length=12 (parse.../../g10/keydb.c.1255)
gpg: DBG: parse_packet(iob=1): type=2 length=340 (parse.../../g10/keydb.c.1255)
gpg: DBG: parse_packet(iob=1): type=12 length=6 (parse.../../g10/keydb.c.1255)
gpg: DBG: parse_packet(iob=1): type=14 length=269 (parse.../../g10/keydb.c.1255)
gpg: DBG: parse_packet(iob=1): type=2 length=626 (parse.../../g10/keydb.c.1255)
gpg: DBG: parse_packet(iob=1): type=12 length=6 (parse.../../g10/keydb.c.1255)
gpg: DBG: iobuf-1.0: underflow: buffer size: 1589; still buffered: 0 => space for 1589 bytes
gpg: DBG: iobuf-1.0: close '?'
gpg: DBG: [not enabled in the source] keydb_get_keyblock leave
gpg: DBG: rsa_verify data:+01ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff \
gpg: DBG:                  ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff \
gpg: DBG:                  ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff \
gpg: DBG:                  ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff \
gpg: DBG:                  ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff \
gpg: DBG:                  ffffffffffffffffffffff003051300d06096086480165030402030500044055 \
gpg: DBG:                  81494d747bc065fe0751a3e4d80eb7f19a47b0a79eb9ff464dd321d014d3d26b \
gpg: DBG:                  ec61dd52eb8b6a74dbaaa9270b0c431b45ab19a9318e62fe02c2df2b8df3ce
gpg: DBG: rsa_verify  sig:+07d3d90a4da94361529cb2207c6d5a54a8f00b8e35806737a2085689f599a4d8 \
gpg: DBG:                  6853068e442e9897cc74d4717a25d9b10e721a61e3766e3b0549e8454235a650 \
gpg: DBG:                  c2e9b9a906792d1c1c6f659a33a01bd7f0452367a3d2f99a005acdb88bf6707e \
gpg: DBG:                  05806b7eca78cf24df4c13cf69f4da589e380e30015181a1de4ac27b5d4a6c14 \
gpg: DBG:                  5f69f5ea3442f2a23fa1d62b373b97b8a1ad48410e0765b368107530906ad6cc \
gpg: DBG:                  23ecbbf6f2ac3ac50d5befcf28f326990cbbb11c95cb8828daadb4cd05503c3f \
gpg: DBG:                  8355cf607dcfd30c93ea70860f0cb8a6abb1b1f1dac4956074969f8456bba0e6 \
gpg: DBG:                  c0b65cee7e3bad44fab9b090f67f825e67c653ce9fe15f768ea0cf3283e6e5e9
gpg: DBG: rsa_verify    n:+ab1e4bb9013a0cc5e6cb6e6a5d0b6f705d5adcd9b9ce20cf9f366fa8b8664e13 \
gpg: DBG:                  f0f082b34858cf7670a03782590ad89bd2ff0a9f5ea7b04b644e831eb7fdcc09 \
gpg: DBG:                  e503705cf1b38f87fd394fffd05bf9d1e4d5c395c6f339e030b277faaa72cdf5 \
gpg: DBG:                  e4fe04cad0f2d090568aed70f37737228de6ebccbd789ac28b5379767eb146ec \
gpg: DBG:                  ba77448c3f4d5d6cb876426b418e2941dda66a3bb2cdc9109707efdf0dc39429 \
gpg: DBG:                  bd259d0cc91515091faf26d23e2fe8a7bbc6fb378f440faeb225c06e64feeff4 \
gpg: DBG:                  e8887be33a0eb161fde8f4b1693afbbc421216ba60f40c19424f629021c86a70 \
gpg: DBG:                  0cba546e2097eeb354dad054e836b5e335d2404a6f5e716547891704b76b06e7
gpg: DBG: rsa_verify    e:+010001
gpg: DBG: rsa_verify  cmp:+01ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff \
gpg: DBG:                  ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff \
gpg: DBG:                  ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff \
gpg: DBG:                  ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff \
gpg: DBG:                  ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff \
gpg: DBG:                  ffffffffffffffffffffff003051300d06096086480165030402030500044055 \
gpg: DBG:                  81494d747bc065fe0751a3e4d80eb7f19a47b0a79eb9ff464dd321d014d3d26b \
gpg: DBG:                  ec61dd52eb8b6a74dbaaa9270b0c431b45ab19a9318e62fe02c2df2b8df3ce
gpg: DBG: rsa_verify    => Good
gpg: DBG: iobuf-2.0: close '?'
gpg: DBG: rsa_verify data:+01ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff \
gpg: DBG:                  ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff \
gpg: DBG:                  ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff \
gpg: DBG:                  ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff \
gpg: DBG:                  ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff \
gpg: DBG:                  ffffffffffffffffffffff003051300d06096086480165030402030500044005 \
gpg: DBG:                  0aebddc91d92b063c0176e71c04276421788564604a83a594edb1cb258ae5bde \
gpg: DBG:                  27128c8e4e0e115336c08b8b22fc1be972f1b2e10d842d010b6d20937c636b
gpg: DBG: rsa_verify  sig:+894813330638e7ca57dd84422fd27649fe7f9494d086a84b3333aea3ff1fb762 \
gpg: DBG:                  c5aac745204fc3ff2f5f9cbb64f5cec9536fc279a58f93d3188ba5e7c97f24aa \
gpg: DBG:                  7304b3cb96df996024368f4d2cc1a813c85e93058f6d5ff999589450c45df6ad \
gpg: DBG:                  da98290d3a81845ae260b5be29f031f396f5b5a57f5e7a0392b4c579be5110ad \
gpg: DBG:                  25fe42bc483b2dd3a8b0febefff598e840ba60fe32697b9deb8472ad7cd926a4 \
gpg: DBG:                  5b4277299d5bdf58c52da6e8c6fd1bf5389af43f40f33e51ed4d1cdaaa5ac0a4 \
gpg: DBG:                  7e35cd377278d0195cbd04802599769f0388430bf4de714f500c125b9fcc8c38 \
gpg: DBG:                  88c9df91cc51bf1bbb5cb94c1666a2e3e6303770eacefcde161167d484ad9c09
gpg: DBG: rsa_verify    n:+c7ffe0537d83181e4e0b4a42b32867fd1ce3dede4dfff7a499e4f096658333f2 \
gpg: DBG:                  eb06b5772377230de33cce90caa56418e13b1b25a527ac41ca615b594232c107 \
gpg: DBG:                  371fe949530f00c0e965e4f6e807aeaf4c33501fdfb71a20f2ea5f73bd55d242 \
gpg: DBG:                  6f6a3a5beba8968685128bdd2309b99e6d7cfbe7e6c83778fbf6b224481cfeab \
gpg: DBG:                  3ac2d9b6272fcc1b05d70ce3b361a76adb87f7dc89a2bd636bc203c9ce0ff398 \
gpg: DBG:                  6b0ae390da8695db5698b04353dc52de79d6e5a909f9aa0b13b19b9e7ef03ed5 \
gpg: DBG:                  e23237e687fc88acbdea3761e83ee20b1c71d9357fe86eaa29e7a148ad95d5f4 \
gpg: DBG:                  73176e57b31d9590f6922777f4000fc19b665a03ef4ce21e4582cabe14fb9713
gpg: DBG: rsa_verify    e:+010001
gpg: DBG: rsa_verify  cmp:+01ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff \
gpg: DBG:                  ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff \
gpg: DBG:                  ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff \
gpg: DBG:                  ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff \
gpg: DBG:                  ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff \
gpg: DBG:                  ffffffffffffffffffffff003051300d06096086480165030402030500044005 \
gpg: DBG:                  0aebddc91d92b063c0176e71c04276421788564604a83a594edb1cb258ae5bde \
gpg: DBG:                  27128c8e4e0e115336c08b8b22fc1be972f1b2e10d842d010b6d20937c636b
gpg: DBG: rsa_verify    => Good
gpg: DBG: finish_lookup: checking key FE0F0829 (all)(req_usage=0)
gpg: DBG: 	using key FE0F0829
gpg: DBG: free_packet() type=6
gpg: DBG: free_packet() type=13
gpg: DBG: free_packet() type=2
gpg: DBG: free_packet() type=14
gpg: DBG: free_packet() type=2
gpg: DBG: keydb_search: searched keybox (resource 0 of 1) => Success
gpg: DBG: [not enabled in the source] keydb_search leave (found)
gpg: DBG: [not enabled in the source] keydb_get_keybock enter
gpg: DBG: parse_packet(iob=3): type=6 length=269 (parse.../../g10/keydb.c.1255)
gpg: DBG: parse_packet(iob=3): type=12 length=12 (parse.../../g10/keydb.c.1255)
gpg: DBG: parse_packet(iob=3): type=13 length=27 (parse.../../g10/keydb.c.1255)
gpg: DBG: parse_packet(iob=3): type=12 length=12 (parse.../../g10/keydb.c.1255)
gpg: DBG: parse_packet(iob=3): type=2 length=340 (parse.../../g10/keydb.c.1255)
gpg: DBG: parse_packet(iob=3): type=12 length=6 (parse.../../g10/keydb.c.1255)
gpg: DBG: parse_packet(iob=3): type=14 length=269 (parse.../../g10/keydb.c.1255)
gpg: DBG: parse_packet(iob=3): type=2 length=626 (parse.../../g10/keydb.c.1255)
gpg: DBG: parse_packet(iob=3): type=12 length=6 (parse.../../g10/keydb.c.1255)
gpg: DBG: iobuf-3.0: underflow: buffer size: 1589; still buffered: 0 => space for 1589 bytes
gpg: DBG: iobuf-3.0: close '?'
gpg: DBG: [not enabled in the source] keydb_get_keyblock leave
gpg: DBG: get_keygrip for public key
gpg: DBG: keygrip= EF BD EA 0D C7 0D A3 2F 16 8C A5 B6 FD AA 9D 23 30 71 80 85
gpg: DBG: get_keygrip for public key
gpg: DBG: keygrip= C9 7C 52 3A 5D 73 18 E3 AC 8A 40 84 8C 78 30 CE C4 2F B2 72
gpg: DBG: chan_3 -> HAVEKEY EFBDEA0DC70DA32F168CA5B6FDAA9D2330718085 C97C523A5D7318E3AC8A40848C7830CEC42FB272
gpg: DBG: chan_3 <- OK
gpg: DBG: rsa_verify data:+01ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff \
gpg: DBG:                  ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff \
gpg: DBG:                  ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff \
gpg: DBG:                  ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff \
gpg: DBG:                  ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff \
gpg: DBG:                  ffffffffffffffffffffff003051300d06096086480165030402030500044055 \
gpg: DBG:                  81494d747bc065fe0751a3e4d80eb7f19a47b0a79eb9ff464dd321d014d3d26b \
gpg: DBG:                  ec61dd52eb8b6a74dbaaa9270b0c431b45ab19a9318e62fe02c2df2b8df3ce
gpg: DBG: rsa_verify  sig:+07d3d90a4da94361529cb2207c6d5a54a8f00b8e35806737a2085689f599a4d8 \
gpg: DBG:                  6853068e442e9897cc74d4717a25d9b10e721a61e3766e3b0549e8454235a650 \
gpg: DBG:                  c2e9b9a906792d1c1c6f659a33a01bd7f0452367a3d2f99a005acdb88bf6707e \
gpg: DBG:                  05806b7eca78cf24df4c13cf69f4da589e380e30015181a1de4ac27b5d4a6c14 \
gpg: DBG:                  5f69f5ea3442f2a23fa1d62b373b97b8a1ad48410e0765b368107530906ad6cc \
gpg: DBG:                  23ecbbf6f2ac3ac50d5befcf28f326990cbbb11c95cb8828daadb4cd05503c3f \
gpg: DBG:                  8355cf607dcfd30c93ea70860f0cb8a6abb1b1f1dac4956074969f8456bba0e6 \
gpg: DBG:                  c0b65cee7e3bad44fab9b090f67f825e67c653ce9fe15f768ea0cf3283e6e5e9
gpg: DBG: rsa_verify    n:+ab1e4bb9013a0cc5e6cb6e6a5d0b6f705d5adcd9b9ce20cf9f366fa8b8664e13 \
gpg: DBG:                  f0f082b34858cf7670a03782590ad89bd2ff0a9f5ea7b04b644e831eb7fdcc09 \
gpg: DBG:                  e503705cf1b38f87fd394fffd05bf9d1e4d5c395c6f339e030b277faaa72cdf5 \
gpg: DBG:                  e4fe04cad0f2d090568aed70f37737228de6ebccbd789ac28b5379767eb146ec \
gpg: DBG:                  ba77448c3f4d5d6cb876426b418e2941dda66a3bb2cdc9109707efdf0dc39429 \
gpg: DBG:                  bd259d0cc91515091faf26d23e2fe8a7bbc6fb378f440faeb225c06e64feeff4 \
gpg: DBG:                  e8887be33a0eb161fde8f4b1693afbbc421216ba60f40c19424f629021c86a70 \
gpg: DBG:                  0cba546e2097eeb354dad054e836b5e335d2404a6f5e716547891704b76b06e7
gpg: DBG: rsa_verify    e:+010001
gpg: DBG: rsa_verify  cmp:+01ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff \
gpg: DBG:                  ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff \
gpg: DBG:                  ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff \
gpg: DBG:                  ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff \
gpg: DBG:                  ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff \
gpg: DBG:                  ffffffffffffffffffffff003051300d06096086480165030402030500044055 \
gpg: DBG:                  81494d747bc065fe0751a3e4d80eb7f19a47b0a79eb9ff464dd321d014d3d26b \
gpg: DBG:                  ec61dd52eb8b6a74dbaaa9270b0c431b45ab19a9318e62fe02c2df2b8df3ce
gpg: DBG: rsa_verify    => Good
gpg: DBG: iobuf-4.0: close '?'
gpg: DBG: rsa_verify data:+01ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff \
gpg: DBG:                  ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff \
gpg: DBG:                  ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff \
gpg: DBG:                  ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff \
gpg: DBG:                  ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff \
gpg: DBG:                  ffffffffffffffffffffff003051300d06096086480165030402030500044005 \
gpg: DBG:                  0aebddc91d92b063c0176e71c04276421788564604a83a594edb1cb258ae5bde \
gpg: DBG:                  27128c8e4e0e115336c08b8b22fc1be972f1b2e10d842d010b6d20937c636b
gpg: DBG: rsa_verify  sig:+894813330638e7ca57dd84422fd27649fe7f9494d086a84b3333aea3ff1fb762 \
gpg: DBG:                  c5aac745204fc3ff2f5f9cbb64f5cec9536fc279a58f93d3188ba5e7c97f24aa \
gpg: DBG:                  7304b3cb96df996024368f4d2cc1a813c85e93058f6d5ff999589450c45df6ad \
gpg: DBG:                  da98290d3a81845ae260b5be29f031f396f5b5a57f5e7a0392b4c579be5110ad \
gpg: DBG:                  25fe42bc483b2dd3a8b0febefff598e840ba60fe32697b9deb8472ad7cd926a4 \
gpg: DBG:                  5b4277299d5bdf58c52da6e8c6fd1bf5389af43f40f33e51ed4d1cdaaa5ac0a4 \
gpg: DBG:                  7e35cd377278d0195cbd04802599769f0388430bf4de714f500c125b9fcc8c38 \
gpg: DBG:                  88c9df91cc51bf1bbb5cb94c1666a2e3e6303770eacefcde161167d484ad9c09
gpg: DBG: rsa_verify    n:+c7ffe0537d83181e4e0b4a42b32867fd1ce3dede4dfff7a499e4f096658333f2 \
gpg: DBG:                  eb06b5772377230de33cce90caa56418e13b1b25a527ac41ca615b594232c107 \
gpg: DBG:                  371fe949530f00c0e965e4f6e807aeaf4c33501fdfb71a20f2ea5f73bd55d242 \
gpg: DBG:                  6f6a3a5beba8968685128bdd2309b99e6d7cfbe7e6c83778fbf6b224481cfeab \
gpg: DBG:                  3ac2d9b6272fcc1b05d70ce3b361a76adb87f7dc89a2bd636bc203c9ce0ff398 \
gpg: DBG:                  6b0ae390da8695db5698b04353dc52de79d6e5a909f9aa0b13b19b9e7ef03ed5 \
gpg: DBG:                  e23237e687fc88acbdea3761e83ee20b1c71d9357fe86eaa29e7a148ad95d5f4 \
gpg: DBG:                  73176e57b31d9590f6922777f4000fc19b665a03ef4ce21e4582cabe14fb9713
gpg: DBG: rsa_verify    e:+010001
gpg: DBG: rsa_verify  cmp:+01ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff \
gpg: DBG:                  ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff \
gpg: DBG:                  ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff \
gpg: DBG:                  ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff \
gpg: DBG:                  ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff \
gpg: DBG:                  ffffffffffffffffffffff003051300d06096086480165030402030500044005 \
gpg: DBG:                  0aebddc91d92b063c0176e71c04276421788564604a83a594edb1cb258ae5bde \
gpg: DBG:                  27128c8e4e0e115336c08b8b22fc1be972f1b2e10d842d010b6d20937c636b
gpg: DBG: rsa_verify    => Good
gpg: DBG: finish_lookup: checking key FE0F0829 (all)(req_usage=1)
gpg: DBG: 	checking subkey FC491F68
gpg: DBG: get_keygrip for public key
gpg: DBG: keygrip= C9 7C 52 3A 5D 73 18 E3 AC 8A 40 84 8C 78 30 CE C4 2F B2 72
gpg: DBG: chan_3 -> HAVEKEY C97C523A5D7318E3AC8A40848C7830CEC42FB272
gpg: DBG: chan_3 <- OK
gpg: DBG: 	subkey might be fine
gpg: DBG: 	using key FC491F68
gpg: DBG: cache_user_id: already in cache
gpg: DBG: free_packet() type=6
gpg: DBG: free_packet() type=13
gpg: DBG: free_packet() type=2
gpg: DBG: free_packet() type=14
gpg: DBG: free_packet() type=2
gpg: DBG: iobuf-5.0: open '[stdin]' desc=file_filter(fd) fd=0
gpg: DBG: iobuf-6.0: open '[stdout]' desc=file_filter(fd) fd=1
gpg: DBG: iobuf-6.0: ioctl 'file_filter(fd)' no_cache=1
gpg: DBG: get_keygrip for public key
gpg: DBG: keygrip= C9 7C 52 3A 5D 73 18 E3 AC 8A 40 84 8C 78 30 CE C4 2F B2 72
gpg: DBG: chan_3 -> KEYINFO C97C523A5D7318E3AC8A40848C7830CEC42FB272
gpg: DBG: chan_3 <- S KEYINFO C97C523A5D7318E3AC8A40848C7830CEC42FB272 D - - 1 P - - -
gpg: DBG: chan_3 <- OK
gpg: DBG: iobuf-5.0: underflow: buffer size: 8192; still buffered: 0 => space for 8192 bytes
gpg: DBG: iobuf-5.0: underflow: A->FILTER (8192 bytes)
gpg: DBG: iobuf-5.0: A->FILTER() returned rc=-1 (EOF), read 0 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512


gpg: DBG: armor-filter: control: 5
gpg: DBG: iobuf-6.1: push 'armor_filter'
gpg: DBG: armor-filter: control: 5
gpg: DBG: iobuf chain: 6.1 'armor_filter' filter_eof=0 start=0 len=0
gpg: DBG: iobuf chain: 6.0 'file_filter(fd)' filter_eof=0 start=0 len=0
gpg: DBG: armor-filter: control: 1
gpg: DBG: get_keygrip for public key
gpg: DBG: keygrip= C9 7C 52 3A 5D 73 18 E3 AC 8A 40 84 8C 78 30 CE C4 2F B2 72
gpg: DBG: chan_3 -> RESET
gpg: DBG: chan_3 <- OK
gpg: DBG: chan_3 -> SIGKEY C97C523A5D7318E3AC8A40848C7830CEC42FB272
gpg: DBG: chan_3 <- OK
gpg: DBG: chan_3 -> SETKEYDESC Please+enter+the+passphrase+to+unlock+the+OpenPGP+secret+key:%0A%22John+Doe+<jdoe@example.com>%22%0A2048-bit+RSA+key,+ID+B44E81C7FC491F68,%0Acreated+2020-02-19+(main+key+ID+C815F155FE0F0829).%0A
gpg: DBG: chan_3 <- OK
gpg: DBG: chan_3 -> SETHASH 10 BF9B752BA7AC7ED66C363E96760BF7B09CFB4B2CFC8AA9E851F733B2814490BCD60EFD7C202552E270D6DC230942ABB460D8421F399428E0E1C27D5F80C58BC7
gpg: DBG: chan_3 <- OK
gpg: DBG: chan_3 -> PKSIGN
gpg: DBG: chan_3 <- [ 44 20 28 37 3a 73 69 67 2d 76 61 6c 28 33 3a 72 ...(271 byte(s) skipped) ]
gpg: DBG: chan_3 <- OK
gpg: DBG: build_packet() type=2
gpg: DBG: iobuf-7.0: close '?'
gpg: DBG: free_packet() type=2
gpg: DBG: armor-filter: control: 4
gpg: DBG: armor-filter: control: 5
gpg: DBG: iobuf-6.1: close 'armor_filter'
gpg: DBG: armor-filter: control: 2
-----BEGIN PGP SIGNATURE-----

... skip
-----END PGP SIGNATURE-----
gpg: DBG: iobuf-6.0: close 'file_filter(fd)'
gpg: DBG: iobuf-5.0: close '?'
gpg: DBG: [not enabled in the source] stop
gpg: keydb: handles=2 locks=0 parse=2 get=2
gpg:        build=0 update=0 insert=0 delete=0
gpg:        reset=0 found=2 not=0 cache=0 not=0
gpg: kid_not_found_cache: count=0 peak=0 flushes=0
gpg: sig_cache: total=4 cached=2 good=2 bad=0
gpg: random usage: poolsize=600 mixed=1 polls=0/4 added=24/960
              outmix=0 getlvl1=0/0 getlvl2=0/0
gpg: rndjent stat: collector=0x0000000000000000 calls=0 bytes=0
gpg: secmem usage: 1344/65536 bytes in 2 blocks

To shut down the image, and possibly start over, use:

docker kill openpgp-card
gniibe triaged this task as Normal priority.

Thanks for your info.

Your card key is to certify (only). gpg confuses when the card with certify is inserted and is asked to sign.

gniibe changed the task status from Open to Testing.Feb 19 2020, 3:07 AM
gniibe edited projects, added gnupg (gpg22), Restricted Project; removed gnupg.

I can confirm that the problem is gone from a build from the master branch. It indeed retries the search.

$ echo -n | ./g10/gpg --clearsign --debug-all
gpg: reading options from '/home/pgpcard/.gnupg/gpg.conf'
gpg: enabled debug flags: packet mpi crypto filter iobuf memory cache memstat trust hashing ipc clock lookup extprog
gpg: DBG: [no clock] start
gpg: DBG: chan_3 <- OK Pleased to meet you, process 40148
gpg: DBG: connection to the gpg-agent established
gpg: DBG: chan_3 -> RESET
gpg: DBG: chan_3 <- OK
gpg: DBG: chan_3 -> OPTION ttyname=/dev/pts/0
gpg: DBG: chan_3 <- OK
gpg: DBG: chan_3 -> OPTION ttytype=xterm
gpg: DBG: chan_3 <- OK
gpg: DBG: chan_3 -> OPTION lc-ctype=en_DK.UTF-8
gpg: DBG: chan_3 <- OK
gpg: DBG: chan_3 -> OPTION lc-messages=en_DK.UTF-8
gpg: DBG: chan_3 <- OK
gpg: DBG: chan_3 -> GETINFO version
gpg: DBG: chan_3 <- D 2.2.19
gpg: DBG: chan_3 <- OK
gpg: WARNING: server 'gpg-agent' is older than us (2.2.19 < 2.3.0)
gpg: Note: Outdated servers may lack important security fixes.
gpg: Note: Use the command "gpgconf --kill all" to restart them.
gpg: DBG: chan_3 -> OPTION allow-pinentry-notify
gpg: DBG: chan_3 <- OK
gpg: DBG: chan_3 -> OPTION agent-awareness=2.1.0
gpg: DBG: chan_3 <- OK
gpg: DBG: chan_3 -> SCD SERIALNO
gpg: DBG: chan_3 <- S SERIALNO D2760001240102000000000000010000
gpg: DBG: chan_3 <- OK
gpg: DBG: chan_3 -> SCD SERIALNO
gpg: DBG: chan_3 <- S SERIALNO D2760001240102000000000000010000
gpg: DBG: chan_3 <- OK
gpg: DBG: chan_3 -> SCD GETATTR KEY-FPR
gpg: DBG: chan_3 <- S KEY-FPR 1 03098762F01171466B4B151195921E1AFE574FEF
gpg: DBG: chan_3 <- OK
gpg: DBG: [no clock] keydb_new
gpg: DBG: [no clock] keydb_search enter
gpg: DBG: keydb_search: 1 search descriptions:
gpg: DBG: keydb_search   0: FPR20: '0309 8762 F011 7146 6B4B  1511 9592 1E1A FE57 4FEF'
gpg: DBG: internal_keydb_search: searching keybox (resource 0 of 1)
gpg: DBG: internal_keydb_search: searched keybox (resource 0 of 1) => Success
gpg: DBG: [no clock] keydb_search leave (found)
gpg: DBG: [no clock] keydb_get_keyblock enter
gpg: DBG: parse_packet(iob=1): type=6 length=269 (parse.keydb.c.1162)
gpg: DBG: parse_packet(iob=1): type=12 length=12 (parse.keydb.c.1162)
gpg: DBG: parse_packet(iob=1): type=13 length=27 (parse.keydb.c.1162)
gpg: DBG: parse_packet(iob=1): type=12 length=12 (parse.keydb.c.1162)
gpg: DBG: parse_packet(iob=1): type=2 length=340 (parse.keydb.c.1162)
gpg: DBG: parse_packet(iob=1): type=12 length=6 (parse.keydb.c.1162)
gpg: DBG: parse_packet(iob=1): type=14 length=269 (parse.keydb.c.1162)
gpg: DBG: parse_packet(iob=1): type=2 length=626 (parse.keydb.c.1162)
gpg: DBG: parse_packet(iob=1): type=12 length=6 (parse.keydb.c.1162)
gpg: DBG: iobuf-1.0: underflow: buffer size: 1589; still buffered: 0 => space for 1589 bytes
gpg: DBG: [no clock] keydb_get_keyblock leave
gpg: DBG: rsa_verify data:+01ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff \
gpg: DBG:                  ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff \
gpg: DBG:                  ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff \
gpg: DBG:                  ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff \
gpg: DBG:                  ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff \
gpg: DBG:                  ffffffffffffffffffffff003051300d060960864801650304020305000440f3 \
gpg: DBG:                  a3a6c07ed471e7cfd4daac7092228e27472c5d70e944c90f3188e18b20d6555d \
gpg: DBG:                  0901cfb895b6a8c671e2c466dc8dc40dd49c6c231685d0229d29aeb4c33434
gpg: DBG: rsa_verify  sig:+96e2bbda8c4d9b70f8acb8ee3e9e94755af73da34ca584c4fd5325b0f334dfe5 \
gpg: DBG:                  8d58684b859e46f8655dfe9ec4c385fa2fb4e1512e37e5a49dc93e44af94f075 \
gpg: DBG:                  75405288bb2dae2daeca5479873038627cf3eaa0368d7a8c144eed17d6cfcb41 \
gpg: DBG:                  2f201e80834f232fd99f3476928d516d14f1498fc697402d18ee01082a2e2337 \
gpg: DBG:                  4169fffc72557ac5177b958f3a73c20fe7fa56bcc109f8e2eba9ea2e09f9f0fb \
gpg: DBG:                  2122ab291dd6386fe4fcd6a403e2953b1d87b71acbfcc3c7c2ff30ca640b20be \
gpg: DBG:                  22f0ec646b0fb97ffc1a963923064d58bc4ddb16e9d96fa72d69f615249c0afc \
gpg: DBG:                  27507276c1b283bf85b228b8f8e5b916008b9223766e30bc1f977aec6fd348da
gpg: DBG: rsa_verify    n:+9b957a4be2da7cd7fe4464a2c44c5cfc2edd845a25b9e726c1ac6a9af6dc9d75 \
gpg: DBG:                  42ec410563fa1259f05c3c1fc1032bacf82a8045cf89768423d64a63fe10255f \
gpg: DBG:                  1e4b99c3946542695fa7ebadb0b7da7e0afca87d752e86448ac0f8793115d661 \
gpg: DBG:                  9d2c86b082d57850d1a9c68b24851302b48f0499d5db1725b5424eaa42a316f7 \
gpg: DBG:                  a88a80dbd6055aabb61b5754091b1d3ff476e0fb40f972b0e44c5bfa5ce4f36b \
gpg: DBG:                  b0b777e3d9ea859da6d15dbd9670624fc8584d1ca21644e21a2a7fbbd92d3f31 \
gpg: DBG:                  31425da08c1fc8a5bee48e47bd308c20389e105ae92f410ab19522e54d44cbee \
gpg: DBG:                  11ffc1fc4758e714c2d5c2b16f6492942a806696c22ba58444b56f9a353fd889
gpg: DBG: rsa_verify    e:+010001
gpg: DBG: rsa_verify  cmp:+01ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff \
gpg: DBG:                  ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff \
gpg: DBG:                  ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff \
gpg: DBG:                  ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff \
gpg: DBG:                  ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff \
gpg: DBG:                  ffffffffffffffffffffff003051300d060960864801650304020305000440f3 \
gpg: DBG:                  a3a6c07ed471e7cfd4daac7092228e27472c5d70e944c90f3188e18b20d6555d \
gpg: DBG:                  0901cfb895b6a8c671e2c466dc8dc40dd49c6c231685d0229d29aeb4c33434
gpg: DBG: rsa_verify    => Good
gpg: DBG: iobuf-2.0: close '?'
gpg: DBG: rsa_verify data:+01ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff \
gpg: DBG:                  ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff \
gpg: DBG:                  ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff \
gpg: DBG:                  ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff \
gpg: DBG:                  ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff \
gpg: DBG:                  ffffffffffffffffffffff003051300d060960864801650304020305000440d6 \
gpg: DBG:                  524e0ad6ffd585d6d6298eb896af02379d511c3e256194f25b852cc265bd44f9 \
gpg: DBG:                  cf4b52b002bfc2b4decbb947c7e60fe4e79f571e84b1c8a6466f369ea85d97
gpg: DBG: rsa_verify  sig:+b62355d9c3d9cbea7433b4fcaa99ff160a1630912fa03399e123c854aff38082 \
gpg: DBG:                  9079cfa833904f35708b607e11e7642981f81add59d8192f4b72bac3613e85f3 \
gpg: DBG:                  52c78072abe0bb68f5652207e87c21cfd399dddf8ba716d84bdad7b861ee590a \
gpg: DBG:                  72fd56d318ddc051460ce5a815eaa7d8e7a93ed44c7e7104bc24e64e9eb01706 \
gpg: DBG:                  01da3957b2c1ba8ad1a06fe10f5250bbee27a7cf374fc0fdc6a2fd6ee71dd455 \
gpg: DBG:                  82d95eee7924ca75f2b2e41fc8e59c9b8da21967e933815b4def7b718ba86524 \
gpg: DBG:                  ab9a5fd07bc47775ba6e798007b322a2d20e0ad21be94c871bc8801b10c40f7d \
gpg: DBG:                  7629cd4a02a4c20da51b092adb3b32454b64646cadf658a1e0aa91aa5332d851
gpg: DBG: rsa_verify    n:+f2762df99d8760cc71ac599fe32a413d9df217f63dabd48a692dd28b145b8a60 \
gpg: DBG:                  28f8a555bdd6cc4575195acc520028ea7d5e5b7f3609bdfe721a8cbb69a0c76e \
gpg: DBG:                  a80bcbfa55b4293a162d1ac9edd77eec4fb1a6c60164ba137816f51d5ee49089 \
gpg: DBG:                  53aabc985b97c9973ba9b18fd3629711fea0fcfd5b5f57652ab5bad03c9c9d2d \
gpg: DBG:                  7c23738b20aafcaa259de5e086582026f5379183e5ec0513c36efd7eaf96067a \
gpg: DBG:                  097a4c99b25f09229a91f352b5f06d74c89caa602fa9b8b4f757c200b460a030 \
gpg: DBG:                  2c077fc0098cfe2d1e66dc6e0c9ffe631742c49f190811136f55f5bd88b3c093 \
gpg: DBG:                  23b4649380c355373e452566b41ab72077927a59b26124f9c5501131534f0cad
gpg: DBG: rsa_verify    e:+010001
gpg: DBG: rsa_verify  cmp:+01ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff \
gpg: DBG:                  ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff \
gpg: DBG:                  ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff \
gpg: DBG:                  ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff \
gpg: DBG:                  ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff \
gpg: DBG:                  ffffffffffffffffffffff003051300d060960864801650304020305000440d6 \
gpg: DBG:                  524e0ad6ffd585d6d6298eb896af02379d511c3e256194f25b852cc265bd44f9 \
gpg: DBG:                  cf4b52b002bfc2b4decbb947c7e60fe4e79f571e84b1c8a6466f369ea85d97
gpg: DBG: rsa_verify    => Good
gpg: DBG: finish_lookup: checking key FE574FEF (one)(req_usage=1)
gpg: DBG: 	primary key usage does not match: want=1 have=4
gpg: DBG: 	no suitable key found -  giving up
gpg: DBG: free_packet() type=6
gpg: DBG: free_packet() type=13
gpg: DBG: free_packet() type=2
gpg: DBG: free_packet() type=14
gpg: DBG: free_packet() type=2
gpg: DBG: [no clock] keydb_search enter
gpg: DBG: keydb_search: 1 search descriptions:
gpg: DBG: keydb_search   0: FPR20: '0309 8762 F011 7146 6B4B  1511 9592 1E1A FE57 4FEF'
gpg: DBG: internal_keydb_search: searching keybox (resource 0 of 1)
gpg: DBG: internal_keydb_search: searched keybox (resource 0 of 1) => EOF
gpg: DBG: iobuf-1.0: close '?'
gpg: DBG: [no clock] keydb_search leave (not found)
gpg: DBG: [no clock] keydb_new
gpg: DBG: [no clock] keydb_search enter
gpg: DBG: keydb_search: 1 search descriptions:
gpg: DBG: keydb_search   0: FIRST
gpg: DBG: internal_keydb_search: searching keybox (resource 0 of 1)
gpg: DBG: [no clock] keydb_new
gpg: DBG: [no clock] keydb_search enter
gpg: DBG: keydb_search: 1 search descriptions:
gpg: DBG: keydb_search   0: LONG_KID: '95921E1AFE574FEF'
gpg: DBG: keydb: kid_not_found_p (95921e1afe574fef) => indeterminate
gpg: DBG: internal_keydb_search: searching keybox (resource 0 of 1)
gpg: DBG: internal_keydb_search: searched keybox (resource 0 of 1) => Success
gpg: DBG: [no clock] keydb_search leave (found)
gpg: DBG: [no clock] keydb_get_keyblock enter
gpg: DBG: parse_packet(iob=3): type=6 length=269 (parse.keydb.c.1162)
gpg: DBG: parse_packet(iob=3): type=12 length=12 (parse.keydb.c.1162)
gpg: DBG: parse_packet(iob=3): type=13 length=27 (parse.keydb.c.1162)
gpg: DBG: parse_packet(iob=3): type=12 length=12 (parse.keydb.c.1162)
gpg: DBG: parse_packet(iob=3): type=2 length=340 (parse.keydb.c.1162)
gpg: DBG: parse_packet(iob=3): type=12 length=6 (parse.keydb.c.1162)
gpg: DBG: parse_packet(iob=3): type=14 length=269 (parse.keydb.c.1162)
gpg: DBG: parse_packet(iob=3): type=2 length=626 (parse.keydb.c.1162)
gpg: DBG: parse_packet(iob=3): type=12 length=6 (parse.keydb.c.1162)
gpg: DBG: iobuf-3.0: underflow: buffer size: 1589; still buffered: 0 => space for 1589 bytes
gpg: DBG: iobuf-3.0: close '?'
gpg: DBG: [no clock] keydb_get_keyblock leave
gpg: DBG: rsa_verify data:+01ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff \
gpg: DBG:                  ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff \
gpg: DBG:                  ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff \
gpg: DBG:                  ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff \
gpg: DBG:                  ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff \
gpg: DBG:                  ffffffffffffffffffffff003051300d060960864801650304020305000440f3 \
gpg: DBG:                  a3a6c07ed471e7cfd4daac7092228e27472c5d70e944c90f3188e18b20d6555d \
gpg: DBG:                  0901cfb895b6a8c671e2c466dc8dc40dd49c6c231685d0229d29aeb4c33434
gpg: DBG: rsa_verify  sig:+96e2bbda8c4d9b70f8acb8ee3e9e94755af73da34ca584c4fd5325b0f334dfe5 \
gpg: DBG:                  8d58684b859e46f8655dfe9ec4c385fa2fb4e1512e37e5a49dc93e44af94f075 \
gpg: DBG:                  75405288bb2dae2daeca5479873038627cf3eaa0368d7a8c144eed17d6cfcb41 \
gpg: DBG:                  2f201e80834f232fd99f3476928d516d14f1498fc697402d18ee01082a2e2337 \
gpg: DBG:                  4169fffc72557ac5177b958f3a73c20fe7fa56bcc109f8e2eba9ea2e09f9f0fb \
gpg: DBG:                  2122ab291dd6386fe4fcd6a403e2953b1d87b71acbfcc3c7c2ff30ca640b20be \
gpg: DBG:                  22f0ec646b0fb97ffc1a963923064d58bc4ddb16e9d96fa72d69f615249c0afc \
gpg: DBG:                  27507276c1b283bf85b228b8f8e5b916008b9223766e30bc1f977aec6fd348da
gpg: DBG: rsa_verify    n:+9b957a4be2da7cd7fe4464a2c44c5cfc2edd845a25b9e726c1ac6a9af6dc9d75 \
gpg: DBG:                  42ec410563fa1259f05c3c1fc1032bacf82a8045cf89768423d64a63fe10255f \
gpg: DBG:                  1e4b99c3946542695fa7ebadb0b7da7e0afca87d752e86448ac0f8793115d661 \
gpg: DBG:                  9d2c86b082d57850d1a9c68b24851302b48f0499d5db1725b5424eaa42a316f7 \
gpg: DBG:                  a88a80dbd6055aabb61b5754091b1d3ff476e0fb40f972b0e44c5bfa5ce4f36b \
gpg: DBG:                  b0b777e3d9ea859da6d15dbd9670624fc8584d1ca21644e21a2a7fbbd92d3f31 \
gpg: DBG:                  31425da08c1fc8a5bee48e47bd308c20389e105ae92f410ab19522e54d44cbee \
gpg: DBG:                  11ffc1fc4758e714c2d5c2b16f6492942a806696c22ba58444b56f9a353fd889
gpg: DBG: rsa_verify    e:+010001
gpg: DBG: rsa_verify  cmp:+01ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff \
gpg: DBG:                  ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff \
gpg: DBG:                  ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff \
gpg: DBG:                  ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff \
gpg: DBG:                  ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff \
gpg: DBG:                  ffffffffffffffffffffff003051300d060960864801650304020305000440f3 \
gpg: DBG:                  a3a6c07ed471e7cfd4daac7092228e27472c5d70e944c90f3188e18b20d6555d \
gpg: DBG:                  0901cfb895b6a8c671e2c466dc8dc40dd49c6c231685d0229d29aeb4c33434
gpg: DBG: rsa_verify    => Good
gpg: DBG: iobuf-4.0: close '?'
gpg: DBG: rsa_verify data:+01ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff \
gpg: DBG:                  ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff \
gpg: DBG:                  ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff \
gpg: DBG:                  ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff \
gpg: DBG:                  ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff \
gpg: DBG:                  ffffffffffffffffffffff003051300d060960864801650304020305000440d6 \
gpg: DBG:                  524e0ad6ffd585d6d6298eb896af02379d511c3e256194f25b852cc265bd44f9 \
gpg: DBG:                  cf4b52b002bfc2b4decbb947c7e60fe4e79f571e84b1c8a6466f369ea85d97
gpg: DBG: rsa_verify  sig:+b62355d9c3d9cbea7433b4fcaa99ff160a1630912fa03399e123c854aff38082 \
gpg: DBG:                  9079cfa833904f35708b607e11e7642981f81add59d8192f4b72bac3613e85f3 \
gpg: DBG:                  52c78072abe0bb68f5652207e87c21cfd399dddf8ba716d84bdad7b861ee590a \
gpg: DBG:                  72fd56d318ddc051460ce5a815eaa7d8e7a93ed44c7e7104bc24e64e9eb01706 \
gpg: DBG:                  01da3957b2c1ba8ad1a06fe10f5250bbee27a7cf374fc0fdc6a2fd6ee71dd455 \
gpg: DBG:                  82d95eee7924ca75f2b2e41fc8e59c9b8da21967e933815b4def7b718ba86524 \
gpg: DBG:                  ab9a5fd07bc47775ba6e798007b322a2d20e0ad21be94c871bc8801b10c40f7d \
gpg: DBG:                  7629cd4a02a4c20da51b092adb3b32454b64646cadf658a1e0aa91aa5332d851
gpg: DBG: rsa_verify    n:+f2762df99d8760cc71ac599fe32a413d9df217f63dabd48a692dd28b145b8a60 \
gpg: DBG:                  28f8a555bdd6cc4575195acc520028ea7d5e5b7f3609bdfe721a8cbb69a0c76e \
gpg: DBG:                  a80bcbfa55b4293a162d1ac9edd77eec4fb1a6c60164ba137816f51d5ee49089 \
gpg: DBG:                  53aabc985b97c9973ba9b18fd3629711fea0fcfd5b5f57652ab5bad03c9c9d2d \
gpg: DBG:                  7c23738b20aafcaa259de5e086582026f5379183e5ec0513c36efd7eaf96067a \
gpg: DBG:                  097a4c99b25f09229a91f352b5f06d74c89caa602fa9b8b4f757c200b460a030 \
gpg: DBG:                  2c077fc0098cfe2d1e66dc6e0c9ffe631742c49f190811136f55f5bd88b3c093 \
gpg: DBG:                  23b4649380c355373e452566b41ab72077927a59b26124f9c5501131534f0cad
gpg: DBG: rsa_verify    e:+010001
gpg: DBG: rsa_verify  cmp:+01ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff \
gpg: DBG:                  ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff \
gpg: DBG:                  ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff \
gpg: DBG:                  ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff \
gpg: DBG:                  ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff \
gpg: DBG:                  ffffffffffffffffffffff003051300d060960864801650304020305000440d6 \
gpg: DBG:                  524e0ad6ffd585d6d6298eb896af02379d511c3e256194f25b852cc265bd44f9 \
gpg: DBG:                  cf4b52b002bfc2b4decbb947c7e60fe4e79f571e84b1c8a6466f369ea85d97
gpg: DBG: rsa_verify    => Good
gpg: DBG: finish_lookup: checking key FE574FEF (all)(req_usage=0)
gpg: DBG: 	using key FE574FEF
gpg: DBG: [no clock] keydb_release
gpg: DBG: free_packet() type=6
gpg: DBG: free_packet() type=13
gpg: DBG: free_packet() type=2
gpg: DBG: free_packet() type=14
gpg: DBG: free_packet() type=2
gpg: DBG: internal_keydb_search: searched keybox (resource 0 of 1) => Success
gpg: DBG: [no clock] keydb_search leave (found)
gpg: DBG: [no clock] keydb_get_keyblock enter
gpg: DBG: parse_packet(iob=5): type=6 length=269 (parse.keydb.c.1162)
gpg: DBG: parse_packet(iob=5): type=12 length=12 (parse.keydb.c.1162)
gpg: DBG: parse_packet(iob=5): type=13 length=27 (parse.keydb.c.1162)
gpg: DBG: parse_packet(iob=5): type=12 length=12 (parse.keydb.c.1162)
gpg: DBG: parse_packet(iob=5): type=2 length=340 (parse.keydb.c.1162)
gpg: DBG: parse_packet(iob=5): type=12 length=6 (parse.keydb.c.1162)
gpg: DBG: parse_packet(iob=5): type=14 length=269 (parse.keydb.c.1162)
gpg: DBG: parse_packet(iob=5): type=2 length=626 (parse.keydb.c.1162)
gpg: DBG: parse_packet(iob=5): type=12 length=6 (parse.keydb.c.1162)
gpg: DBG: iobuf-5.0: underflow: buffer size: 1589; still buffered: 0 => space for 1589 bytes
gpg: DBG: iobuf-5.0: close '?'
gpg: DBG: [no clock] keydb_get_keyblock leave
gpg: DBG: get_keygrip for public key
gpg: DBG: keygrip= fd2e07bb7639cb3ee0939317a62054365720f1a7
gpg: DBG: get_keygrip for public key
gpg: DBG: keygrip= cf260a50f64101fac78fe567306efb5450ff6737
gpg: DBG: chan_3 -> HAVEKEY FD2E07BB7639CB3EE0939317A62054365720F1A7 CF260A50F64101FAC78FE567306EFB5450FF6737
gpg: DBG: chan_3 <- OK
gpg: DBG: rsa_verify data:+01ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff \
gpg: DBG:                  ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff \
gpg: DBG:                  ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff \
gpg: DBG:                  ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff \
gpg: DBG:                  ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff \
gpg: DBG:                  ffffffffffffffffffffff003051300d060960864801650304020305000440f3 \
gpg: DBG:                  a3a6c07ed471e7cfd4daac7092228e27472c5d70e944c90f3188e18b20d6555d \
gpg: DBG:                  0901cfb895b6a8c671e2c466dc8dc40dd49c6c231685d0229d29aeb4c33434
gpg: DBG: rsa_verify  sig:+96e2bbda8c4d9b70f8acb8ee3e9e94755af73da34ca584c4fd5325b0f334dfe5 \
gpg: DBG:                  8d58684b859e46f8655dfe9ec4c385fa2fb4e1512e37e5a49dc93e44af94f075 \
gpg: DBG:                  75405288bb2dae2daeca5479873038627cf3eaa0368d7a8c144eed17d6cfcb41 \
gpg: DBG:                  2f201e80834f232fd99f3476928d516d14f1498fc697402d18ee01082a2e2337 \
gpg: DBG:                  4169fffc72557ac5177b958f3a73c20fe7fa56bcc109f8e2eba9ea2e09f9f0fb \
gpg: DBG:                  2122ab291dd6386fe4fcd6a403e2953b1d87b71acbfcc3c7c2ff30ca640b20be \
gpg: DBG:                  22f0ec646b0fb97ffc1a963923064d58bc4ddb16e9d96fa72d69f615249c0afc \
gpg: DBG:                  27507276c1b283bf85b228b8f8e5b916008b9223766e30bc1f977aec6fd348da
gpg: DBG: rsa_verify    n:+9b957a4be2da7cd7fe4464a2c44c5cfc2edd845a25b9e726c1ac6a9af6dc9d75 \
gpg: DBG:                  42ec410563fa1259f05c3c1fc1032bacf82a8045cf89768423d64a63fe10255f \
gpg: DBG:                  1e4b99c3946542695fa7ebadb0b7da7e0afca87d752e86448ac0f8793115d661 \
gpg: DBG:                  9d2c86b082d57850d1a9c68b24851302b48f0499d5db1725b5424eaa42a316f7 \
gpg: DBG:                  a88a80dbd6055aabb61b5754091b1d3ff476e0fb40f972b0e44c5bfa5ce4f36b \
gpg: DBG:                  b0b777e3d9ea859da6d15dbd9670624fc8584d1ca21644e21a2a7fbbd92d3f31 \
gpg: DBG:                  31425da08c1fc8a5bee48e47bd308c20389e105ae92f410ab19522e54d44cbee \
gpg: DBG:                  11ffc1fc4758e714c2d5c2b16f6492942a806696c22ba58444b56f9a353fd889
gpg: DBG: rsa_verify    e:+010001
gpg: DBG: rsa_verify  cmp:+01ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff \
gpg: DBG:                  ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff \
gpg: DBG:                  ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff \
gpg: DBG:                  ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff \
gpg: DBG:                  ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff \
gpg: DBG:                  ffffffffffffffffffffff003051300d060960864801650304020305000440f3 \
gpg: DBG:                  a3a6c07ed471e7cfd4daac7092228e27472c5d70e944c90f3188e18b20d6555d \
gpg: DBG:                  0901cfb895b6a8c671e2c466dc8dc40dd49c6c231685d0229d29aeb4c33434
gpg: DBG: rsa_verify    => Good
gpg: DBG: iobuf-6.0: close '?'
gpg: DBG: rsa_verify data:+01ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff \
gpg: DBG:                  ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff \
gpg: DBG:                  ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff \
gpg: DBG:                  ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff \
gpg: DBG:                  ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff \
gpg: DBG:                  ffffffffffffffffffffff003051300d060960864801650304020305000440d6 \
gpg: DBG:                  524e0ad6ffd585d6d6298eb896af02379d511c3e256194f25b852cc265bd44f9 \
gpg: DBG:                  cf4b52b002bfc2b4decbb947c7e60fe4e79f571e84b1c8a6466f369ea85d97
gpg: DBG: rsa_verify  sig:+b62355d9c3d9cbea7433b4fcaa99ff160a1630912fa03399e123c854aff38082 \
gpg: DBG:                  9079cfa833904f35708b607e11e7642981f81add59d8192f4b72bac3613e85f3 \
gpg: DBG:                  52c78072abe0bb68f5652207e87c21cfd399dddf8ba716d84bdad7b861ee590a \
gpg: DBG:                  72fd56d318ddc051460ce5a815eaa7d8e7a93ed44c7e7104bc24e64e9eb01706 \
gpg: DBG:                  01da3957b2c1ba8ad1a06fe10f5250bbee27a7cf374fc0fdc6a2fd6ee71dd455 \
gpg: DBG:                  82d95eee7924ca75f2b2e41fc8e59c9b8da21967e933815b4def7b718ba86524 \
gpg: DBG:                  ab9a5fd07bc47775ba6e798007b322a2d20e0ad21be94c871bc8801b10c40f7d \
gpg: DBG:                  7629cd4a02a4c20da51b092adb3b32454b64646cadf658a1e0aa91aa5332d851
gpg: DBG: rsa_verify    n:+f2762df99d8760cc71ac599fe32a413d9df217f63dabd48a692dd28b145b8a60 \
gpg: DBG:                  28f8a555bdd6cc4575195acc520028ea7d5e5b7f3609bdfe721a8cbb69a0c76e \
gpg: DBG:                  a80bcbfa55b4293a162d1ac9edd77eec4fb1a6c60164ba137816f51d5ee49089 \
gpg: DBG:                  53aabc985b97c9973ba9b18fd3629711fea0fcfd5b5f57652ab5bad03c9c9d2d \
gpg: DBG:                  7c23738b20aafcaa259de5e086582026f5379183e5ec0513c36efd7eaf96067a \
gpg: DBG:                  097a4c99b25f09229a91f352b5f06d74c89caa602fa9b8b4f757c200b460a030 \
gpg: DBG:                  2c077fc0098cfe2d1e66dc6e0c9ffe631742c49f190811136f55f5bd88b3c093 \
gpg: DBG:                  23b4649380c355373e452566b41ab72077927a59b26124f9c5501131534f0cad
gpg: DBG: rsa_verify    e:+010001
gpg: DBG: rsa_verify  cmp:+01ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff \
gpg: DBG:                  ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff \
gpg: DBG:                  ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff \
gpg: DBG:                  ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff \
gpg: DBG:                  ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff \
gpg: DBG:                  ffffffffffffffffffffff003051300d060960864801650304020305000440d6 \
gpg: DBG:                  524e0ad6ffd585d6d6298eb896af02379d511c3e256194f25b852cc265bd44f9 \
gpg: DBG:                  cf4b52b002bfc2b4decbb947c7e60fe4e79f571e84b1c8a6466f369ea85d97
gpg: DBG: rsa_verify    => Good
gpg: DBG: finish_lookup: checking key FE574FEF (all)(req_usage=1)
gpg: DBG: 	checking subkey EAD555ED
gpg: DBG: get_keygrip for public key
gpg: DBG: keygrip= cf260a50f64101fac78fe567306efb5450ff6737
gpg: DBG: chan_3 -> KEYINFO CF260A50F64101FAC78FE567306EFB5450FF6737
gpg: DBG: chan_3 <- S KEYINFO CF260A50F64101FAC78FE567306EFB5450FF6737 D - - 1 P - - -
gpg: DBG: chan_3 <- OK
gpg: DBG: 	subkey might be fine
gpg: DBG: 	using key EAD555ED
gpg: DBG: free_packet() type=6
gpg: DBG: free_packet() type=13
gpg: DBG: free_packet() type=2
gpg: DBG: free_packet() type=14
gpg: DBG: free_packet() type=2
gpg: DBG: [no clock] keydb_release
gpg: DBG: iobuf-7.0: open '[stdin]' desc=file_filter(fd) fd=0
gpg: DBG: iobuf-8.0: open '[stdout]' desc=file_filter(fd) fd=1
gpg: DBG: iobuf-8.0: ioctl 'file_filter(fd)' no_cache=1
gpg: DBG: get_keygrip for public key
gpg: DBG: keygrip= cf260a50f64101fac78fe567306efb5450ff6737
gpg: DBG: chan_3 -> KEYINFO CF260A50F64101FAC78FE567306EFB5450FF6737
gpg: DBG: chan_3 <- S KEYINFO CF260A50F64101FAC78FE567306EFB5450FF6737 D - - 1 P - - -
gpg: DBG: chan_3 <- OK
gpg: DBG: iobuf-7.0: underflow: buffer size: 65536; still buffered: 0 => space for 65536 bytes
gpg: DBG: iobuf-7.0: underflow: A->FILTER (65536 bytes)
gpg: DBG: iobuf-7.0: A->FILTER() returned rc=-1 (EOF), read 0 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256


gpg: DBG: armor-filter: control: 5
gpg: DBG: iobuf-8.1: push 'armor_filter'
gpg: DBG: armor-filter: control: 5
gpg: DBG: iobuf chain: 8.1 'armor_filter' filter_eof=0 start=0 len=0
gpg: DBG: iobuf chain: 8.0 'file_filter(fd)' filter_eof=0 start=0 len=0
gpg: DBG: armor-filter: control: 1
gpg: DBG: get_keygrip for public key
gpg: DBG: keygrip= cf260a50f64101fac78fe567306efb5450ff6737
gpg: DBG: chan_3 -> RESET
gpg: DBG: chan_3 <- OK
gpg: DBG: chan_3 -> SIGKEY CF260A50F64101FAC78FE567306EFB5450FF6737
gpg: DBG: chan_3 <- OK
gpg: DBG: chan_3 -> SETKEYDESC Please+enter+the+passphrase+to+unlock+the+OpenPGP+secret+key:%0A%22John+Doe+<jdoe@example.com>%22%0A2048-bit+RSA+key,+ID+79ADAA39EAD555ED,%0Acreated+2020-02-19+(main+key+ID+95921E1AFE574FEF).%0A
gpg: DBG: chan_3 <- OK
gpg: DBG: chan_3 -> SETHASH 8 39F15C8D8612EE8AF6245978C5E838F295F74476EFF2918A2478B89C89EDBE44
gpg: DBG: chan_3 <- OK
gpg: DBG: [no clock] enter signing
gpg: DBG: chan_3 -> PKSIGN
gpg: DBG: chan_3 <- [ 44 20 28 37 3a 73 69 67 2d 76 61 6c 28 33 3a 72 ...(273 byte(s) skipped) ]
gpg: DBG: chan_3 <- OK
gpg: DBG: [no clock] leave signing
gpg: DBG: build_packet() type=2
gpg: DBG: iobuf-9.0: close '?'
gpg: DBG: free_packet() type=2
gpg: DBG: armor-filter: control: 4
gpg: DBG: armor-filter: control: 5
gpg: DBG: iobuf-8.1: close 'armor_filter'
gpg: DBG: armor-filter: control: 2
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEED1lG2WZm2eKLR9x6ea2qOerVVe0FAl5MytAACgkQea2qOerV
Ve058Qf/fHyhgUGCAq+dUN3GLjkaGLODrsmefsFoaHtF/3YnACx+LT3gMPUGMv4X
Y15pAZCxw6ACHzxeSZoiRyINYyIwbyv9BvEtYFexJAOfzamIeux96IZHeQmuK77L
vQKrcJqU85m1DBC34UyADktHF7bvLE8Mg5krge/IcBvKHbgXMsWU2qR6l3J2dPmS
tBzF2bFJsLi2G4of5yzUFyH9Lyc4hFedU0Pe+jSjRvDD6NodVSlDsHBPmx4unbdZ
C1nLFbj7kxgoABJcUnRfAN/V+g1Q88eeEfBqD4K5dfR22DS8HymdWjcMnPyUX2/a
3V//sMYYsC8clX58/KTVcS5Iy9WXFg==
=YmFw
-----END PGP SIGNATURE-----
gpg: DBG: iobuf-8.0: close 'file_filter(fd)'
gpg: DBG: iobuf-7.0: close '?'
gpg: DBG: [no clock] keydb_release
gpg: DBG: [no clock] stop
gpg: keydb: handles=3 locks=0 parse=3 get=3
gpg:        build=0 update=0 insert=0 delete=0
gpg:        reset=0 found=3 not=1 cache=0 not=0
gpg: kid_not_found_cache: count=0 peak=0 flushes=0
gpg: sig_cache: total=6 cached=3 good=3 bad=0
gpg: objcache: keys=2/2/0 chains=381,1..1 buckets=383/20 attic=254
gpg: objcache: uids=1/1/0 chains=106,1..1 buckets=107/20
gpg: random usage: poolsize=600 mixed=1 polls=0/3 added=18/720
              outmix=0 getlvl1=0/0 getlvl2=0/0
gpg: rndjent stat: collector=0x0000000000000000 calls=0 bytes=0
gpg: secmem usage: 1344/32768 bytes in 2 blocks