Page MenuHome GnuPG
Feed Advanced Search

Jun 4 2019

gniibe closed T3383: scdaemon option 'card-timeout' does not have any effect as Resolved.
Jun 4 2019, 3:01 AM · Documentation, scd, Bug Report
gniibe added projects to T3383: scdaemon option 'card-timeout' does not have any effect: scd, Documentation.

I meant, 'card-timeout' was not intended for controlling caching PIN on card. It was for "DISCONNECT" command support.
I'm going to remove questionable documentation.
Closing.

Jun 4 2019, 2:56 AM · Documentation, scd, Bug Report
gniibe closed T1854: Problems with same encryption and signing key on smartcard as Resolved.

While it's not recommended, current master has a support of sharing same raw key materials. I think that it now works (I don't try, though).
Closing.

Jun 4 2019, 2:33 AM · gnupg, Feature Request, scd
gniibe closed T2298: Unblocking a smartcard PIN not possible in 2.1 as Resolved.
Jun 4 2019, 2:29 AM · Info Needed, gnupg, scd, Bug Report
gniibe closed T1082: scd rewrites ~/.gnupg/reader_0.status with same content when SERIALNO is issued as Resolved.
Jun 4 2019, 2:25 AM · gnupg, Info Needed, gpg4win, Bug Report, scd

May 23 2019

gniibe closed T4326: Reloading gpg-agent with disable-scdaemon set does not stop scdaemon. as Resolved.

Simply sending "KILLSCD" is implemented.

May 23 2019, 3:19 AM · Bug Report, scd, gpgagent

May 21 2019

gniibe closed T4454: scdaemon is not working in cygwin (64bit) as Resolved.

In master, I pushed a change, closing.

May 21 2019, 9:40 AM · patch, scd, Cygwin, Bug Report
gniibe claimed T4454: scdaemon is not working in cygwin (64bit).

For future, it would make sense applying your patch, but I wonder if it works on macOS.
Let me check.

May 21 2019, 9:11 AM · patch, scd, Cygwin, Bug Report

May 20 2019

gniibe added a comment to T4301: Handling multiple subkeys on two SmartCards.

When having a backup media, I'd recommend completely different one (for example, on paper using paperkey to be stored in a locker in basement), which requires different method for recovering. Brains may be easily confused when same private key material exists in multiple similar devices.

May 20 2019, 2:12 AM · Restricted Project, gnupg, scd, Bug Report
ageis added a comment to T4301: Handling multiple subkeys on two SmartCards.

Thanks for this @gniibe. I have long been frustrated by trying to save the correct "stubs" to have my keyring point at two different smartcards. It was common and even advocated in my former community to place one's master key on a separate smartcard (certify capability), with a different one designated for daily usage.

May 20 2019, 1:03 AM · Restricted Project, gnupg, scd, Bug Report
vsrinu26f added a comment to T4301: Handling multiple subkeys on two SmartCards.

Thanks Gniibe San for explanation.

May 20 2019, 12:55 AM · Restricted Project, gnupg, scd, Bug Report

May 17 2019

gniibe lowered the priority of T4301: Handling multiple subkeys on two SmartCards from Normal to Low.

@blades: This feature will be available in GnuPG 2.3, which is planed to be released this year.
For Debian, Buster will come with GnuPG 2.2.12. After release of GnuPG 2.3, backport might be available (like GnuPG 2.2.x is available as backport for Stretch).

May 17 2019, 2:00 AM · Restricted Project, gnupg, scd, Bug Report

May 16 2019

blades added a comment to T4301: Handling multiple subkeys on two SmartCards.

Helo and forgive me for the ignorance, Iam a new.
I subscribed to this topic because I need a fix like that, I have 2 yubikeys with same subkeys...
Now how is possible to install from master; It's about a debian based distro. Also, when this will be pushed for updates via apt-get;
Thank you.

