Page MenuHome GnuPG
Feed Advanced Search

Dec 9 2020

ikloecker closed T5161: scd: For NetKey cards KEYINFO with keygrip fails as Resolved.

This works now. Thanks.

Dec 9 2020, 12:23 PM · Restricted Project, scd

Dec 7 2020

gniibe changed the status of T5163: Cannot import NIST-P521 key to OpenPGP v3.3 smart card from Open to Testing.

Backported.

Dec 7 2020, 2:16 AM · Restricted Project, gnupg, scd, Bug Report
gniibe added a comment to T5100: OpenPGP app overwrites Yubikey serial number.

We need another patch, because there are two places for gpg --card-edit and gpg-card to check OpenPGPcard's version number if it's >= 2 or not.

Dec 7 2020, 2:01 AM · Restricted Project, gnupg, scd, yubikey, kleopatra

Dec 4 2020

gniibe added a comment to T2291: Smartcard interaction improvement (was: Shadowed private key design (for smartcard)).

if I am running master, it is now possible to have a setup where the same encryption key is shared by and usable from multiple smart cards?

Dec 4 2020, 8:30 AM · Restricted Project, Feature Request, gnupg
lopter added a comment to T2291: Smartcard interaction improvement (was: Shadowed private key design (for smartcard)).

Thank you for all the work! Does it mean that, if I am running master, it is now possible to have a setup where the same encryption key is shared by and usable from multiple smart cards?

Dec 4 2020, 7:55 AM · Restricted Project, Feature Request, gnupg

Dec 3 2020

gniibe triaged T5161: scd: For NetKey cards KEYINFO with keygrip fails as Normal priority.
Dec 3 2020, 8:26 AM · Restricted Project, scd
gniibe claimed T5161: scd: For NetKey cards KEYINFO with keygrip fails.

I think that T5150 was also not fixed completely.

Dec 3 2020, 8:26 AM · Restricted Project, scd
gniibe triaged T5159: make check fails for libgcrypt on Apple Silicon / ARM Mac as Normal priority.
Dec 3 2020, 3:11 AM · Restricted Project, MacOS, libgcrypt, Bug Report
gniibe changed the status of T5159: make check fails for libgcrypt on Apple Silicon / ARM Mac from Open to Testing.
Dec 3 2020, 3:11 AM · Restricted Project, MacOS, libgcrypt, Bug Report
gniibe added a project to T5159: make check fails for libgcrypt on Apple Silicon / ARM Mac: Restricted Project.

So, I'm going to push D513 to both of 1.8 and master (to be 1.9).

Dec 3 2020, 1:07 AM · Restricted Project, MacOS, libgcrypt, Bug Report

Nov 30 2020

ikloecker closed T5144: scd: Fails/crashes on SCD LEARN --keypairinfo for NetKey cards as Resolved.

Works now. Thanks.

Nov 30 2020, 10:05 AM · Restricted Project, gnupg (gpg23), scd

Nov 27 2020

werner added a project to T4614: GPG: Cancel on pinpad hangs decryption process for 20 seconds: backport.
Nov 27 2020, 7:58 AM · backport, Restricted Project, scd, gnupg
gniibe changed the status of T4614: GPG: Cancel on pinpad hangs decryption process for 20 seconds from Open to Testing.
Nov 27 2020, 7:21 AM · backport, Restricted Project, scd, gnupg

Nov 26 2020

werner added a comment to T5100: OpenPGP app overwrites Yubikey serial number.

Sorry, I realized this myself this morning and did couple of fixes. rG7113263a00d8 does this all however I forgot to mention the bug number.

Nov 26 2020, 4:55 PM · Restricted Project, gnupg, scd, yubikey, kleopatra
ikloecker added a comment to T5100: OpenPGP app overwrites Yubikey serial number.

Argh. The following patch replaces the previous patch. It fixes the calculation of the display serial number.

Nov 26 2020, 3:21 PM · Restricted Project, gnupg, scd, yubikey, kleopatra
ikloecker added a comment to T5100: OpenPGP app overwrites Yubikey serial number.

