Page MenuHome GnuPG
Feed Advanced Search

Mon, Nov 18

gniibe updated the task description for T7396: Windows: hard lockup of scdaemon.
Mon, Nov 18, 10:11 AM · Windows, scd
gniibe triaged T7400: Netkey 3.0 card slow detection as Normal priority.
Mon, Nov 18, 6:44 AM · Bug Report, scd
gniibe changed the status of T7402: No hard lockup when SCardConnect never returns, a subtask of T7396: Windows: hard lockup of scdaemon, from Open to Testing.
Mon, Nov 18, 6:30 AM · Windows, scd
gniibe changed the status of T7402: No hard lockup when SCardConnect never returns from Open to Testing.

In select_application function, we can minimize the holding W-lock.

Mon, Nov 18, 6:30 AM · Windows, scd
gniibe added a comment to T7401: PC/SC: Cancel SCardConnect with timeout.

This may requires major changes for scdaemon.

Mon, Nov 18, 5:35 AM · Windows, scd
gniibe lowered the priority of T7401: PC/SC: Cancel SCardConnect with timeout from High to Wishlist.
Mon, Nov 18, 5:35 AM · Windows, scd
gniibe triaged T7402: No hard lockup when SCardConnect never returns as High priority.
Mon, Nov 18, 5:33 AM · Windows, scd
gniibe added a comment to T7401: PC/SC: Cancel SCardConnect with timeout.

For the cancelling operation, each card reader access should have an independent resource manager context.
Currently, a single pcsc.contex is shared by all reader accesses.

Mon, Nov 18, 5:24 AM · Windows, scd
gniibe triaged T7401: PC/SC: Cancel SCardConnect with timeout as High priority.
Mon, Nov 18, 5:21 AM · Windows, scd
gniibe added a comment to T7396: Windows: hard lockup of scdaemon.

Hard lockup should be avoided. In particular, following conditions should meet:

  • gpgconf --kill scdaemon can kill scdaemon
  • KEYINFO requests can be answered for other connections of scdaemon
Mon, Nov 18, 3:49 AM · Windows, scd
gniibe updated subscribers of T7396: Windows: hard lockup of scdaemon.

