Page MenuHome GnuPG
Feed Advanced Search

Jul 22 2019

gniibe added a comment to T4646: scd: Increase CCID timeout for Trustica Cryptoucan.

I realized that it's a product of token. Then, I suggest that implementing time extension correctly, if some operation doesn't finish in BWT (block waiting time).

Jul 22 2019, 4:16 AM · scd, Bug Report
gniibe claimed T4645: scd: Configurable pinpad timeout.

In general, if it requires more time, a reader can reply with time extension.

Jul 22 2019, 2:24 AM · Info Needed, scd, Feature Request
gniibe claimed T4646: scd: Increase CCID timeout for Trustica Cryptoucan.

What's Trustica Cryptoucan?
In general, if it requires more time, a reader can reply with time extension.

Jul 22 2019, 2:18 AM · scd, Bug Report
gniibe added a comment to T4631: Difficulties to generate key on OpenPGP Smart Card V3.3.

FYI, we have "factory-reset" command in gpg --card-edit; It is not enough for a card to have admin locked state, but it requires normal user locked state, too.

Jul 22 2019, 2:11 AM · scd, Bug Report

Jul 20 2019

JW-D added a comment to T4631: Difficulties to generate key on OpenPGP Smart Card V3.3.

I applied the following with gpg-connect-agent --hex:

Jul 20 2019, 3:46 PM · scd, Bug Report

Jul 19 2019

nephirus created T4646: scd: Increase CCID timeout for Trustica Cryptoucan.
Jul 19 2019, 3:09 PM · scd, Bug Report
nephirus created T4645: scd: Configurable pinpad timeout.
Jul 19 2019, 2:49 PM · Info Needed, scd, Feature Request
JW-D added a comment to T4631: Difficulties to generate key on OpenPGP Smart Card V3.3.

I do not wonder, that you face difficulties to reproduce it. It happened only with one card from my six cards; so five cards working fine. Therefore, I thought that this particular card was may dead at arrival and I contacted the vendor. They refused to replace it with the comment, it would be a well known issue. Do you know a test where I can demonstrate that the card is dead at arrival?

Jul 19 2019, 8:21 AM · scd, Bug Report
gniibe added a comment to T4614: GPG: Cancel on pinpad hangs decryption process for 20 seconds.

It responds somehow, but the content has invalid data of (bChainParameter=0x04):