I think the calculation of the OpenPGP s/n is not correct. As you write, "Yubico seems to use the decimalized version of their S/N as the OpenPGP card S/N." This matches my observation for my Yubikey:
s/n printed on Yubikey: 9074582
Yubikey s/n (with our prefix): FF020001008A7796
OpenPGP AID: D2760001240102010006090745820000

Nov 26 2020, 2:45 PM · Restricted Project, gnupg, scd, yubikey, kleopatra
gniibe merged T4817: dirmgr keys.openpgp.org:443 Address family not supported by protocol into T4977: dirmngr not working with linux kernel parameter ipv6.disable=1.
Nov 26 2020, 7:15 AM · Restricted Project, gnupg (gpg22), dirmngr, Bug Report

Nov 25 2020

gniibe changed the status of T5144: scd: Fails/crashes on SCD LEARN --keypairinfo for NetKey cards from Open to Testing.
Nov 25 2020, 2:37 AM · Restricted Project, gnupg (gpg23), scd
gniibe added a comment to T5100: OpenPGP app overwrites Yubikey serial number.

Great. Please apply the patch.

Nov 25 2020, 1:42 AM · Restricted Project, gnupg, scd, yubikey, kleopatra

Nov 24 2020

werner added a comment to T5100: OpenPGP app overwrites Yubikey serial number.

Okay, I now got such a patch:

Nov 24 2020, 6:04 PM · Restricted Project, gnupg, scd, yubikey, kleopatra
werner added a comment to T5100: OpenPGP app overwrites Yubikey serial number.

I found a good enough solution: I changed the code to compute the OpenPGP s/n from the Yubikey s/n right after a Yubikey has been detected. Later, and if OpenPGP enabled on the YK, the S/N is already there but we use the S/N from the 0x4f DO. That is needed because we can't compute the OpenPGP version number ahead and use 0.0 in the S/N.

Nov 24 2020, 4:24 PM · Restricted Project, gnupg, scd, yubikey, kleopatra
turkja added a comment to T5065: scdaemon doesn't detect card removal after boot/resume (Identiv SPR332v2).

Stable now and works as expected. Thank you!

Nov 24 2020, 1:27 AM · Restricted Project, gnupg (gpg22), scd, Bug Report

Nov 23 2020

werner closed T5039: 2.2.22 regression: Nitrokey Pro 2 is no longer recognized automatically, requires --card-status as Resolved.
Nov 23 2020, 7:59 PM · Restricted Project, gnupg (gpg22), Bug Report
werner closed T5065: scdaemon doesn't detect card removal after boot/resume (Identiv SPR332v2) as Resolved.
Nov 23 2020, 7:59 PM · Restricted Project, gnupg (gpg22), scd, Bug Report
werner moved T5039: 2.2.22 regression: Nitrokey Pro 2 is no longer recognized automatically, requires --card-status from Backlog to Ready for release on the gnupg (gpg22) board.
Nov 23 2020, 1:46 PM · Restricted Project, gnupg (gpg22), Bug Report
werner moved T5065: scdaemon doesn't detect card removal after boot/resume (Identiv SPR332v2) from Backlog to Ready for release on the gnupg (gpg22) board.
Nov 23 2020, 1:45 PM · Restricted Project, gnupg (gpg22), scd, Bug Report
werner edited projects for T5114: GnuPG fails to import back generated and exported EdDSA secret key., added: gnupg; removed gnupg (gpg22).

Its done for 2.2 thus changing the tag.

Nov 23 2020, 1:43 PM · gnupg, Restricted Project, gpgagent, Bug Report
ikloecker added a parent task for T5100: OpenPGP app overwrites Yubikey serial number: T5130: Kleopatra: Generating OpenPGP keys on Yubikey (with PIV enabled) fails with "General error".
Nov 23 2020, 11:12 AM · Restricted Project, gnupg, scd, yubikey, kleopatra

Nov 20 2020