As of 2024-11-18, my hypothesis is:

  • there are some sort of race conditions between PC/SC + card reader (or its driver) + smartcard + scdaemon on Windows, at least at initial use after boot
  • because of this, SCardConnect of PC/SC call wrongly fails (somehow confirmed by @ebo's experiments + @gniibe's speculation), or wrongly never returns (@gniibe's guess, side info: its slowness is observed in T7400).
Mon, Nov 18, 3:40 AM · Windows, scd
gniibe added a parent task for T7400: Netkey 3.0 card slow detection: T7396: Windows: hard lockup of scdaemon.
Mon, Nov 18, 3:10 AM · Bug Report, scd
gniibe added a subtask for T7396: Windows: hard lockup of scdaemon: T7400: Netkey 3.0 card slow detection.
Mon, Nov 18, 3:10 AM · Windows, scd
gniibe lowered the priority of T7323: scdaemon hangs up (when output from scdaemon is not consumed by gpg-agent) from High to Normal.

@ebo Thank you for your testing.

Mon, Nov 18, 3:09 AM · Windows, Bug Report, scd
gniibe added projects to T7400: Netkey 3.0 card slow detection: scd, Bug Report.
Mon, Nov 18, 2:49 AM · Bug Report, scd

Sat, Nov 16

werner added a comment to T7323: scdaemon hangs up (when output from scdaemon is not consumed by gpg-agent).

@ikloecker indeed we try only for 5 seconds:

Sat, Nov 16, 2:59 PM · Windows, Bug Report, scd

Fri, Nov 15

ebo added a comment to T7323: scdaemon hangs up (when output from scdaemon is not consumed by gpg-agent).

I think that the card reader is not connected and there is no Scardsvr at this time.
And the card reader connection to USB port results invoking Scardsvr. Then, "SCD SERIALNO --all" gets success.

Fri, Nov 15, 4:07 PM · Windows, Bug Report, scd
ikloecker added a comment to T7323: scdaemon hangs up (when output from scdaemon is not consumed by gpg-agent).

For T6567 I changed the way that Kleopatra runs "gpgconf --launch gpg-agent". This change is not yet in Eva's test build. It seems my change is not good because running "gpgconf --launch gpg-agent" timed out after 5 seconds in 3 of 3 tests starting Kleopatra after a reboot of the VM. To check if "gpgconf --launch gpg-agent" really takes that long I measured the time in PowerShell after another reboot of the VM. The result is shocking.

Fri, Nov 15, 2:41 PM · Windows, Bug Report, scd
gniibe added a project to T7323: scdaemon hangs up (when output from scdaemon is not consumed by gpg-agent): Windows.

Please note that a card insertion to a card reader and a card reader connection to PC are different things.
It may cause different results.

Fri, Nov 15, 8:40 AM · Windows, Bug Report, scd
gniibe added a comment to T7323: scdaemon hangs up (when output from scdaemon is not consumed by gpg-agent).

ebo: Thank you for your testing.

Fri, Nov 15, 6:36 AM · Windows, Bug Report, scd
gniibe added a comment to T7323: scdaemon hangs up (when output from scdaemon is not consumed by gpg-agent).

I found an issue in libassuan, which might be related possibly, it is described in T7399.
When the response is not consumed like the case in T7399, if repeatedly, it may fill up the buffer eventually.

Fri, Nov 15, 5:20 AM · Windows, Bug Report, scd

Thu, Nov 14

ebo added a comment to T7323: scdaemon hangs up (when output from scdaemon is not consumed by gpg-agent).

I believe this is a case of non-consumption of client, I had two cards connected, one Yubikey and one Netkey3.0 card.
Setup: I rebooted windows and started Kleopatra. Nothing else.

Thu, Nov 14, 3:01 PM · Windows, Bug Report, scd
gniibe added projects to T7396: Windows: hard lockup of scdaemon: scd, Windows.
Thu, Nov 14, 7:45 AM · Windows, scd
gniibe claimed T7044: Deadlock on Windows in sdaemon.

I put "scd" tag and let me claim this ticket.

Thu, Nov 14, 7:31 AM · scd, Bug Report, Windows, gnupg24

Wed, Nov 13

werner added a comment to T7323: scdaemon hangs up (when output from scdaemon is not consumed by gpg-agent).

FWIW, we should eventually get rid of the pipe + socket style connection model. It is just to complex with no real benefit.

Wed, Nov 13, 8:35 AM · Windows, Bug Report, scd
gniibe added a comment to T7323: scdaemon hangs up (when output from scdaemon is not consumed by gpg-agent).

After fixing two bugs, I changed the title to express the scope of this ticket.

Wed, Nov 13, 7:50 AM · Windows, Bug Report, scd
gniibe renamed T7323: scdaemon hangs up (when output from scdaemon is not consumed by gpg-agent) from scdaemon hangs up (when output from scdaemon is not consumed gpg-agent) to scdaemon hangs up (when output from scdaemon is not consumed by gpg-agent).
Wed, Nov 13, 5:31 AM · Windows, Bug Report, scd
gniibe renamed T7323: scdaemon hangs up (when output from scdaemon is not consumed by gpg-agent) from scdaemon hangs up (when output from scdaemon is not consumed any more) to scdaemon hangs up (when output from scdaemon is not consumed gpg-agent).
Wed, Nov 13, 5:31 AM · Windows, Bug Report, scd
gniibe renamed T7323: scdaemon hangs up (when output from scdaemon is not consumed by gpg-agent) from scdaemon hangs up to scdaemon hangs up (when output from scdaemon is not consumed any more).
Wed, Nov 13, 3:49 AM · Windows, Bug Report, scd

Wed, Nov 6

gniibe added a comment to T7323: scdaemon hangs up (when output from scdaemon is not consumed by gpg-agent).

I found a problem of possible duplicate registration of another APP, due to no serialization for CARD access.

Wed, Nov 6, 3:38 AM · Windows, Bug Report, scd
gniibe added a comment to T7323: scdaemon hangs up (when output from scdaemon is not consumed by gpg-agent).

The resource leak was fixed in: rG40707c8bff49: agent: Fix resource leak for PRIMARY_CTX.

Wed, Nov 6, 3:25 AM · Windows, Bug Report, scd

Tue, Nov 5

yescallop added a comment to T5942: scdaemon is blocking system shutdown.

This seems to have been resolved in 2.4.6 by T7151 or T7160. I don't really remember the details, but at least I don't see anything blocking system shutdown now.

Tue, Nov 5, 5:45 AM · Support, scd, gpgagent

Tue, Oct 29

werner moved T7151: graceful shutdown: DEVINFO should be a gpg-agent command: also watching input close from Backlog to QA on the gnupg24 board.
Tue, Oct 29, 1:39 PM · gpgagent, scd, gnupg24, Bug Report
werner edited projects for T7041: Yubikey (PGP + PIV) --pcsc-shared: PIN requires every time, added: gnupg26; removed gnupg24.

You should use gpg-agent's integrated ssh-agent. It is anyway much more convenient. I'll move this task to gnupg26, though.

Tue, Oct 29, 1:16 PM · gnupg26, yubikey, scd, Bug Report
werner edited projects for T7099: Disable the import of certain card objects, added: gnupg26; removed gnupg24.
Tue, Oct 29, 1:13 PM · gnupg26, scd, Restricted Project, Feature Request

Oct 21 2024

gniibe added a comment to T7323: scdaemon hangs up (when output from scdaemon is not consumed by gpg-agent).

I found fd resource leak in gpg-agent.

  • gpg-connect-agent "scd killscd" /bye seems not release a file descriptor somewhere
Oct 21 2024, 7:35 AM · Windows, Bug Report, scd

Oct 10 2024

werner triaged T7323: scdaemon hangs up (when output from scdaemon is not consumed by gpg-agent) as High priority.
Oct 10 2024, 9:45 AM · Windows, Bug Report, scd

Oct 9 2024

werner added projects to T7323: scdaemon hangs up (when output from scdaemon is not consumed by gpg-agent): scd, Bug Report.

But the DEVINFO --watch is required to trigger this hang? Kleopatra does not use this but we see simlar hangs from time to time in the current version.

Oct 9 2024, 6:18 PM · Windows, Bug Report, scd

Oct 4 2024

werner closed T6843: after enable kdf-setup impossible change user/admin pin as Resolved.
Oct 4 2024, 11:45 AM · gnupg22 (gnupg-2.2.43), scd, yubikey
werner moved T6843: after enable kdf-setup impossible change user/admin pin from QA to gnupg-2.2.43 on the gnupg22 board.
Oct 4 2024, 11:45 AM · gnupg22 (gnupg-2.2.43), scd, yubikey
werner changed the status of T6843: after enable kdf-setup impossible change user/admin pin from Resolved to Duplicate.
Oct 4 2024, 11:45 AM · gnupg22 (gnupg-2.2.43), scd, yubikey
werner closed T6843: after enable kdf-setup impossible change user/admin pin as Resolved.

Porting to 2.2 was straightforward - we won't give it an extra QA run.

Oct 4 2024, 11:45 AM · gnupg22 (gnupg-2.2.43), scd, yubikey

Oct 1 2024

gniibe changed the status of T7309: gpg should not proceed with the key import from the smartcard if no valid SCD READKEY information is received from Open to Testing.

Fixed in master: rGe7891225788a: gpg: Robust error handling for SCD READKEY.

Oct 1 2024, 3:58 AM · Info Needed, scd, gpgagent, Bug Report

Sep 30 2024

werner triaged T7309: gpg should not proceed with the key import from the smartcard if no valid SCD READKEY information is received as Normal priority.

Some would say it is a bug if keys are not shown - even if the algo is not known ;-)