2019-07-05 09:36:41 scdaemon[71407] DBG: chan_17 -> S LOGIN-DATA aheinecke
2019-07-05 09:36:41 scdaemon[71407] DBG: ccid-driver: PC_to_RDR_XfrBlock:
2019-07-05 09:36:41 scdaemon[71407] DBG: ccid-driver:   dwLength ..........: 9
2019-07-05 09:36:41 scdaemon[71407] DBG: ccid-driver:   bSlot .............: 0
2019-07-05 09:36:41 scdaemon[71407] DBG: ccid-driver:   bSeq ..............: 21
2019-07-05 09:36:41 scdaemon[71407] DBG: ccid-driver:   bBWI ..............: 0x04
2019-07-05 09:36:41 scdaemon[71407] DBG: ccid-driver:   wLevelParameter ...: 0x0000
2019-07-05 09:36:41 scdaemon[71407] DBG: ccid-driver:   [0010]  00 40 05 00 CA 00
2019-07-05 09:36:41 scdaemon[71407] DBG: ccid-driver:   [0016]  6E 00 E1
2019-07-05 09:36:41 scdaemon[71407] DBG: ccid-driver: RDR_to_PC_DataBlock:
2019-07-05 09:36:41 scdaemon[71407] DBG: ccid-driver:   dwLength ..........: 4
2019-07-05 09:36:41 scdaemon[71407] DBG: ccid-driver:   bSlot .............: 0
2019-07-05 09:36:41 scdaemon[71407] DBG: ccid-driver:   bSeq ..............: 21
2019-07-05 09:36:41 scdaemon[71407] DBG: ccid-driver:   bStatus ...........: 0
2019-07-05 09:36:41 scdaemon[71407] DBG: ccid-driver:   bChainParameter ...: 0x04
2019-07-05 09:36:41 scdaemon[71407] DBG: ccid-driver:   [0010]  00 82 00 82
2019-07-05 09:36:41 scdaemon[71407] DBG: ccid-driver: PC_to_RDR_XfrBlock:
2019-07-05 09:36:41 scdaemon[71407] DBG: ccid-driver:   dwLength ..........: 9
2019-07-05 09:36:41 scdaemon[71407] DBG: ccid-driver:   bSlot .............: 0
2019-07-05 09:36:41 scdaemon[71407] DBG: ccid-driver:   bSeq ..............: 22
2019-07-05 09:36:41 scdaemon[71407] DBG: ccid-driver:   bBWI ..............: 0x04
2019-07-05 09:36:41 scdaemon[71407] DBG: ccid-driver:   wLevelParameter ...: 0x0000
2019-07-05 09:36:41 scdaemon[71407] DBG: ccid-driver:   [0010]  00 40 05 00 CA 00
2019-07-05 09:36:41 scdaemon[71407] DBG: ccid-driver:   [0016]  6E 00 E1
2019-07-05 09:36:41 scdaemon[71407] DBG: ccid-driver: RDR_to_PC_DataBlock:
2019-07-05 09:36:41 scdaemon[71407] DBG: ccid-driver:   dwLength ..........: 4
2019-07-05 09:36:41 scdaemon[71407] DBG: ccid-driver:   bSlot .............: 0
2019-07-05 09:36:41 scdaemon[71407] DBG: ccid-driver:   bSeq ..............: 22
2019-07-05 09:36:41 scdaemon[71407] DBG: ccid-driver:   bStatus ...........: 0
2019-07-05 09:36:41 scdaemon[71407] DBG: ccid-driver:   bChainParameter ...: 0x04
2019-07-05 09:36:41 scdaemon[71407] DBG: ccid-driver:   [0010]  00 82 00 82
2019-07-05 09:36:41 scdaemon[71407] DBG: ccid-driver: PC_to_RDR_XfrBlock:
2019-07-05 09:36:41 scdaemon[71407] DBG: ccid-driver:   dwLength ..........: 9
2019-07-05 09:36:41 scdaemon[71407] DBG: ccid-driver:   bSlot .............: 0
2019-07-05 09:36:41 scdaemon[71407] DBG: ccid-driver:   bSeq ..............: 23
2019-07-05 09:36:41 scdaemon[71407] DBG: ccid-driver:   bBWI ..............: 0x04
2019-07-05 09:36:41 scdaemon[71407] DBG: ccid-driver:   wLevelParameter ...: 0x0000
2019-07-05 09:36:41 scdaemon[71407] DBG: ccid-driver:   [0010]  00 40 05 00 CA 00
2019-07-05 09:36:41 scdaemon[71407] DBG: ccid-driver:   [0016]  6E 00 E1
2019-07-05 09:36:46 scdaemon[71407] DBG: ccid-driver: usb_bulk_read error: LIBUSB_ERROR_TIMEOUT
2019-07-05 09:36:46 scdaemon[71407] ccid_transceive failed: (0x1000a)
2019-07-05 09:36:46 scdaemon[71407] apdu_send_simple(1) failed: card I/O error
Jul 19 2019, 8:05 AM · backport, Restricted Project, scd, gnupg
gniibe added a comment to T4614: GPG: Cancel on pinpad hangs decryption process for 20 seconds.

After the cancellation, the card reader seems being screwed up:

Jul 19 2019, 8:02 AM · backport, Restricted Project, scd, gnupg
gniibe added a comment to T4614: GPG: Cancel on pinpad hangs decryption process for 20 seconds.

It is canceled:

2019-07-05 09:36:41 scdaemon[71407] DBG: ccid-driver: RDR_to_PC_DataBlock:
2019-07-05 09:36:41 scdaemon[71407] DBG: ccid-driver:   dwLength ..........: 0
2019-07-05 09:36:41 scdaemon[71407] DBG: ccid-driver:   bSlot .............: 0
2019-07-05 09:36:41 scdaemon[71407] DBG: ccid-driver:   bSeq ..............: 19
2019-07-05 09:36:41 scdaemon[71407] DBG: ccid-driver:   bStatus ...........: 64
2019-07-05 09:36:41 scdaemon[71407] DBG: ccid-driver:   bError ............: 239
2019-07-05 09:36:41 scdaemon[71407] DBG: ccid-driver: CCID command failed: PIN cancelled
2019-07-05 09:36:41 scdaemon[71407] DBG: dismiss pinpad entry prompt
2019-07-05 09:36:41 scdaemon[71407] DBG: chan_7 -> INQUIRE DISMISSPINPADPROMPT
2019-07-05 09:36:41 scdaemon[71407] DBG: chan_7 <- END
2019-07-05 09:36:41 scdaemon[71407] verify CHV2 failed: Invalid response
2019-07-05 09:36:41 scdaemon[71407] operation decipher result: Invalid response
2019-07-05 09:36:41 scdaemon[71407] app_decipher failed: Invalid response
2019-07-05 09:36:41 scdaemon[71407] DBG: chan_7 -> ERR 100663372 Invalid response <SCD>
Jul 19 2019, 8:01 AM · backport, Restricted Project, scd, gnupg
gniibe removed a project from T4631: Difficulties to generate key on OpenPGP Smart Card V3.3: OpenPGP.