gniibe added a comment to T5100: OpenPGP app overwrites Yubikey serial number.

How about distinguishing CARDNO and application specific SERIALNO?

Nov 20 2020, 8:38 AM · Restricted Project, gnupg, scd, yubikey, kleopatra
gniibe added a comment to T5039: 2.2.22 regression: Nitrokey Pro 2 is no longer recognized automatically, requires --card-status.

Yes, it is due to a backport from master: rG1049f06c6d2e: scd:openpgp: Allow keygrip to be used to reference a key
Fixed in rG84020385be19: scd:openpgp: Public keys should be available for check_keyidstr..

Nov 20 2020, 1:42 AM · Restricted Project, gnupg (gpg22), Bug Report

Nov 19 2020

mgorny reopened T5039: 2.2.22 regression: Nitrokey Pro 2 is no longer recognized automatically, requires --card-status as "Open".

The problem seems to have returned in 2.2.24.

Nov 19 2020, 8:29 AM · Restricted Project, gnupg (gpg22), Bug Report
gniibe reopened T5065: scdaemon doesn't detect card removal after boot/resume (Identiv SPR332v2) as "Testing".
Nov 19 2020, 5:58 AM · Restricted Project, gnupg (gpg22), scd, Bug Report
gniibe added a comment to T5065: scdaemon doesn't detect card removal after boot/resume (Identiv SPR332v2).

Thanks again for your report.

Nov 19 2020, 5:57 AM · Restricted Project, gnupg (gpg22), scd, Bug Report
turkja added a comment to T5065: scdaemon doesn't detect card removal after boot/resume (Identiv SPR332v2).

I'm still having problems with 2.2.24. Now the card removal is detected correctly, but the initialization fails.

Nov 19 2020, 3:48 AM · Restricted Project, gnupg (gpg22), scd, Bug Report

Nov 18 2020

gniibe closed T5065: scdaemon doesn't detect card removal after boot/resume (Identiv SPR332v2) as Resolved.
Nov 18 2020, 7:03 AM · Restricted Project, gnupg (gpg22), scd, Bug Report
gniibe closed T5086: GnuPG fails to generate keys on-card in versions 2.2.22 and 2.2.23 as Resolved.
Nov 18 2020, 7:03 AM · Restricted Project, gnupg, Bug Report
gniibe closed T5121: a race condition between intr_cb call back and libusb_free_transfer in do_close_reader, a subtask of T5065: scdaemon doesn't detect card removal after boot/resume (Identiv SPR332v2), as Resolved.
Nov 18 2020, 7:02 AM · Restricted Project, gnupg (gpg22), scd, Bug Report
gniibe closed T5121: a race condition between intr_cb call back and libusb_free_transfer in do_close_reader as Resolved.
Nov 18 2020, 7:02 AM · gnupg (gpg22), Restricted Project, scd

Nov 16 2020

gniibe closed T4712: Keygrip broken in master for cv25519 as Resolved.
Nov 16 2020, 8:08 AM · Restricted Project, Bug Report, libgcrypt
gniibe closed T4104: gpgsm/ksba removes leading zeros from signature byte array as Resolved.
Nov 16 2020, 7:33 AM · Restricted Project, libksba, S/MIME, Bug Report
gniibe closed T4624: libassuan-config and libassuan.pc both put -lws2_32 before -lgpg-error, which fails during static linking as Resolved.
Nov 16 2020, 7:29 AM · Restricted Project, Windows, libassuan, Bug Report
gniibe closed T4994: Windows: assuan_sock_init or WSAStartup by main/_init_common_subsystem as Resolved.
Nov 16 2020, 7:29 AM · Restricted Project, gnupg, Windows
gniibe closed T4641: Libassuan: enable the environment to set compiler and linker flags for helper tools as Resolved.
Nov 16 2020, 7:28 AM · Restricted Project, libassuan, Feature Request
gniibe closed T4678: libassuan.pc missing include dir directive in cflags as Resolved.
Nov 16 2020, 7:27 AM · Restricted Project, libassuan