Sep 30 2024, 4:06 PM · Info Needed, scd, gpgagent, Bug Report
saper renamed T7309: gpg should not proceed with the key import from the smartcard if no valid SCD READKEY information is received from gpg should notice if scdaemon crashes to gpg should not proceed with the key import from the smartcard if no valid SCD READKEY information is received.
Sep 30 2024, 11:54 AM · Info Needed, scd, gpgagent, Bug Report
saper added a comment to T7309: gpg should not proceed with the key import from the smartcard if no valid SCD READKEY information is received.

scdaemon in this case was a broken experiment of mine (trying to see if I can get SoftHSM to work as the OpenPGP card). So this was not a normal, released scdaemon code.

Sep 30 2024, 10:46 AM · Info Needed, scd, gpgagent, Bug Report
gniibe claimed T7309: gpg should not proceed with the key import from the smartcard if no valid SCD READKEY information is received.
Sep 30 2024, 3:49 AM · Info Needed, scd, gpgagent, Bug Report

Sep 28 2024

werner added a comment to T7309: gpg should not proceed with the key import from the smartcard if no valid SCD READKEY information is received.

Please send an excerpt from the scdaemon debug output to evaluate why you get somewhat strange looking data. Is this an experimental card? 0xa5 is a common test pattern.

Sep 28 2024, 7:38 PM · Info Needed, scd, gpgagent, Bug Report
saper created T7309: gpg should not proceed with the key import from the smartcard if no valid SCD READKEY information is received.
Sep 28 2024, 3:10 AM · Info Needed, scd, gpgagent, Bug Report

