Page MenuHome GnuPG
Feed Advanced Search

Jun 18 2021

Sanmilie added a comment to T5484: SCDaemon Not reselect applet and reauthenticate when the card send Security Not Sastisfied.

Ok, I test this, this seem can be corrected 90% of all possible interference with another application on multi-applet smartcard in shared readers context. I left you the feel back when have tested… thank for the prompt response.

Jun 18 2021, 6:05 PM · yubikey, Bug Report, scd
gniibe added a comment to T5484: SCDaemon Not reselect applet and reauthenticate when the card send Security Not Sastisfied.

For the problem of external application switch, please test this:

diff --git a/scd/app-common.h b/scd/app-common.h
index dffe1200d..d6e6f4c0a 100644
--- a/scd/app-common.h
+++ b/scd/app-common.h
@@ -194,6 +194,8 @@ struct app_ctx_s {
                       void *pincb_arg);
     gpg_error_t (*with_keygrip) (app_t app, ctrl_t ctrl, int action,
                                  const char *keygrip_str, int capability);
+    gpg_error_t (*check_aid) (app_t app, ctrl_t ctrl,
+                              const unsigned char *aid, size_t aidlen);
   } fnc;
 };
Jun 18 2021, 4:58 AM · yubikey, Bug Report, scd
gniibe added a comment to T5484: SCDaemon Not reselect applet and reauthenticate when the card send Security Not Sastisfied.

Here is the reference to GID specification:
https://docs.microsoft.com/en-us/previous-versions/windows/hardware/design/dn642100(v=vs.85)?redirectedfrom=MSDN

Jun 18 2021, 3:56 AM · yubikey, Bug Report, scd
gniibe added a project to T5484: SCDaemon Not reselect applet and reauthenticate when the card send Security Not Sastisfied: yubikey.

Let me add the tag "yubikey".
I think that it could be solved in different level, if I were the device manufacturer; And it would give users the best solution.

Jun 18 2021, 3:16 AM · yubikey, Bug Report, scd

Jun 17 2021

gniibe added a comment to T5484: SCDaemon Not reselect applet and reauthenticate when the card send Security Not Sastisfied.