Nov 13 2020

gniibe closed T5074: Leaking fd as Resolved.
Nov 13 2020, 7:17 AM · Restricted Project, gpgme, Bug Report
gniibe closed T4688: `make distcheck` fails trying to make `rst/gpgme-python-howto.rst` as Resolved.
Nov 13 2020, 7:17 AM · Restricted Project, gpgme, Bug Report

Nov 12 2020

werner added a comment to T5100: OpenPGP app overwrites Yubikey serial number.

BTW, the idea is to fade out support for gpg --card-status and --card-edit. Thus no new features there. New features shall only go into gpg-card.

Nov 12 2020, 9:42 AM · Restricted Project, gnupg, scd, yubikey, kleopatra
ikloecker added a comment to T5100: OpenPGP app overwrites Yubikey serial number.

Fixing --card-status is definitely a good idea. gpg-card shows almost the same information as gpg --card-status except that it shows the correct "Version" and "Serial number". It would probably make sense to unify the code of --card-status and gpg-card's list command.

Nov 12 2020, 9:39 AM · Restricted Project, gnupg, scd, yubikey, kleopatra
gniibe added a comment to T5100: OpenPGP app overwrites Yubikey serial number.

Let me describe current situation.

Nov 12 2020, 12:56 AM · Restricted Project, gnupg, scd, yubikey, kleopatra

Nov 11 2020

ikloecker added a comment to T5100: OpenPGP app overwrites Yubikey serial number.

I just noticed that gpg --card-status now prints a bogus OpenPGP version number for my Yubikey. And it prints an empty serial number.

# gpg --card-status
Reader ...........: 1050:0407:X:0
Application ID ...: FF020001008A7796
Application type .: OpenPGP
Version ..........: 77.96
Manufacturer .....: Yubico
Serial number ....:
Nov 11 2020, 10:07 AM · Restricted Project, gnupg, scd, yubikey, kleopatra

Nov 10 2020

gniibe changed the status of T5086: GnuPG fails to generate keys on-card in versions 2.2.22 and 2.2.23 from Open to Testing.

For 2.2, rG61aea64b3c17: scd: Fix the use case of verify_chv2 by CHECKPIN. fixed this problem.

Nov 10 2020, 6:15 AM · Restricted Project, gnupg, Bug Report
gniibe changed the status of T4998: scdaemon: PC/SC "No such device" without reader-port from Open to Testing.
Nov 10 2020, 4:00 AM · Restricted Project, scd, Bug Report
gniibe changed the status of T4998: scdaemon: PC/SC "No such device" without reader-port, a subtask of T3300: scd: Support multiple readers by PC/SC driver, from Open to Testing.
Nov 10 2020, 4:00 AM · Restricted Project, gnupg (gpg23), scd

Nov 9 2020

werner removed a project from T5121: a race condition between intr_cb call back and libusb_free_transfer in do_close_reader: backport.
Nov 9 2020, 1:40 PM · gnupg (gpg22), Restricted Project, scd
werner added a project to T5121: a race condition between intr_cb call back and libusb_free_transfer in do_close_reader: backport.
Nov 9 2020, 12:31 PM · gnupg (gpg22), Restricted Project, scd

Nov 5 2020

gniibe added a comment to T5121: a race condition between intr_cb call back and libusb_free_transfer in do_close_reader.

For SPR532, we need following.

Nov 5 2020, 8:47 AM · gnupg (gpg22), Restricted Project, scd
gniibe edited projects for T5121: a race condition between intr_cb call back and libusb_free_transfer in do_close_reader, added: Restricted Project, gnupg (gpg22); removed gnupg.
Nov 5 2020, 8:24 AM · gnupg (gpg22), Restricted Project, scd
gniibe changed the status of T5121: a race condition between intr_cb call back and libusb_free_transfer in do_close_reader, a subtask of T5065: scdaemon doesn't detect card removal after boot/resume (Identiv SPR332v2), from Open to Testing.
Nov 5 2020, 8:24 AM · Restricted Project, gnupg (gpg22), scd, Bug Report
gniibe added a subtask for T5065: scdaemon doesn't detect card removal after boot/resume (Identiv SPR332v2): T5121: a race condition between intr_cb call back and libusb_free_transfer in do_close_reader.
Nov 5 2020, 8:22 AM · Restricted Project, gnupg (gpg22), scd, Bug Report