Sep 27 2024

gouttegd added a comment to T7291: scdaemon randomly hangs when trying to access a token.

With no scd-event script, it might improve the situation

Sep 27 2024, 1:21 PM · scd

Sep 25 2024

werner edited projects for T5085: Filter APDUs in log output, added: gnupg; removed gnupg24, gnupg22.
Sep 25 2024, 4:23 PM · gnupg, Feature Request, scd
werner moved T7121: gnupg 2.2.43: scdaemon fails with KDF from Backlog to gnupg-2.2.44 on the gnupg22 board.
Sep 25 2024, 4:19 PM · gnupg22 (gnupg-2.2.44), yubikey, scd, Bug Report

Sep 20 2024

gniibe added a comment to T7291: scdaemon randomly hangs when trying to access a token.

The change of spawn functions (basically, it was factored out to libgpg-error) results more possibilities to have blocked scdaemon, since the implementation in libgpg-error introduced context switch points when it spawns a child process.

Sep 20 2024, 4:02 AM · scd
gniibe added a comment to T7151: graceful shutdown: DEVINFO should be a gpg-agent command: also watching input close.

Found another thinko; When there is no clients with DEVINFO --watch, the pipe to be notified is not consumed at all (no read). It eventually results blocked by write(2), when the pipe is filled.

Sep 20 2024, 3:51 AM · gpgagent, scd, gnupg24, Bug Report

Sep 19 2024

gouttegd added a comment to T7291: scdaemon randomly hangs when trying to access a token.

I don’t think I have any other client that would invoke SCD DEVINFO --watch.

Sep 19 2024, 10:44 AM · scd
gniibe added a comment to T7291: scdaemon randomly hangs when trying to access a token.

Do you have scd-event script in your GNUPGHOME?

Sep 19 2024, 9:13 AM · scd
werner added a comment to T7151: graceful shutdown: DEVINFO should be a gpg-agent command: also watching input close.

I see. the systemd race of having two gpg-agent processes. The second gpg-agent should eventually go away but than it is already too late.

Sep 19 2024, 8:56 AM · gpgagent, scd, gnupg24, Bug Report
gniibe added a comment to T7151: graceful shutdown: DEVINFO should be a gpg-agent command: also watching input close.

I mean: two gpg-agent requests simultaneously running DEVINFO --watch.
Single scdaemon, two threads handling DEVINFO --watch simultaneously, by pselect + read.
Two threads waken up, but it was only one thread which can read(2), another was blocked (before the fix).

Sep 19 2024, 1:43 AM · gpgagent, scd, gnupg24, Bug Report

Sep 18 2024

werner added a comment to T7151: graceful shutdown: DEVINFO should be a gpg-agent command: also watching input close.