May 16 2019, 9:51 AM · Restricted Project, gnupg, scd, Bug Report
gniibe merged T2898: Option to ignore card serial number (to be able to use backup tokens containing same subkeys) into T4301: Handling multiple subkeys on two SmartCards.
May 16 2019, 9:26 AM · Restricted Project, gnupg, scd, Bug Report
gniibe edited projects for T4301: Handling multiple subkeys on two SmartCards, added: scd, gnupg; removed Info Needed.
May 16 2019, 9:22 AM · Restricted Project, gnupg, scd, Bug Report

Apr 9 2019

werner triaged T4454: scdaemon is not working in cygwin (64bit) as Normal priority.

We do not support 64 bit Windows thus this problem on Cygwin is obvious. Funny that Cygwin falls back to native Windows object in this case.

Apr 9 2019, 8:54 AM · patch, scd, Cygwin, Bug Report

Apr 8 2019

j0t updated the task description for T4454: scdaemon is not working in cygwin (64bit).
Apr 8 2019, 6:53 PM · patch, scd, Cygwin, Bug Report
j0t created T4454: scdaemon is not working in cygwin (64bit).
Apr 8 2019, 6:51 PM · patch, scd, Cygwin, Bug Report

Apr 5 2019

werner closed T4377: gpg-agent does not anymore restart a killed scdaemon as Resolved.

I did lot of tests in the last weeks while working on gpg-card.

Apr 5 2019, 5:07 PM · gnupg (gpg23), gpgagent, scd

Mar 28 2019

werner added a comment to T4437: CCID card reader stopped working.

Good that it works again for you.

Mar 28 2019, 5:53 PM · Gentoo, scd, gnupg (gpg22), Bug Report
werner closed T671: card context shared between callers as Wontfix.

I don't anymore think that it makes sense to fix it. Further there is no cache for PINs; that is entirely up to the card.

Mar 28 2019, 5:49 PM · scd, Bug Report, gnupg
dilfridge closed T4437: CCID card reader stopped working as Invalid.

This was most likely a (chipcard) hardware issue. It went away after polishing the contact pads for a bit. Possibly my laptop reader applies more force...

Mar 28 2019, 3:18 PM · Gentoo, scd, gnupg (gpg22), Bug Report
werner added projects to T4437: CCID card reader stopped working: gnupg (gpg22), scd, Gentoo.
Mar 28 2019, 10:21 AM · Gentoo, scd, gnupg (gpg22), Bug Report
khanhnd.vn added a comment to T4428: Would like to use our card with Kleopatra tool.

Thanks so much your helps.
With new version 3.1.6, I can generate key on Kleopatra tool and use key stored in smartcard.

Mar 28 2019, 3:39 AM · scd, OpenPGP, Bug Report, gpg4win

Mar 27 2019

aheinecke closed T4264: Gpg4win 3.1.6, a subtask of T4428: Would like to use our card with Kleopatra tool, as Resolved.
Mar 27 2019, 1:54 PM · scd, OpenPGP, Bug Report, gpg4win

Mar 26 2019

werner closed T4428: Would like to use our card with Kleopatra tool as Resolved.
Mar 26 2019, 6:46 PM · scd, OpenPGP, Bug Report, gpg4win
aheinecke added a subtask for T4428: Would like to use our card with Kleopatra tool: T4264: Gpg4win 3.1.6.
Mar 26 2019, 12:08 PM · scd, OpenPGP, Bug Report, gpg4win
aheinecke changed the status of T4428: Would like to use our card with Kleopatra tool from Open to Testing.

There was indeed a problem. With a test card I could reproduce the issue and fix it.

Mar 26 2019, 12:08 PM · scd, OpenPGP, Bug Report, gpg4win
werner added projects to T4428: Would like to use our card with Kleopatra tool: OpenPGP, scd.
Mar 26 2019, 7:50 AM · scd, OpenPGP, Bug Report, gpg4win

Mar 6 2019

werner added a comment to T4377: gpg-agent does not anymore restart a killed scdaemon.