If something more user friendly is required, it could be possible for higher layer (SCDaemon's command handling) to check verification status beforehand, and do error recovery there.

Jun 17 2021, 9:53 AM · yubikey, Bug Report, scd
gniibe added a comment to T5484: SCDaemon Not reselect applet and reauthenticate when the card send Security Not Sastisfied.

I don't think we should do automatic error recovery from 6982 to retry decryption/signing, inside CMD_PSO (0x2A) operation.

Jun 17 2021, 9:48 AM · yubikey, Bug Report, scd
gniibe lowered the priority of T5484: SCDaemon Not reselect applet and reauthenticate when the card send Security Not Sastisfied from High to Normal.
Jun 17 2021, 9:44 AM · yubikey, Bug Report, scd
Sanmilie added a comment to T5484: SCDaemon Not reselect applet and reauthenticate when the card send Security Not Sastisfied.

I have tried the case 1 with log activated
Windows switches applet for signing Adobe Acrobat doc.
This is the log from agent - Say Bad NIP but he never tries to use the nip SCDaemon have tried to decrypt only.
gpg-agent[8496]: DBG: agent_put_cache '1//'.-1 (mode 6) requested ttl=-1
gpg-agent[8496]: DBG: chan_0x000001c0 <- S SERIALNO D2760001240103045343000000010000
gpg-agent[8496]: DBG: chan_0x000001c0 <- OK
gpg-agent[8496]: DBG: chan_0x000001c0 -> KEYINFO BBD342CA5B0F978DA17F2AD9F5A1E95FF50C129E
gpg-agent[8496]: DBG: chan_0x000001c0 <- S KEYINFO BBD342CA5B0F978DA17F2AD9F5A1E95FF50C129E T D2760001240103045343000000010000 OPENPGP.2
gpg-agent[8496]: DBG: chan_0x000001c0 <- OK
gpg-agent[8496]: DBG: chan_0x000001c0 -> SETDATA 4F0E7600C2C497A06288DF49B7EA1BC723E04FAC360D6D6C4F4DC1B48DEC13A53556229CDC4562E349C9B5E71365561A941761D1D2C709A16488903AA60925A7B103DEF6B6AE46814370AE815BFBE4A30EC443904C1D63E21ABF5B0B39B8484F3CB4235AEDA04F78F14308AE3DEF52309FB745BC65E3075D19C01C789C8F58931D957D7C26BE7DCEF6B880B362251246FA4E1A2830A13AD94635CC4CE14B0F253481F38C39BA5CC748FDF03F9D936B9C8DE6BF7E49AFF4BE3A84A4E4547FADD4C9F1634416641FF804F3503CC924098F1C4CAA908FD272737312A4D5BE59C644EE1633AA248DC996EF67BA5E087DB6312BD2014BFAFD62FD08C7D45E3AFD431C
gpg-agent[8496]: DBG: chan_0x000001c0 <- OK
gpg-agent[8496]: DBG: chan_0x000001c0 -> PKDECRYPT BBD342CA5B0F978DA17F2AD9F5A1E95FF50C129E
gpg-agent[8496]: DBG: chan_0x000001c0 <- ERR 100663383 Mauvais code personnel <SCD>
gpg-agent[8496]: smartcard decryption failed: Mauvais code personnel
gpg-agent[8496]: command 'PKDECRYPT' failed: Mauvais code personnel <SCD>
gpg-agent[8496]: DBG: chan_0x00000270 -> ERR 100663383 Mauvais code personnel <SCD>

Jun 17 2021, 8:53 AM · yubikey, Bug Report, scd

Jun 16 2021

Sanmilie added a comment to T5484: SCDaemon Not reselect applet and reauthenticate when the card send Security Not Sastisfied.

When a card sends 0x6982 in general rule is not really an error is a warning to say, your security environment was not correctly initialized.
This is true with almost applet. (PIV – GIDS – OPenPGP)
The instruction 0x2A to perform security operation return 0x6982 when pin is not authenticated or key is badly selected. This not decrement pin counter.

Jun 16 2021, 6:07 PM · yubikey, Bug Report, scd
gniibe added a comment to T5484: SCDaemon Not reselect applet and reauthenticate when the card send Security Not Sastisfied.

Possible way would be: (for newer card/token of OpenPGPcard 3.4 or later) before crypto operations, we can ask card/token if authentication state is consistent to the one of scdaemon and if not reselect AID.

Jun 16 2021, 10:30 AM · yubikey, Bug Report, scd
gniibe added a comment to T5484: SCDaemon Not reselect applet and reauthenticate when the card send Security Not Sastisfied.

I'd like to support your use case. Could you please tell me about: How can we distinguish normal failure of 6982 and unusual failure of other application interference which results 6982?

Jun 16 2021, 8:50 AM · yubikey, Bug Report, scd

Jun 11 2021

Sanmilie triaged T5484: SCDaemon Not reselect applet and reauthenticate when the card send Security Not Sastisfied as High priority.
Jun 11 2021, 8:02 AM · yubikey, Bug Report, scd

May 28 2021

gniibe merged task T5451: disable-ccid breaks gpg-agent caching on MacOS (gpg 2.3.1) into T5436: gpg-agent 2.3.1: PIN caching not working for decrypt operations.
May 28 2021, 3:23 AM · scd, gnupg (gpg23), MacOS, Bug Report

May 26 2021

werner added projects to T5451: disable-ccid breaks gpg-agent caching on MacOS (gpg 2.3.1): MacOS, gnupg (gpg23), scd.
May 26 2021, 5:48 PM · scd, gnupg (gpg23), MacOS, Bug Report

May 19 2021

werner added a comment to T5428: PC/SC detecting removal of card.

Funny thing is that I can't replicate it anymore with the current version (2.2.18-beta77). I tested it on two machines and things just worked. One machine had just one reader and the other had several virtual readers in addition to the scr3500. After adding --reader-port for the latter it worked as well. I don't think I had a Windows update in the meantime.

May 19 2021, 11:46 AM · Info Needed, Windows, scd, Bug Report

May 13 2021

gniibe added a comment to T5437: PC/SC change: monitoring card status changes (possibly also for new reader).

I am testing with rGccfb5e0a7dc6: scd: Use SCardStatus for pcsc_get_status. on GNU/Linux.

May 13 2021, 6:19 AM · scd
gniibe renamed T5437: PC/SC change: monitoring card status changes (possibly also for new reader) from PC/SC change monitoring card status changes (possibly also for new reader) to PC/SC change: monitoring card status changes (possibly also for new reader).
May 13 2021, 6:15 AM · scd
gniibe triaged T5437: PC/SC change: monitoring card status changes (possibly also for new reader) as Wishlist priority.
May 13 2021, 6:15 AM · scd

May 11 2021

gniibe added a comment to T5428: PC/SC detecting removal of card.

On Windows, smartcard is also used by logon/logout and certificates handling. Those may be related.

May 11 2021, 3:47 AM · Info Needed, Windows, scd, Bug Report
gniibe added a comment to D531: Keep holding READER_LOCK_TABLE and make clear distinction among close/releasing_PCSC_context/nullify_rdrname.

Applied in rG32baa9acfb15: scd: Serialize READER_TABLE access for PC/SC..

May 11 2021, 3:42 AM · gnupg (gpg23), scd
gniibe added a comment to D531: Keep holding READER_LOCK_TABLE and make clear distinction among close/releasing_PCSC_context/nullify_rdrname.

Please note that we don't use lock in apdu_dev_list_start/finish any more.
Use of lock is narrowed, only within apdu_open_reader function.

May 11 2021, 3:41 AM · gnupg (gpg23), scd

May 10 2021

werner assigned T5428: PC/SC detecting removal of card to gniibe.

(I disabled the account of this boor)

May 10 2021, 6:43 PM · Info Needed, Windows, scd, Bug Report
gillcovid19 placed T5428: PC/SC detecting removal of card up for grabs.
May 10 2021, 12:42 PM · Info Needed, Windows, scd, Bug Report
werner triaged T5428: PC/SC detecting removal of card as High priority.
May 10 2021, 8:51 AM · Info Needed, Windows, scd, Bug Report
werner added a comment to T5428: PC/SC detecting removal of card.

I don't think that it is --pcsc-shared related; Andre reported that he noticed such a behaviour before we introduced this.

May 10 2021, 8:49 AM · Info Needed, Windows, scd, Bug Report
werner added a comment to D531: Keep holding READER_LOCK_TABLE and make clear distinction among close/releasing_PCSC_context/nullify_rdrname.

We should add a comment at the caller side, that this takes a lock in apdu.c.

May 10 2021, 8:45 AM · gnupg (gpg23), scd
gniibe updated the diff for D531: Keep holding READER_LOCK_TABLE and make clear distinction among close/releasing_PCSC_context/nullify_rdrname.

Make the lock holding narrower, and it allows no exposing reader_table_lock.

May 10 2021, 7:52 AM · gnupg (gpg23), scd
gniibe added inline comments to D531: Keep holding READER_LOCK_TABLE and make clear distinction among close/releasing_PCSC_context/nullify_rdrname.
May 10 2021, 7:51 AM · gnupg (gpg23), scd
gniibe updated the diff for D531: Keep holding READER_LOCK_TABLE and make clear distinction among close/releasing_PCSC_context/nullify_rdrname.

Exposing reader_table_lock would be better.
I found a dead-lock condition when apdu_close_reader is called during apdu_dev_list_start/finish.

May 10 2021, 7:06 AM · gnupg (gpg23), scd
gniibe claimed T5428: PC/SC detecting removal of card.

I wonder if PCSC_SHARE_SHARED is related or not.

May 10 2021, 6:32 AM · Info Needed, Windows, scd, Bug Report
gniibe created T5428: PC/SC detecting removal of card.
May 10 2021, 5:40 AM · Info Needed, Windows, scd, Bug Report
gniibe updated the diff for D531: Keep holding READER_LOCK_TABLE and make clear distinction among close/releasing_PCSC_context/nullify_rdrname.

And if the coding style of hiding mutex_lock/mutex_unlock inside different functions matters, we can expose the mutex to its user.

May 10 2021, 4:32 AM · gnupg (gpg23), scd
gniibe added a comment to D531: Keep holding READER_LOCK_TABLE and make clear distinction among close/releasing_PCSC_context/nullify_rdrname.

Last commit will be:

May 10 2021, 4:29 AM · gnupg (gpg23), scd
gniibe added a comment to D531: Keep holding READER_LOCK_TABLE and make clear distinction among close/releasing_PCSC_context/nullify_rdrname.

The second commit is replacing a use case of close_pcsc_reader by clearing pcsc.rdrname and calling release_pcsc_context.
This makes the use of close_pcsc_reader to its original purpose only (== closing PC/SC reader as a method of close_reader).

May 10 2021, 3:48 AM · gnupg (gpg23), scd
gniibe added a comment to D531: Keep holding READER_LOCK_TABLE and make clear distinction among close/releasing_PCSC_context/nullify_rdrname.

OK. As I pointed out a commit having multiple things may make analysis difficult, I should have been careful.
So, let me fix the problem by multiple commits.

May 10 2021, 3:28 AM · gnupg (gpg23), scd

May 7 2021

dain added a comment to T5425: scdaemon.conf reader-port setting broken in 2.3.

Ah, great. Thanks!

May 7 2021, 1:16 PM · gnupg, Restricted Project, scd, Bug Report
werner requested changes to D531: Keep holding READER_LOCK_TABLE and make clear distinction among close/releasing_PCSC_context/nullify_rdrname.

Keeping the lock over the call to the function does not look very robust to me. This is why I removed it. And since then PC/SC worked on Windows for me. Modulo this:
All these changes don't tackle the real problem that windows gets struck in a removed-card state.

May 7 2021, 8:36 AM · gnupg (gpg23), scd
colemickens added a comment to T5416: [windows] Smartcards are less reliable under 2.3.1 (requires restarting gpg-agent.exe).

Technical commentary on smartcard operation and/or Windows is going to be over my head, so I can't help (just in case you're looking for anything from me). But always happy to drive-test another build. (I've still had no issues, personally, with the build above.) I'll assume you don't need me unless you link another binary build to test or tag me. Thanks again, all.

May 7 2021, 7:22 AM · yubikey, scd, gnupg (gpg23), Bug Report
gniibe added a comment to T5416: [windows] Smartcards are less reliable under 2.3.1 (requires restarting gpg-agent.exe).

The problem is accesses to reader_table by
(1) scanning reader(s) to open new one
(2) closing reader

May 7 2021, 6:59 AM · yubikey, scd, gnupg (gpg23), Bug Report
gniibe added a comment to T5416: [windows] Smartcards are less reliable under 2.3.1 (requires restarting gpg-agent.exe).

I'm testing D531: Keep holding READER_LOCK_TABLE and make clear distinction among close/releasing_PCSC_context/nullify_rdrname, but I'm not sure about the impact on Windows.

May 7 2021, 6:54 AM · yubikey, scd, gnupg (gpg23), Bug Report
gniibe requested review of D531: Keep holding READER_LOCK_TABLE and make clear distinction among close/releasing_PCSC_context/nullify_rdrname.
May 7 2021, 6:51 AM · gnupg (gpg23), scd
gniibe reopened T5416: [windows] Smartcards are less reliable under 2.3.1 (requires restarting gpg-agent.exe) as "Open".

The commit rGbb8e3996e44f: scd: Fix problem with reader list becoming empty. removed READER_TABLE_LOCK holding between apdu_dev_list_start and apdu_dev_list_finish, that opens possible stale resource access for CCID driver: reader_table[slot].ccid.handle

May 7 2021, 6:34 AM · yubikey, scd, gnupg (gpg23), Bug Report
gniibe added projects to T5425: scdaemon.conf reader-port setting broken in 2.3: scd, Restricted Project, gnupg.
May 7 2021, 6:05 AM · gnupg, Restricted Project, scd, Bug Report

May 6 2021

brianacton added a comment to T5409: scdaemon: 'Operation not supported by device' error under macOS after upgrading to 2.3.1.

I am also a MacOS Big Sur user who recently upgraded to 2.3.1 and had problems after upgrading. In my use case, I use the yubikey as the authentication for pass password manager which uses gpg under the hood.

May 6 2021, 10:15 PM · MacOS, Support, scd

May 5 2021

werner closed T5416: [windows] Smartcards are less reliable under 2.3.1 (requires restarting gpg-agent.exe) as Resolved.

Thanks for testing. I hope to get 2.3.2 out in two weeks.

May 5 2021, 8:13 AM · yubikey, scd, gnupg (gpg23), Bug Report

May 4 2021

colemickens added a comment to T5416: [windows] Smartcards are less reliable under 2.3.1 (requires restarting gpg-agent.exe).

After upgrade:

May 4 2021, 8:08 PM · yubikey, scd, gnupg (gpg23), Bug Report

May 3 2021

werner added projects to T5416: [windows] Smartcards are less reliable under 2.3.1 (requires restarting gpg-agent.exe): gnupg (gpg23), scd, yubikey.

Meanwhile we did some more tests on Windows and so you many want to try our betas at

May 3 2021, 2:00 PM · yubikey, scd, gnupg (gpg23), Bug Report
colemickens added a comment to T5409: scdaemon: 'Operation not supported by device' error under macOS after upgrading to 2.3.1.

I'm referring to this: https://www.gnupg.org/howtos/card-howto/en/ch02s03.html

May 3 2021, 6:56 AM · MacOS, Support, scd
gniibe added a project to T5413: Unblock PIN by Reset Code: Restricted Project.
May 3 2021, 6:33 AM · Restricted Project, gnupg, scd
gniibe added a comment to T5409: scdaemon: 'Operation not supported by device' error under macOS after upgrading to 2.3.1.

@colemickens We don't maintain any ccid udev rules in GnuPG. What do you refer?

May 3 2021, 6:29 AM · MacOS, Support, scd

Apr 28 2021

colemickens added a comment to T5409: scdaemon: 'Operation not supported by device' error under macOS after upgrading to 2.3.1.

@gniibe can you provide any commentary on why the gnupg ccid udev rule is so much smaller than the one debian maintains? Is the debian one considered authoritative these days?

Apr 28 2021, 11:23 PM · MacOS, Support, scd
colemickens added a comment to T5409: scdaemon: 'Operation not supported by device' error under macOS after upgrading to 2.3.1.

Thanks @gniibe, that's very helpful advice and pointers. Very appreciated, cheers.

Apr 28 2021, 5:03 AM · MacOS, Support, scd
gniibe added a comment to T5409: scdaemon: 'Operation not supported by device' error under macOS after upgrading to 2.3.1.

Perhaps, if a distro haven't offered setting of USB, it would be better to configure GnuPG build with --disable-ccid-driver and only support scdaemon with PC/SC. GPG for Windows does so.

Apr 28 2021, 4:05 AM · MacOS, Support, scd
gniibe added a comment to T5409: scdaemon: 'Operation not supported by device' error under macOS after upgrading to 2.3.1.
  1. It's a breaking change for system with both of PC/SC and CCID. T4673 due to T3300
    • If you configure with no libusb, users don't need 'disable-ccid' option.
  2. I don't know how "wide".
  3. In Debian, it is maintained here: https://salsa.debian.org/debian/gnupg2/-/blob/debian/main/debian/scdaemon.udev
  4. Yes.
Apr 28 2021, 3:59 AM · MacOS, Support, scd

Apr 27 2021

gniibe triaged T5413: Unblock PIN by Reset Code as Normal priority.
Apr 27 2021, 1:45 PM · Restricted Project, gnupg, scd
gniibe created T5413: Unblock PIN by Reset Code.
Apr 27 2021, 1:44 PM · Restricted Project, gnupg, scd

Apr 26 2021

colemickens added a comment to T5409: scdaemon: 'Operation not supported by device' error under macOS after upgrading to 2.3.1.

Hi, as a contributor to NixOS I'd also like some guidance. I'm testing the 2.3 upgrade ahead of 2.4, and it "breaks" Yubikey UX that I know many of us use. This might be because we appear to not yet install gnupg's CCID udev rules installed. A few questions:

Apr 26 2021, 11:12 PM · MacOS, Support, scd

Apr 25 2021

cristianrivera added a comment to T5409: scdaemon: 'Operation not supported by device' error under macOS after upgrading to 2.3.1.

Thank you for the suggestion of disable-ccid that seems to have solved the problem.

Apr 25 2021, 9:08 PM · MacOS, Support, scd

Apr 23 2021

FrederickZh added a comment to T5409: scdaemon: 'Operation not supported by device' error under macOS after upgrading to 2.3.1.

I can confirm disable-ccid works, thank you!

Apr 23 2021, 9:25 AM · MacOS, Support, scd
werner closed T5409: scdaemon: 'Operation not supported by device' error under macOS after upgrading to 2.3.1 as Resolved.

Please have a look at the log:

Apr 23 2021, 9:08 AM · MacOS, Support, scd
FrederickZh added a project to T5409: scdaemon: 'Operation not supported by device' error under macOS after upgrading to 2.3.1: scd.
Apr 23 2021, 6:41 AM · MacOS, Support, scd

Apr 21 2021

gniibe closed T3891: kdf-setup does not set admin and user PIN codes, a subtask of T3823: gpg frontend support to setup KDF DO, as Resolved.
Apr 21 2021, 2:45 AM · scd
gniibe closed T3891: kdf-setup does not set admin and user PIN codes, a subtask of T3152: KDF DO support in OpenPGP card, as Resolved.
Apr 21 2021, 2:45 AM · scd
gniibe closed T3891: kdf-setup does not set admin and user PIN codes as Resolved.
Apr 21 2021, 2:45 AM · Restricted Project, scd, Bug Report
gniibe added a project to T5297: SCM SPR332 smartcard reader support broken: gnupg (gpg22).

Fixed in GnuPG 2.3.1, so, add the tag for GnuPG 2.2.

Apr 21 2021, 2:44 AM · gnupg (gpg22), scd, Bug Report

Apr 19 2021

werner closed T4673: 2.3-only: Don't fallback to PC/SC on failure by the internal CCID driver, only use PC/SC when --disable-ccid is specified as Resolved.
Apr 19 2021, 5:56 PM · gnupg (gpg23), Restricted Project, scd, Feature Request

Apr 16 2021

gniibe closed T5134: GPG - will not sign nor verify the pin when using a contactless reader as Resolved.
Apr 16 2021, 4:25 AM · Not A Bug, scd, Bug Report

Apr 15 2021

werner added a project to T4673: 2.3-only: Don't fallback to PC/SC on failure by the internal CCID driver, only use PC/SC when --disable-ccid is specified: gnupg (gpg23).
Apr 15 2021, 8:39 AM · gnupg (gpg23), Restricted Project, scd, Feature Request
gniibe raised the priority of T4673: 2.3-only: Don't fallback to PC/SC on failure by the internal CCID driver, only use PC/SC when --disable-ccid is specified from Normal to High.

Making this task up to HIGH priority, so that people can easily find this change in 2.3.0.

Apr 15 2021, 7:20 AM · gnupg (gpg23), Restricted Project, scd, Feature Request
gniibe closed T3152: KDF DO support in OpenPGP card as Resolved.
Apr 15 2021, 7:10 AM · scd
gniibe closed T3300: scd: Support multiple readers by PC/SC driver as Resolved.
Apr 15 2021, 7:10 AM · Restricted Project, gnupg (gpg23), scd
gniibe closed T5100: OpenPGP app overwrites Yubikey serial number as Resolved.
Apr 15 2021, 4:42 AM · Restricted Project, gnupg, scd, yubikey, kleopatra
gniibe closed T4158: UIF (User Interaction Flag) DO support as Resolved.
Apr 15 2021, 4:09 AM · Restricted Project, Feature Request, scd, gnupg

Apr 13 2021

werner added a comment to T4884: PKCS #15 support in gpgsm.

The PKCS#15 support has meanwhile received a major update. Thus we need to test with the other cards again. If there is something special for to do for a certain task, a new subtask should be created.

Apr 13 2021, 6:43 PM · Feature Request, gnupg, scd, S/MIME
werner added a subtask for T4884: PKCS #15 support in gpgsm: Unknown Object (Maniphest Task).
Apr 13 2021, 6:41 PM · Feature Request, gnupg, scd, S/MIME
werner removed a parent task for T4884: PKCS #15 support in gpgsm: Unknown Object (Maniphest Task).
Apr 13 2021, 6:41 PM · Feature Request, gnupg, scd, S/MIME
werner added a parent task for T4884: PKCS #15 support in gpgsm: Unknown Object (Maniphest Task).
Apr 13 2021, 6:40 PM · Feature Request, gnupg, scd, S/MIME

Apr 8 2021

gniibe claimed T5297: SCM SPR332 smartcard reader support broken.

Thank you.
Applied both to STABLE-BRANCH-2-2 and master (changing new function name).

Apr 8 2021, 6:50 AM · gnupg (gpg22), scd, Bug Report

Mar 26 2021

aheinecke closed T4864: New scdaemon command to watch device removal as Resolved.

Looks good to me, it no longer returns immediately with the error when there are no readers and the command itself seems to work. Thanks.

Mar 26 2021, 10:38 AM · Restricted Project, Feature Request, scd, Bug Report
gniibe added a comment to T4864: New scdaemon command to watch device removal.

Ah, I see that when there is no card reader, it returns "Service is not running" with PC/SC.
Let's fix that.

Mar 26 2021, 2:34 AM · Restricted Project, Feature Request, scd, Bug Report

Mar 25 2021

aheinecke reopened T4864: New scdaemon command to watch device removal as "Open".

When testing under Windows "scd devinfo --watch" returns immediately with ERR 100663614 Service is not running <SCD>
Probably also if you would use PC/SC on Linux but I have not tested this.

Mar 25 2021, 11:07 AM · Restricted Project, Feature Request, scd, Bug Report

Mar 5 2021

obfusk added a comment to T5297: SCM SPR332 smartcard reader support broken.

So far -- unlike the previous patch -- this seem to help (but since the issues are infrequent I can't be entirely sure yet).

Mar 5 2021, 9:23 AM · gnupg (gpg22), scd, Bug Report

Feb 13 2021

werner triaged T5297: SCM SPR332 smartcard reader support broken as Normal priority.
Feb 13 2021, 5:59 PM · gnupg (gpg22), scd, Bug Report

Feb 10 2021

werner closed T2964: dirmngr and gpg-agent should work automatically even when GNUPGHOME is larger than sun_path as Resolved.

The now used /var/run thingy solves all these problems nicely. In fact we may eventually remove the use fallback of using sockets in the GNUPGHOMEDIR.

Feb 10 2021, 11:29 AM · Stalled, scd, gpgagent, Bug Report, gnupg, dirmngr

Jan 28 2021

gniibe closed T4301: Handling multiple subkeys on two SmartCards as Resolved.
Jan 28 2021, 3:19 AM · Restricted Project, gnupg, scd, Bug Report
gniibe closed T4616: Smartcard: Card reset required - It should be automatic as Resolved.
Jan 28 2021, 3:13 AM · gnupg, scd
gniibe closed T4864: New scdaemon command to watch device removal as Resolved.
Jan 28 2021, 3:08 AM · Restricted Project, Feature Request, scd, Bug Report
gniibe closed T4998: scdaemon: PC/SC "No such device" without reader-port, a subtask of T3300: scd: Support multiple readers by PC/SC driver, as Resolved.
Jan 28 2021, 3:07 AM · Restricted Project, gnupg (gpg23), scd
gniibe closed T4998: scdaemon: PC/SC "No such device" without reader-port as Resolved.
Jan 28 2021, 3:07 AM · Restricted Project, scd, Bug Report
gniibe closed T4614: GPG: Cancel on pinpad hangs decryption process for 20 seconds as Resolved.
Jan 28 2021, 3:00 AM · backport, Restricted Project, scd, gnupg

Jan 26 2021

werner added a comment to T3891: kdf-setup does not set admin and user PIN codes.

T4702 is our release info task for 2.3.0

Jan 26 2021, 4:42 PM · Restricted Project, scd, Bug Report
szszszsz-nitrokey added a comment to T3891: kdf-setup does not set admin and user PIN codes.

@gniibe Hi! Can you estimate, when this feature will be released?
I have not found this patch in the latest GnuPG release tags (in the Git repository) either by the name or the commit hash.

Jan 26 2021, 2:08 PM · Restricted Project, scd, Bug Report

Jan 11 2021

werner triaged T5219: scd: Generating CSR for SigG NetKey card key fails as Low priority.

Lowered priority because in reality it is not possible to get a certificate for an arbitrary SigG key on the card. Only accredited CAs may issue certs and they want to keep full control over the key generation.

Jan 11 2021, 8:35 PM · gnupg24, eIDAS, gnupg (gpg23), scd

Jan 8 2021

werner closed T5167: GnuPG 2.25 still have problems related to Yubikey NEO. as Resolved.
Jan 8 2021, 9:58 AM · gnupg (gpg22), yubikey, ssh, scd, Bug Report

Jan 7 2021

ikloecker added a comment to T5219: scd: Generating CSR for SigG NetKey card key fails.

do_sign() calls find_fid_by_keyref() which does a switch_application(). So, I think the SigG application should already be active. But, yes, please have a look at it.

Jan 7 2021, 4:11 PM · gnupg24, eIDAS, gnupg (gpg23), scd
werner added a comment to T5219: scd: Generating CSR for SigG NetKey card key fails.

We need to switch to the SigG application. Shall I look at it?

Jan 7 2021, 12:04 PM · gnupg24, eIDAS, gnupg (gpg23), scd
ikloecker added a parent task for T5219: scd: Generating CSR for SigG NetKey card key fails: T5129: Kleopatra: Generate S/MIME CSR for NetKey card key.
Jan 7 2021, 10:35 AM · gnupg24, eIDAS, gnupg (gpg23), scd
ikloecker created T5219: scd: Generating CSR for SigG NetKey card key fails.
Jan 7 2021, 10:35 AM · gnupg24, eIDAS, gnupg (gpg23), scd

Jan 6 2021

ikloecker closed T5184: scd: Generating CSR for NetKey card key fails as Resolved.
Jan 6 2021, 12:22 PM · scd

Jan 5 2021

werner reassigned T5184: scd: Generating CSR for NetKey card key fails from werner to ikloecker.

It seems you have a pretty good understanding and also test cases at hand. May I ask you to apply the suggested pacthes to master?

Jan 5 2021, 11:08 AM · scd