You mean it is possible that the initialization function is called by several threads - or that two scdaemon's are running before they realize that one of them is in the way?

Sep 18 2024, 6:30 PM · gpgagent, scd, gnupg24, Bug Report
gniibe lowered the priority of T7291: scdaemon randomly hangs when trying to access a token from Unbreak Now! to High.

For POSIX, I found an issue of T7151.
If you are using multiple clients which invoke SCD DEVINFO --watch, the problem should be fixed.
If it's not the case, let us locate a bug (or two).

Sep 18 2024, 6:55 AM · scd
gniibe added a comment to T7151: graceful shutdown: DEVINFO should be a gpg-agent command: also watching input close.

Fixed in rGfc30f7059650: scd: Fix DEVINFO to allow multiple clients.

Sep 18 2024, 6:52 AM · gpgagent, scd, gnupg24, Bug Report
gniibe added a comment to T7151: graceful shutdown: DEVINFO should be a gpg-agent command: also watching input close.

I realized that I put a bug on POSIX; When multiple clients do DEVINFO --watch, it is possible for scdaemon to hang (waiting pselect and read, read by one, read by another is blocked).

Sep 18 2024, 4:57 AM · gpgagent, scd, gnupg24, Bug Report

Sep 16 2024

gniibe claimed T7291: scdaemon randomly hangs when trying to access a token.
Sep 16 2024, 8:30 AM · scd

Sep 15 2024

werner triaged T7291: scdaemon randomly hangs when trying to access a token as Unbreak Now! priority.

Actually we have similar problems with the 2.4 branch - in particular on Windows. We can quite easy reproduce this when using Kleopatra. Thus the working hypothesis is a locking problem because Kleopatra uses several threads and the order of actions recently changed.

Sep 15 2024, 10:22 AM · scd

Sep 14 2024

gouttegd created T7291: scdaemon randomly hangs when trying to access a token.
Sep 14 2024, 1:17 PM · scd

Sep 3 2024

gniibe closed T7121: gnupg 2.2.43: scdaemon fails with KDF as Resolved.
Sep 3 2024, 3:35 AM · gnupg22 (gnupg-2.2.44), yubikey, scd, Bug Report

Aug 28 2024

werner added a project to T6690: Allow scdaemon to run as a system service: AppImage.

So we need a way to launch scdaemon via userv and make sure that the scdaemon user gives proper permissions to its socket file. gpg-agent also nees to check for a proper version of scdaemon and gpgme needs to be aware of this as well (if it want to directly connect to scdaemon).

Aug 28 2024, 4:41 PM · AppImage, Feature Request, scd, gnupg26

Jul 5 2024

gniibe claimed T7058: KDF-DO is not properly implemented.
Jul 5 2024, 2:40 AM · scd, gnupg, Bug Report

Jul 1 2024

gniibe changed the status of T7151: graceful shutdown: DEVINFO should be a gpg-agent command: also watching input close from Open to Testing.
Jul 1 2024, 4:25 AM · gpgagent, scd, gnupg24, Bug Report
gniibe changed the status of T7160: scd: pipe server shutdown, a subtask of T7151: graceful shutdown: DEVINFO should be a gpg-agent command: also watching input close, from Open to Testing.
Jul 1 2024, 4:25 AM · gpgagent, scd, gnupg24, Bug Report
gniibe changed the status of T7160: scd: pipe server shutdown from Open to Testing.

Fixed in rG01fa318be0f8: scd: Fix how scdaemon pipe server finishes.

Jul 1 2024, 4:25 AM · scd, gpgagent, Bug Report

Jun 27 2024

gniibe added a comment to T7151: graceful shutdown: DEVINFO should be a gpg-agent command: also watching input close.

Asking a change of gpgme would need more time... So, I decided to change gpg-agent side.
gpg-agent part was done in: rGb3f1f2cd192b: agent: Handle SCD DEVINFO --watch command in a special way.

Jun 27 2024, 8:38 AM · gpgagent, scd, gnupg24, Bug Report

Jun 25 2024