Nov 4 2020

gniibe changed the status of T5116: GnuPG master shows an error when importing Ed25519 keys generated from Open to Testing.
Nov 4 2020, 3:14 AM · Restricted Project, gnupg, Bug Report
gniibe changed the status of T5116: GnuPG master shows an error when importing Ed25519 keys generated, a subtask of T5114: GnuPG fails to import back generated and exported EdDSA secret key., from Open to Testing.
Nov 4 2020, 3:14 AM · gnupg, Restricted Project, gpgagent, Bug Report

Nov 2 2020

werner added a comment to T5100: OpenPGP app overwrites Yubikey serial number.

We should find a way to figure out the OpenPGP S/N even if OpenPGP is disabled. I'll ask Yubico.

Nov 2 2020, 9:42 AM · Restricted Project, gnupg, scd, yubikey, kleopatra

Oct 30 2020

gniibe changed the status of T5114: GnuPG fails to import back generated and exported EdDSA secret key. from Open to Testing.

Fixed in 2.2 branch.
Also, I found another issue of libgcrypt master, which is fixed in rC361a0588489c: ecc: Handle removed zeros at the beginning for Ed25519..
Further, I found different issue, and created T5116: GnuPG master shows an error when importing Ed25519 keys generated.

Oct 30 2020, 2:23 AM · gnupg, Restricted Project, gpgagent, Bug Report

Oct 28 2020

ikloecker added a comment to T5100: OpenPGP app overwrites Yubikey serial number.

I have tested this with Kleopatra. The good news is that SCD GETATTR $DISPSERIALNO now works for the piv app even if the openpgp app is enabled.

Oct 28 2020, 10:24 AM · Restricted Project, gnupg, scd, yubikey, kleopatra
gniibe triaged T5100: OpenPGP app overwrites Yubikey serial number as Normal priority.
Oct 28 2020, 2:45 AM · Restricted Project, gnupg, scd, yubikey, kleopatra

Oct 27 2020

gniibe changed the status of T5100: OpenPGP app overwrites Yubikey serial number from Open to Testing.
Oct 27 2020, 6:43 AM · Restricted Project, gnupg, scd, yubikey, kleopatra

Oct 1 2020

gniibe changed the status of T5074: Leaking fd from Open to Testing.
Oct 1 2020, 4:21 AM · Restricted Project, gpgme, Bug Report

Sep 30 2020

gniibe added a comment to T5065: scdaemon doesn't detect card removal after boot/resume (Identiv SPR332v2).

I observed that the card reader's going erroneous state when I removed a card during its communication.
In this state, it never reports the card removal by the interrupt transfer.
I applied rG920f258eb601: scd: Internal CCID driver: More fix for SPR532. for this problem.

Sep 30 2020, 4:01 AM · Restricted Project, gnupg (gpg22), scd, Bug Report

Sep 28 2020

gniibe added a project to T5065: scdaemon doesn't detect card removal after boot/resume (Identiv SPR332v2): Restricted Project.

The patch rG684a52dffa8b: scd: Change handling of SPR532 card reader. makes me happier. It is more stable.

Sep 28 2020, 6:37 AM · Restricted Project, gnupg (gpg22), scd, Bug Report

Sep 11 2020