Thanks for fixing that.

Mar 6 2019, 8:05 AM · gnupg (gpg23), gpgagent, scd
gniibe changed the status of T4377: gpg-agent does not anymore restart a killed scdaemon from Open to Testing.
Mar 6 2019, 3:05 AM · gnupg (gpg23), gpgagent, scd
gniibe added a comment to T4377: gpg-agent does not anymore restart a killed scdaemon.

That's my badness. In wait_child_thread, assuan_release may cause thread context switch to agent_reset_scd which accesses scd_local_list; This access should be serialized.
And... in start_scd, calling unlock_scd should be after unlocking start_scd_lock.

Mar 6 2019, 3:05 AM · gnupg (gpg23), gpgagent, scd

Feb 26 2019

werner added a comment to T4377: gpg-agent does not anymore restart a killed scdaemon.

Does not happen in 2.2. Additional requirement to test this bug in master: Another connection to the scdaemon must be open. For example running scute or, easier, call "gpg --card-edit" and keep it open.

Feb 26 2019, 1:21 PM · gnupg (gpg23), gpgagent, scd
werner created T4377: gpg-agent does not anymore restart a killed scdaemon.
Feb 26 2019, 12:41 PM · gnupg (gpg23), gpgagent, scd

Feb 19 2019

gniibe closed T3600: Support ACKNOWLEDGE button for OpenPGP card and/or Token as Resolved.

Gnuk implements the feature, and newer GnuPG shows a dialog to request pushing the ack button.

Feb 19 2019, 2:50 AM · scd

Jan 17 2019

werner created T4326: Reloading gpg-agent with disable-scdaemon set does not stop scdaemon..
Jan 17 2019, 5:45 PM · Bug Report, scd, gpgagent

Dec 13 2018

gniibe closed T4177: card: After "forcesig" command makes card "not forced", signing fails by: Bad PIN as Resolved.
Dec 13 2018, 3:44 PM · scd, gnupg (gpg22)

Oct 15 2018

gniibe renamed T4177: card: After "forcesig" command makes card "not forced", signing fails by: Bad PIN from card: After "forcesig" command makes "not forced", signing fails by: Bad PIN to card: After "forcesig" command makes card "not forced", signing fails by: Bad PIN.
Oct 15 2018, 10:36 AM · scd, gnupg (gpg22)
gniibe changed the status of T4158: UIF (User Interaction Flag) DO support from Open to Testing.
Oct 15 2018, 4:28 AM · Restricted Project, Feature Request, scd, gnupg
gniibe changed the status of T4177: card: After "forcesig" command makes card "not forced", signing fails by: Bad PIN from Open to Testing.
Oct 15 2018, 4:24 AM · scd, gnupg (gpg22)
gniibe updated the task description for T4177: card: After "forcesig" command makes card "not forced", signing fails by: Bad PIN.
Oct 15 2018, 3:59 AM · scd, gnupg (gpg22)
gniibe updated the task description for T4177: card: After "forcesig" command makes card "not forced", signing fails by: Bad PIN.
Oct 15 2018, 3:57 AM · scd, gnupg (gpg22)
gniibe created T4177: card: After "forcesig" command makes card "not forced", signing fails by: Bad PIN.
Oct 15 2018, 3:56 AM · scd, gnupg (gpg22)

Sep 27 2018

gniibe added a comment to T4158: UIF (User Interaction Flag) DO support.

Interaction will be something like this:

Sep 27 2018, 8:47 AM · Restricted Project, Feature Request, scd, gnupg
gniibe claimed T4158: UIF (User Interaction Flag) DO support.

Priority is high, because Gnuk Token requires this feature for testing its implementation.

Sep 27 2018, 8:31 AM · Restricted Project, Feature Request, scd, gnupg
gniibe created T4158: UIF (User Interaction Flag) DO support.
Sep 27 2018, 8:30 AM · Restricted Project, Feature Request, scd, gnupg

Aug 24 2018