gniibe added a comment to T7151: graceful shutdown: DEVINFO should be a gpg-agent command: also watching input close.

scdaemon part was done in: rG36d8cffc6cd2: scd: Finish DEVINFO --watch command on input close.

Jun 25 2024, 10:56 AM · gpgagent, scd, gnupg24, Bug Report

Jun 24 2024

werner added a comment to T7151: graceful shutdown: DEVINFO should be a gpg-agent command: also watching input close.

Maybe we can support this directly in gpgme's assuan API.

Jun 24 2024, 9:05 AM · gpgagent, scd, gnupg24, Bug Report
gniibe added a comment to T7151: graceful shutdown: DEVINFO should be a gpg-agent command: also watching input close.

Did some experiment and I concluded (for now) that new command for gpg-agent would not be needed.
Instead, it might be better doing following in GPGME.

Jun 24 2024, 4:24 AM · gpgagent, scd, gnupg24, Bug Report

Jun 21 2024

werner raised the priority of T7121: gnupg 2.2.43: scdaemon fails with KDF from Normal to High.
Jun 21 2024, 1:21 PM · gnupg22 (gnupg-2.2.44), yubikey, scd, Bug Report

Jun 17 2024

gniibe added projects to T7151: graceful shutdown: DEVINFO should be a gpg-agent command: also watching input close: scd, gpgagent.
Jun 17 2024, 4:49 AM · gpgagent, scd, gnupg24, Bug Report
gniibe triaged T7160: scd: pipe server shutdown as Normal priority.
Jun 17 2024, 4:48 AM · scd, gpgagent, Bug Report

May 31 2024

whites11 added a comment to T7041: Yubikey (PGP + PIV) --pcsc-shared: PIN requires every time.

Thanks for your answer, @werner

May 31 2024, 2:33 PM · gnupg26, yubikey, scd, Bug Report
werner added a comment to T7041: Yubikey (PGP + PIV) --pcsc-shared: PIN requires every time.

Do not use the pcscd but the integrated CCID driver. This is actually the default form Unix. Or are you on Windows?

May 31 2024, 12:36 PM · gnupg26, yubikey, scd, Bug Report
whites11 added a comment to T7041: Yubikey (PGP + PIV) --pcsc-shared: PIN requires every time.

Hello all. I think I am affected by this problem (I get asked for the yubikey PIV pin every time I make a git commit).
Is there a known workaround?

May 31 2024, 10:45 AM · gnupg26, yubikey, scd, Bug Report

May 17 2024

gniibe updated the task description for T7121: gnupg 2.2.43: scdaemon fails with KDF.
May 17 2024, 7:02 AM · gnupg22 (gnupg-2.2.44), yubikey, scd, Bug Report

May 16 2024

gniibe claimed T7121: gnupg 2.2.43: scdaemon fails with KDF.

Pushed the fix: rGbb57c808b2ad: scd:openpgp: Fix PIN pin2hash_if_kdf.

May 16 2024, 3:32 AM · gnupg22 (gnupg-2.2.44), yubikey, scd, Bug Report
gniibe created T7121: gnupg 2.2.43: scdaemon fails with KDF.
May 16 2024, 3:28 AM · gnupg22 (gnupg-2.2.44), yubikey, scd, Bug Report

Apr 23 2024

werner triaged T7099: Disable the import of certain card objects as Normal priority.
Apr 23 2024, 2:54 PM · gnupg26, scd, Restricted Project, Feature Request

Apr 22 2024

gniibe changed the status of T7058: KDF-DO is not properly implemented from Open to Testing.

Applied to 2.4 branch.

Apr 22 2024, 8:07 AM · scd, gnupg, Bug Report

Apr 15 2024

gniibe added a comment to T7058: KDF-DO is not properly implemented.

@mwalle Thank you for your testing.
Applied to master.
After testing, I'll also apply to 2.4 branch.

Apr 15 2024, 4:14 AM · scd, gnupg, Bug Report

Apr 12 2024

mwalle added a comment to T7058: KDF-DO is not properly implemented.

FWIW, I've tested this patch and it works fine with both KDF as a constructed tag and as a primitive tag.