gniibe added a project to T5041: gpg-agent/scdaemon/gnuk unable to sign ssh certificate (Couldn't certify key … via agent: agent refused operation): Restricted Project.
Sep 11 2020, 2:20 AM · Restricted Project, ssh, Bug Report

Sep 3 2020

werner closed T5039: 2.2.22 regression: Nitrokey Pro 2 is no longer recognized automatically, requires --card-status as Resolved.
Sep 3 2020, 6:48 PM · Restricted Project, gnupg (gpg22), Bug Report
gniibe added a comment to T5039: 2.2.22 regression: Nitrokey Pro 2 is no longer recognized automatically, requires --card-status.

It's a different issue: Gnuk doesn't support length of 3072, only 2048 and 4096.

Sep 3 2020, 1:54 AM · Restricted Project, gnupg (gpg22), Bug Report

Sep 2 2020

aheinecke added a comment to T5039: 2.2.22 regression: Nitrokey Pro 2 is no longer recognized automatically, requires --card-status.

Hi,
I have tested a GnuPG Token with Gpg4win-3.1.12 and generating a key with Kleopatra did not work
With 2.2.23-beta4 that contains: 0a9665187a7cbf68933b7162fb5f974177684a50 I have repeated the test on Linux and first the key-attr change that Kleopatra sends fails:

Sep 2 2020, 1:24 PM · Restricted Project, gnupg (gpg22), Bug Report

Sep 1 2020

werner added a comment to T5039: 2.2.22 regression: Nitrokey Pro 2 is no longer recognized automatically, requires --card-status.

I should add a test with Gnuk to my Windows quick test after a release.

Sep 1 2020, 8:50 AM · Restricted Project, gnupg (gpg22), Bug Report
gniibe added a project to T5039: 2.2.22 regression: Nitrokey Pro 2 is no longer recognized automatically, requires --card-status: Restricted Project.

Thanks a lot. Applied and pushed.

Sep 1 2020, 8:27 AM · Restricted Project, gnupg (gpg22), Bug Report

Aug 28 2020

gniibe closed T3207: FASTWIPE_T undefined as Resolved.
Aug 28 2020, 3:01 AM · Restricted Project, ntbtls, Bug Report
gniibe closed T4934: Returning automatic variable buffer from a function as Resolved.
Aug 28 2020, 2:58 AM · dirmngr, Restricted Project, Bug Report

Aug 27 2020

werner closed T4843: REGEXP support for all systems as Resolved.
Aug 27 2020, 3:04 PM · Restricted Project, gnupg
werner closed T4977: dirmngr not working with linux kernel parameter ipv6.disable=1 as Resolved.
Aug 27 2020, 3:03 PM · Restricted Project, gnupg (gpg22), dirmngr, Bug Report
werner closed T4597: Support GCM modes for ntbtls. as Resolved.

0.2.0 was just released with support for GCM. Tested against openpgpkeys.pm.me

Aug 27 2020, 9:34 AM · Restricted Project, Feature Request, ntbtls

Aug 25 2020

gniibe closed T5010: gpgrt-config: Bug for handling Requires as Resolved.
Aug 25 2020, 2:24 AM · gpgrt

Aug 24 2020

werner closed T4973: Cross build problem with v1.38 as Resolved.
Aug 24 2020, 8:54 PM · Restricted Project, gpgrt

Aug 19 2020

gniibe closed T4915: Cannot compile on macOS Mojave (utf8.c) as Resolved.
Aug 19 2020, 3:42 AM · Restricted Project, gnupg (gpg23), Bug Report
gniibe closed T4774: Cross compilation friendly libgpg-error as Resolved.

For GNU/Linux, it's done.

Aug 19 2020, 3:39 AM · Restricted Project, gpgrt

Aug 10 2020

gniibe changed the status of T5010: gpgrt-config: Bug for handling Requires from Open to Testing.
Aug 10 2020, 6:31 AM · gpgrt

Aug 9 2020

werner closed T4713: Bug in get_best_pubkey_byname as Resolved.

We won't do that for 2.2.

Aug 9 2020, 5:25 PM · Restricted Project, gnupg (gpg23)

Aug 7 2020

gniibe changed the status of T5000: trustdb,keybox: Adding support of v5key from Open to Testing.
Aug 7 2020, 6:11 AM · Restricted Project, gnupg (gpg23)

Aug 5 2020

gniibe merged T3763: ECDH - encryption with obfuscated size of the symmetric key into T4908: ECDH with AES-128 decryption failure when fully padded.
Aug 5 2020, 7:23 AM · Restricted Project, gnupg (gpg22), Bug Report

Jul 31 2020

gniibe added a comment to T4246: GnuPG master does not allow decryption with bad usage flags (regression).

I realized that it fails with GPG_ERR_INV_ID (with gpg master) when it's on smartcard.
It can't be decrypted if it's on smartcard, that's true, but more relevant error would be good for this case.

Jul 31 2020, 8:13 AM · Restricted Project, Bug Report, gnupg (gpg23)

Jul 30 2020

werner closed T4872: Support opaque MPI with gcry_mpi_print as Resolved.

Patch backported to 2.2

Jul 30 2020, 10:28 AM · Restricted Project, Feature Request, libgcrypt
gniibe changed the status of T4994: Windows: assuan_sock_init or WSAStartup by main/_init_common_subsystem from Open to Testing.

Pushed modified patch to master and 2.2.

Jul 30 2020, 8:27 AM · Restricted Project, gnupg, Windows

Jul 29 2020

aheinecke closed T4623: pkg-config for mingw needs to emit -lws2_32 as Resolved.

I just saw that there is related discussion and a patch for this in T4994 so I will close again here.

Jul 29 2020, 1:17 PM · Restricted Project, Windows, gpgrt, Bug Report
aheinecke reopened T4623: pkg-config for mingw needs to emit -lws2_32 as "Open".

This change broke for me the compilation of GPGME which I fixed with: 52f930c1ed7eee6336a41598c90ef3605b7ed02b I found that fix there OK because GPGME explicitly uses ws2_32.

Jul 29 2020, 1:08 PM · Restricted Project, Windows, gpgrt, Bug Report

Jul 17 2020

werner added a comment to T4998: scdaemon: PC/SC "No such device" without reader-port.

That could also be the reason for some strange behaviour I have sometimes with my bunch or readers. I have not had the time to look into this and thus opted for a gpgconf --kill scdaemon which fixes things quickly but of course this is a bad workaround.

Jul 17 2020, 3:02 PM · Restricted Project, scd, Bug Report
gniibe added a comment to T4998: scdaemon: PC/SC "No such device" without reader-port.

I am happy that your use case will be supported, and the bug was fixed before the release.
It's me who say "thank you" to you!

Jul 17 2020, 4:28 AM · Restricted Project, scd, Bug Report
kevinoid added a comment to T4998: scdaemon: PC/SC "No such device" without reader-port.

46d185f60 doesn't segfault and does prints the YubiKey card information, even without reader-port configured. Perfect! That will fix the issue for me. Looking forward to seeing it released. Thanks again @gniibe!

Jul 17 2020, 4:20 AM · Restricted Project, scd, Bug Report
gniibe added a comment to T4998: scdaemon: PC/SC "No such device" without reader-port.

Thanks a lot.
I pushed a fix as rG46d185f60397: scd: PC/SC: Don't release the context when it's in use..

Jul 17 2020, 4:16 AM · Restricted Project, scd, Bug Report
kevinoid added a comment to T4998: scdaemon: PC/SC "No such device" without reader-port.

Thanks again @gniibe! In case it's still useful, I bisected to 1080e91ef. The output with --debug-all --debug-level guru is:

Jul 17 2020, 4:14 AM · Restricted Project, scd, Bug Report
gniibe added a comment to T4998: scdaemon: PC/SC "No such device" without reader-port.

Ah, I identified an issue.
While it's in a loop of trying readers (in select_application in scd/app.c), it should not deallocate resources to access readers, even if reference count == 0.
I'll fix.

Jul 17 2020, 3:56 AM · Restricted Project, scd, Bug Report
gniibe added a comment to T4998: scdaemon: PC/SC "No such device" without reader-port.

Thanks for your testing.

Jul 17 2020, 3:52 AM · Restricted Project, scd, Bug Report