nephirus closed T4097: scdaemon does not handle extended APDUs correctly as Invalid.

Thank you for the clarification. For now, I'll modify our implementation to use shorter length representation and close this bug as Invalid.
However, I'm still not convinced that using hard-coded arguments is the right way to handle requests. I'll do some more testing and if I discover a legitimate use-case that requires long APDUs, I'll reopen the issue.

Aug 24 2018, 5:38 PM · scd, Bug Report

Aug 17 2018

gniibe added a comment to T4097: scdaemon does not handle extended APDUs correctly.

Thanks for the information.

Aug 17 2018, 1:58 AM · scd, Bug Report

Aug 16 2018

nephirus added a comment to T4097: scdaemon does not handle extended APDUs correctly.

In our implementation, DO 0x6E contains:

Aug 16 2018, 12:15 PM · scd, Bug Report
gniibe added a comment to T4097: scdaemon does not handle extended APDUs correctly.

I don't understand the reason why 0x6E (Application Related Data) can be so long. What OpenPGP card implementation do you have?

Aug 16 2018, 6:22 AM · scd, Bug Report
gniibe claimed T4097: scdaemon does not handle extended APDUs correctly.
Aug 16 2018, 6:16 AM · scd, Bug Report

Aug 14 2018

nephirus created T4097: scdaemon does not handle extended APDUs correctly.
Aug 14 2018, 12:41 PM · scd, Bug Report

Jun 12 2018

gniibe renamed T4004: Curve25519 for Zeitcontrol card from Curve22519 for Zeitcontrol card to Curve25519 for Zeitcontrol card.
Jun 12 2018, 9:51 AM · Feature Request, scd

Jun 6 2018

werner triaged T3891: kdf-setup does not set admin and user PIN codes as Normal priority.
Jun 6 2018, 5:57 PM · Restricted Project, scd, Bug Report
Arnaud added a comment to T3891: kdf-setup does not set admin and user PIN codes.

Here is a sequence of operations/commands that permits to setup or update KDF-DO and align PIN codes accordingly:

Jun 6 2018, 2:58 PM · Restricted Project, scd, Bug Report
gniibe closed T3823: gpg frontend support to setup KDF DO as Resolved.
Jun 6 2018, 3:41 AM · scd
gniibe closed T3823: gpg frontend support to setup KDF DO, a subtask of T3152: KDF DO support in OpenPGP card, as Resolved.
Jun 6 2018, 3:41 AM · scd

May 30 2018

werner created T4004: Curve25519 for Zeitcontrol card.
May 30 2018, 12:15 PM · Feature Request, scd

Apr 27 2018

dirk added a comment to T3576: Open PGP SmartCard V2.1 - decryption error: ERR 100663364 Missing item in object <SCD>.

Now there it gets complicated. According to the card software author in 3.3 and even 2.2 there is a fix. BUT there was a small amount of cards already created in 3.3 without the fix. Nobody ever told my how to diferentiate them.
There is no Version 3.3.1 you can by - it is only 3.3. So you can buy one and hope you have a good one.
At least this is my understanding.

Apr 27 2018, 10:20 PM · Info Needed, scd, Bug Report

Apr 26 2018

ThePowerOfDreams added a comment to T3576: Open PGP SmartCard V2.1 - decryption error: ERR 100663364 Missing item in object <SCD>.