Apr 12 2024, 2:30 PM · scd, gnupg, Bug Report
gniibe added a comment to T7058: KDF-DO is not properly implemented.

I'm considering applying the following patch. With this change, scdaemon will works well with a card implementation which consider F9 (wrongly) as primitive data object, as well as correct card implementation.

diff --git a/scd/app-openpgp.c b/scd/app-openpgp.c
index 26ac91ea2..09223ce33 100644
--- a/scd/app-openpgp.c
+++ b/scd/app-openpgp.c
@@ -410,6 +410,10 @@ get_cached_data (app_t app, int tag,
   size_t len;
   struct cache_s *c;
   int exmode;
+  int do_constructed = 0;
+
+  if ((tag < 0x0100 && (tag & 0x20)) || (tag >= 0x0100 && (tag & 0x2000)))
+    do_constructed = 1;
Apr 12 2024, 9:01 AM · scd, gnupg, Bug Report

Apr 9 2024

werner triaged T7041: Yubikey (PGP + PIV) --pcsc-shared: PIN requires every time as Normal priority.
Apr 9 2024, 1:42 PM · gnupg26, yubikey, scd, Bug Report

Mar 28 2024

werner added a comment to T7058: KDF-DO is not properly implemented.

Please keep also in mind that the OpenPGP card specification has always and is still developed along with GnuPG . Thus if there are any uncertainties in the specification GnuPG's way of handling thing is the way to go. If there is a way to chnage things without risking any breakage we can of course fix that. In all other cases we need to continue wit the current way. For larger changes in the spec we can of course cleanup stuff - Achim is currently reworking on a revision.

Mar 28 2024, 10:05 AM · scd, gnupg, Bug Report
mwalle added a comment to T7058: KDF-DO is not properly implemented.

Please keep in mind, that it is not only about GnuPG and the OpenPGP card, but also between GnuPG and other PGP applications. I'm not really sure what the recent commit is doing, if it only affect the reading or also the writing of the data. But IMHO GnuPG should stick to the standard also if writing the KDF DO data because eventually, it will be used for authentication with the card.

Mar 28 2024, 9:06 AM · scd, gnupg, Bug Report

Mar 27 2024

gniibe added a comment to T7058: KDF-DO is not properly implemented.

Given the situation where GnuPG works well with existing OpenPGP card implementations, what we should do here is, perhaps:

Mar 27 2024, 2:37 AM · scd, gnupg, Bug Report
gniibe added a comment to T7058: KDF-DO is not properly implemented.

There are multiple problems described in your report. Let us handle one by one.

Mar 27 2024, 2:24 AM · scd, gnupg, Bug Report

Mar 26 2024

werner triaged T7058: KDF-DO is not properly implemented as Normal priority.
Mar 26 2024, 10:11 AM · scd, gnupg, Bug Report
werner added projects to T7058: KDF-DO is not properly implemented: gnupg, scd.
Mar 26 2024, 10:11 AM · scd, gnupg, Bug Report

Mar 13 2024

werner added a comment to T7041: Yubikey (PGP + PIV) --pcsc-shared: PIN requires every time.

But only if you can figure out in a transaction or locked sytate whether the card needs a verify. Otherwise we have a race between changing the PIN and verifying a PIN.

Mar 13 2024, 9:25 AM · gnupg26, yubikey, scd, Bug Report
gniibe claimed T7041: Yubikey (PGP + PIV) --pcsc-shared: PIN requires every time.

This rejection could be relaxed.

Mar 13 2024, 8:00 AM · gnupg26, yubikey, scd, Bug Report
gniibe created T7041: Yubikey (PGP + PIV) --pcsc-shared: PIN requires every time.
Mar 13 2024, 7:59 AM · gnupg26, yubikey, scd, Bug Report

Mar 7 2024

werner moved T6425: improve pinentry behavior and texts in smart card context from WiP to gnupg-2.4.5 on the gnupg24 board.
Mar 7 2024, 3:25 PM · gnupg24 (gnupg-2.4.5), scd, Bug Report, Restricted Project