Please note that key generation is takes time unusually longer from a viewpoint of card reader.
It is possible for a card reader to give up the execution of key generation command as timeout.

Jul 19 2019, 6:40 AM · scd, Bug Report
gniibe claimed T4631: Difficulties to generate key on OpenPGP Smart Card V3.3.

I am trying to reproduce your problem with my 3.3 card using my TTXS card reader.

Jul 19 2019, 3:37 AM · scd, Bug Report

Jul 18 2019

JW-D added a comment to T4631: Difficulties to generate key on OpenPGP Smart Card V3.3.

I use the internal driver.

Jul 18 2019, 8:37 PM · scd, Bug Report
werner edited projects for T4631: Difficulties to generate key on OpenPGP Smart Card V3.3, added: scd, OpenPGP; removed Info Needed.

Are you using pcscd (is that process running) or the internal driver.? Please try the latter if you are not already using it.

Jul 18 2019, 11:15 AM · scd, Bug Report

Jul 9 2019

gniibe added a comment to T4616: Smartcard: Card reset required - It should be automatic.

I pushed my change of rGc51a5685554a: scd: ccid-driver: Initial getting ATR more robustly..
With TTXS, scdaemon correctly recovers from the error.

Jul 9 2019, 4:02 AM · gnupg, scd
gniibe added a comment to T4616: Smartcard: Card reset required - It should be automatic.

When the computer is going to suspend, the scdaemon receives a message from USB layer as the interrupt transfer is shutting down, then scdaemon considers it's removal of device/card.
But in case of suspend (and the device does not support USB suspend), USB port is kept with the power.
So, it keeps running actually.

Jul 9 2019, 3:07 AM · gnupg, scd
gniibe added a comment to T4616: Smartcard: Card reset required - It should be automatic.

Here are results of my experiment with Intel NUC computer (which supports S4 (and S3)).

Jul 9 2019, 2:53 AM · gnupg, scd

Jul 8 2019

aheinecke created T4616: Smartcard: Card reset required - It should be automatic.
Jul 8 2019, 2:30 PM · gnupg, scd
gniibe added a comment to T4158: UIF (User Interaction Flag) DO support.

No. I intentionally select: Not-backporting this feature.
The feature is added for Yubikey, in the specification.
Use of the feature by Data-Object is not that so useful.

Jul 8 2019, 9:21 AM · Restricted Project, Feature Request, scd, gnupg

Jul 5 2019

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

I think we should not backport this to 2.2 - okay?

Jul 5 2019, 11:14 AM · Restricted Project, Feature Request, scd, gnupg
aheinecke created T4614: GPG: Cancel on pinpad hangs decryption process for 20 seconds.
Jul 5 2019, 9:50 AM · backport, Restricted Project, scd, gnupg

Jun 10 2019

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

Thanks a lot @gniibe for this change.
I do understand and share your concerns, nevertheless are there, in my opinion valid reasons to be able to have a backup or duplicate, especially on the same or similar media type.
Consider for example giving multiple devices a chance of common interaction, using the keys for backup encryption etc. - I think there are several possible use-cases which can benefit from this.

Jun 10 2019, 7:40 PM · Restricted Project, gnupg, scd, Bug Report

Jun 4 2019

gniibe added a comment to T3383: scdaemon option 'card-timeout' does not have any effect.

I see the regression of gpgconf. I wonder if it's better to fix gpgconf side, too.

Jun 4 2019, 8:46 AM · Documentation, scd, Bug Report
werner reopened T3383: scdaemon option 'card-timeout' does not have any effect as "Open".

I see a regression with your fix. This option is even controllable with gpgconf at the basic level. It would be better to make it a dummy option.

Jun 4 2019, 7:45 AM · Documentation, scd, Bug Report
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