Does v3.3.1 fix this? (The release notes for it seem to imply that's not the case.)

Apr 26 2018, 2:45 PM · Info Needed, scd, Bug Report

Apr 20 2018

gniibe added a comment to T3781: ECC encryption key on-card generation broken.

@nitroalex Perhaps, creating new ticker is better for this topic.
In the current OpenPGP card specification, there is no way for an application (except having a list of card implementation information) to know wich algo and which curve is supported or not.
So, what an application does is try and error.
I don't like this situation, but I don't know how we can modify the specification.

Apr 20 2018, 10:10 AM · g10, scd, Bug Report

Apr 19 2018

nitroalex added a comment to T3781: ECC encryption key on-card generation broken.

Well, I surely would agree (and this is only a proposal anyway), but my point here is, that OpenPGP Card does not support Curve 25519, so that one *have to* choose between those other two. Considering me a tinfoil hat person, I would rather not choose NIST, as many others wouldn't too.

Apr 19 2018, 2:27 PM · g10, scd, Bug Report

Apr 17 2018

werner closed T3842: OpenPGP Smart card V2.1 returns truncated RSA signatures if leading bytes of signature are 0 as Invalid.
Apr 17 2018, 8:33 PM · Not A Bug, scd

Apr 13 2018

werner added a comment to T3781: ECC encryption key on-card generation broken.

Neither Brainpool nor NIST curves make any sense unless there is an organizational policy requirement. Thus the --expert requirement is the Right Thing (tm).

Apr 13 2018, 12:53 PM · g10, scd, Bug Report

Apr 12 2018

nitroalex added a comment to T3781: ECC encryption key on-card generation broken.

works just fine, thx!

Apr 12 2018, 3:30 PM · g10, scd, Bug Report

Apr 11 2018

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

For the situation where PINs are not factory setting, given the specification, I don't know how to achieve "to align all PWs and the KDF-DO with correct values"; It might depend on card's implementation.

Apr 11 2018, 11:07 AM · Restricted Project, scd, Bug Report
Arnaud added a comment to T3891: kdf-setup does not set admin and user PIN codes.

You are right about the fact that multiple steps could result in unusable cards in case of power down before all commands have been issued. Nevertheless, in practice, these commands would involve very few treatments on the token (i.e. no cryptographic operation or heavy data transfer) and it should really not take long to complete the three steps (admin PIN update, user PIN update, KDF-DO update).

Apr 11 2018, 10:29 AM · Restricted Project, scd, Bug Report
gniibe added a project to T3843: Unable to generate RSA4096 keys on Yubikey 4 on OSX Sierra: Info Needed.
Apr 11 2018, 10:02 AM · Info Needed, MacOS, yubikey, scd, Bug Report
gniibe triaged T3843: Unable to generate RSA4096 keys on Yubikey 4 on OSX Sierra as Normal priority.
Apr 11 2018, 10:02 AM · Info Needed, MacOS, yubikey, scd, Bug Report
gniibe closed T3825: Scdaemon needs to restart after wake up from sleep mode for YubiKey to work on Windows as Resolved.

Workaround is implemented in 2.2.6.

Apr 11 2018, 1:59 AM · gpg4win, gpgagent, gnupg (gpg22), scd, Windows, Bug Report, yubikey
gniibe closed T3781: ECC encryption key on-card generation broken as Resolved.

Fixed in 2.2.6.

Apr 11 2018, 1:58 AM · g10, scd, Bug Report
gniibe claimed T3891: kdf-setup does not set admin and user PIN codes.
Apr 11 2018, 1:13 AM · Restricted Project, scd, Bug Report

Apr 10 2018

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

My interpretation of the specification is different.
By requiring the condition of setting KDF-DO (it is only valid to setup KDF-DO when PINs are factory setting), Gnuk works well with current "kdf-setup".
If the procedure of setting KDF-DO includes multiple steps with KDF-DO update and PIN update, there is a risk of power down which results unusable card.

Apr 10 2018, 11:38 PM · Restricted Project, scd, Bug Report
Arnaud added a subtask for T3152: KDF DO support in OpenPGP card: T3891: kdf-setup does not set admin and user PIN codes.
Apr 10 2018, 2:41 PM · scd
Arnaud added parent tasks for T3891: kdf-setup does not set admin and user PIN codes: T3152: KDF DO support in OpenPGP card, T3823: gpg frontend support to setup KDF DO.
Apr 10 2018, 2:41 PM · Restricted Project, scd, Bug Report
Arnaud added a subtask for T3823: gpg frontend support to setup KDF DO: T3891: kdf-setup does not set admin and user PIN codes.
Apr 10 2018, 2:41 PM · scd
Arnaud created T3891: kdf-setup does not set admin and user PIN codes.
Apr 10 2018, 2:41 PM · Restricted Project, scd, Bug Report

Apr 5 2018

werner added projects to T3843: Unable to generate RSA4096 keys on Yubikey 4 on OSX Sierra: scd, yubikey.
Apr 5 2018, 5:22 PM · Info Needed, MacOS, yubikey, scd, Bug Report

Apr 3 2018

gniibe added a comment to T3842: OpenPGP Smart card V2.1 returns truncated RSA signatures if leading bytes of signature are 0.

Yes, I meant the document. Please note that I am also one of users of the specification (for GnuPG, and for Gnuk Token). I am not defending, but try to explain the current situation.

Apr 3 2018, 1:30 AM · Not A Bug, scd

Apr 2 2018

MSoegtrop added a comment to T3842: OpenPGP Smart card V2.1 returns truncated RSA signatures if leading bytes of signature are 0.

I was referring to this document:

Apr 2 2018, 11:25 AM · Not A Bug, scd
gniibe added a comment to T3842: OpenPGP Smart card V2.1 returns truncated RSA signatures if leading bytes of signature are 0.

You describe it as 'manual'. AFAIK, it's the specification for the functionality.
I have an experience implementing the functionality, following the specification.
And my own implementation does always return 512 bytes for RSA-4096. So, I could support your opinion.

Apr 2 2018, 7:16 AM · Not A Bug, scd

Mar 30 2018

gniibe added a comment to T3152: KDF DO support in OpenPGP card.

I realized that KDF support may be incompatible to Gnuk's feature of "admin-less" mode.
I'm going to implement compatible KDF support to Gnuk; That is, KDF data which only has a single salt.
In this case, all KDF calculation (user, reset-code, and admin) is done with the single salt.
With single salt, admin-less mode can work with no problem.

Mar 30 2018, 4:59 AM · scd
gniibe changed the status of T3781: ECC encryption key on-card generation broken from Open to Testing.
Mar 30 2018, 4:52 AM · g10, scd, Bug Report
gniibe added a comment to T3781: ECC encryption key on-card generation broken.

Furthermore, I changed to have an explicit command: key-attr

Mar 30 2018, 4:52 AM · g10, scd, Bug Report

Mar 29 2018

gniibe triaged T3781: ECC encryption key on-card generation broken as Normal priority.

I changed the interaction so that user can specify RSA or ECC, then when it's for ECC, specifying curve.

Mar 29 2018, 6:10 AM · g10, scd, Bug Report

Mar 28 2018

gniibe claimed T3825: Scdaemon needs to restart after wake up from sleep mode for YubiKey to work on Windows.
Mar 28 2018, 1:29 AM · gpg4win, gpgagent, gnupg (gpg22), scd, Windows, Bug Report, yubikey

Mar 22 2018

gniibe changed the status of T3823: gpg frontend support to setup KDF DO, a subtask of T3152: KDF DO support in OpenPGP card, from Open to Testing.
Mar 22 2018, 7:59 AM · scd
gniibe changed the status of T3823: gpg frontend support to setup KDF DO from Open to Testing.

2.2.6 will have this feature in --card-edit, as kdf-setup. Please test.

Mar 22 2018, 7:59 AM · scd

Mar 17 2018

werner added a project to T3842: OpenPGP Smart card V2.1 returns truncated RSA signatures if leading bytes of signature are 0: scd.
Mar 17 2018, 7:27 PM · Not A Bug, scd

Mar 16 2018

gniibe added a comment to T3823: gpg frontend support to setup KDF DO.

For factory-reset, rG2c85e202bc30: scd: Better user interaction for factory-reset. fixed the issue.

Mar 16 2018, 3:40 AM · scd

Mar 13 2018

dirk added a comment to T3576: Open PGP SmartCard V2.1 - decryption error: ERR 100663364 Missing item in object <SCD>.

Hallo Werner,

Mar 13 2018, 9:16 PM · Info Needed, scd, Bug Report
vovcacik added a comment to T3825: Scdaemon needs to restart after wake up from sleep mode for YubiKey to work on Windows.

I've contacted Yubico to review this ticket.

Mar 13 2018, 3:03 PM · gpg4win, gpgagent, gnupg (gpg22), scd, Windows, Bug Report, yubikey
vovcacik added a comment to T3825: Scdaemon needs to restart after wake up from sleep mode for YubiKey to work on Windows.

Hi, that works as advertised. If this is the best solution yubikey permits us I am ok with it.

Mar 13 2018, 2:36 PM · gpg4win, gpgagent, gnupg (gpg22), scd, Windows, Bug Report, yubikey
gniibe added a comment to T3825: Scdaemon needs to restart after wake up from sleep mode for YubiKey to work on Windows.

I put an entry: https://wiki.gnupg.org/SmartCard#Known_problem_of_Yubikey

Mar 13 2018, 5:35 AM · gpg4win, gpgagent, gnupg (gpg22), scd, Windows, Bug Report, yubikey
gniibe added a comment to T3825: Scdaemon needs to restart after wake up from sleep mode for YubiKey to work on Windows.

After resume, because resume is not detected, some user interaction is required to cause an error.
gpg --card-status (which will only show partial information) is enough. Or, ssh failure. After failure, scdaemon reconnects the token.
Then, you can use it again without plug-off/plug-in.

Mar 13 2018, 4:58 AM · gpg4win, gpgagent, gnupg (gpg22), scd, Windows, Bug Report, yubikey
gniibe added a comment to T3825: Scdaemon needs to restart after wake up from sleep mode for YubiKey to work on Windows.

Thanks a lot for pointers and suggestion.
Well, the problem of Yubikey itself cannot be solved by others, we can put some workaround for the error recovery.
So, this is another try of mine to improve error recovery.

Mar 13 2018, 4:52 AM · gpg4win, gpgagent, gnupg (gpg22), scd, Windows, Bug Report, yubikey

Mar 12 2018

vovcacik added a comment to T3825: Scdaemon needs to restart after wake up from sleep mode for YubiKey to work on Windows.
  • There was same problem in yubico-piv-tool and it was solved by detecting error state (0x80100068) and reconnecting to the smart card if necessary [1]
  • There is also a thread in OpenSC discussing this issue [2] and relevant PRs [3]
  • I also found a project that claims to fix SCARD_W_RESET_CARD by disabling exclusive access to the card before asking for PIN (and then they enable exclusive access again) [4]
Mar 12 2018, 8:54 PM · gpg4win, gpgagent, gnupg (gpg22), scd, Windows, Bug Report, yubikey
werner added a comment to T3576: Open PGP SmartCard V2.1 - decryption error: ERR 100663364 Missing item in object <SCD>.

New cards will come with a fix. I am not sure whether a production run has yet been done, though.

Mar 12 2018, 3:58 PM · Info Needed, scd, Bug Report
gniibe added a comment to T3825: Scdaemon needs to restart after wake up from sleep mode for YubiKey to work on Windows.

Part of the problem is Yubikey side, I suppose. (Because my implementation of Gnuk Token has no problem for suspend/resume if it's in-use.)

Mar 12 2018, 1:24 AM · gpg4win, gpgagent, gnupg (gpg22), scd, Windows, Bug Report, yubikey
gniibe added a comment to T3825: Scdaemon needs to restart after wake up from sleep mode for YubiKey to work on Windows.

Again, thanks a lot for your testing. The log said: The code I added cannot detect the event of suspend/resume.
It seems that there is no way to recover from suspend/resume for Yubikey.

Mar 12 2018, 1:19 AM · gpg4win, gpgagent, gnupg (gpg22), scd, Windows, Bug Report, yubikey