Page MenuHome GnuPG
Feed Advanced Search

Mar 10 2018

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

Hello again,

Mar 10 2018, 12:35 AM · Info Needed, scd, Bug Report
dirk added a comment to T1209: Cherry ST-2000U USB card reader keypad not working on GNU/Linux.
Mar 10 2018, 12:35 AM · scd, Bug Report, gnupg

Mar 9 2018

vovcacik added a comment to T3825: Scdaemon needs to restart after wake up from sleep mode for YubiKey to work on Windows.

Yeah, this is better, we got apdu_get_status => sw=0x0 status=7 and I can auth with this version as usual. After sleep-wake cycle it would however fail with pcsc_transmit failed: reset card (0x80100068). Logs attached.

Mar 9 2018, 7:09 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.

Thanks a lot for your testing. So, apparently, the PC/SC behavior is different between GNU/Linux and Windows.
Thus, I pushed another change: rG1e27c0e04cd3: scd: More fix with PC/SC for Windows.. Please test this. (Both of previous version and this version work well on GNU/Linux for operations not including suspend/resume with Yubikey and Gnuk Token, while my Yubikey with PC/SC doesn't work well for suspend/resume.)

Mar 9 2018, 2:02 AM · gpg4win, gpgagent, gnupg (gpg22), scd, Windows, Bug Report, yubikey

Mar 8 2018

vovcacik added a comment to T3825: Scdaemon needs to restart after wake up from sleep mode for YubiKey to work on Windows.

Thanks, this version of scdaemon executes.

Mar 8 2018, 7:45 PM · gpg4win, gpgagent, gnupg (gpg22), scd, Windows, Bug Report, yubikey
gniibe added a comment to T3823: gpg frontend support to setup KDF DO.
Mar 8 2018, 9:06 AM · scd
gniibe added a comment to T3825: Scdaemon needs to restart after wake up from sleep mode for YubiKey to work on Windows.

Sorry, my build was not good even if it's for x86_64 (I used development version of libassuan, etc.).

Mar 8 2018, 6:07 AM · gpg4win, gpgagent, gnupg (gpg22), scd, Windows, Bug Report, yubikey
gniibe added a comment to T3823: gpg frontend support to setup KDF DO.

I realized that: once KDF-DO is written to smartcard/token, factory-reset command won't work because it assumes standard PIN format than hashed.

Mar 8 2018, 3:45 AM · scd
gniibe added a comment to T3823: gpg frontend support to setup KDF DO.

Sorry again. My script was still wrong (didn't work).

Mar 8 2018, 3:44 AM · scd

Mar 7 2018

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

It doesn't work because I did mistake for the salt of reset code, it should be 8-byte instead of 4-byte.
Here is a fixed version, which I tested with Gnuk 1.2.8:

Mar 7 2018, 8:02 AM · scd

Mar 6 2018

vovcacik added a comment to T3825: Scdaemon needs to restart after wake up from sleep mode for YubiKey to work on Windows.

@gniibe it seems the patched scdaemon.exe is 64 bit executable and it requires libassuan6-0.dll. However I got installed 32 bit version of gpg that only has incompatible libassuan-0.dll. I scanned whole computer for the missing lib, skimmed your ftp for 64 bit binaries and looked into gpg4win installer to find it, but no luck. There is also libassuan github repo, but I would like to avoid building the dll myself; there would probably be more than one dll to build anyway.

Mar 6 2018, 9:44 AM · gpg4win, gpgagent, gnupg (gpg22), scd, Windows, Bug Report, yubikey
gniibe changed the visibility for T3825: Scdaemon needs to restart after wake up from sleep mode for YubiKey to work on Windows.
Mar 6 2018, 8:27 AM · gpg4win, gpgagent, gnupg (gpg22), scd, Windows, Bug Report, yubikey
gniibe triaged T3825: Scdaemon needs to restart after wake up from sleep mode for YubiKey to work on Windows as Normal priority.

If possible, please try with this (patched version of scdaemon):

Mar 6 2018, 8:25 AM · gpg4win, gpgagent, gnupg (gpg22), scd, Windows, Bug Report, yubikey
aheinecke edited projects for T3825: Scdaemon needs to restart after wake up from sleep mode for YubiKey to work on Windows, added: gpg4win; removed Windows 64.
Mar 6 2018, 7:53 AM · gpg4win, gpgagent, gnupg (gpg22), scd, Windows, Bug Report, yubikey
gniibe added a comment to T3823: gpg frontend support to setup KDF DO.

Something like this script should be implemented by gpg frontend:

Mar 6 2018, 7:16 AM · scd
gniibe added a comment to T3825: Scdaemon needs to restart after wake up from sleep mode for YubiKey to work on Windows.

I realized that suspend/resume is not supported yet on GNU/Linux: https://anonscm.debian.org/cgit/pcsclite/PCSC.git/tree/TODO#n7
So, I can't test myself.
Here is an attempt to improve:


The reference is: https://stackoverflow.com/questions/11294638/how-to-use-scardgetstatuschange-correctly-on-windows-8

Mar 6 2018, 2:11 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.

It looks like SCardGetStatusChange doesn't return failure after wake up.
Here, what we need is catching the event of wake up, which requires reset of the card.
I think that we can check by the dwEventState field.
I'll try on GNU/Linux environment, then ask you to try.

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

Mar 5 2018

vovcacik added a comment to T3825: Scdaemon needs to restart after wake up from sleep mode for YubiKey to work on Windows.

@werner there had to be some mix up, as the log snippet is not mine.

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

This seems to be the relevant part of the log:

2017-11-18 07:45:15 scdaemon[8918] DBG: ccid-driver: CCID: card inactive/removed
2017-11-18 07:45:15 scdaemon[8918] ccid open error: skip
2017-11-18 07:45:15 scdaemon[8918] pcsc_establish_context failed: no service (0x8010001d)
2017-11-18 07:45:15 scdaemon[8918] DBG: ccid-driver: CCID: interrupt callback 0
2017-11-18 07:45:15 scdaemon[8918] DBG: ccid-driver: CCID: card removed
Mar 5 2018, 1:46 PM · gpg4win, gpgagent, gnupg (gpg22), scd, Windows, Bug Report, yubikey
vovcacik updated the task description for T3825: Scdaemon needs to restart after wake up from sleep mode for YubiKey to work on Windows.
Mar 5 2018, 11:22 AM · gpg4win, gpgagent, gnupg (gpg22), scd, Windows, Bug Report, yubikey
vovcacik changed the visibility for T3825: Scdaemon needs to restart after wake up from sleep mode for YubiKey to work on Windows.
Mar 5 2018, 11:17 AM · gpg4win, gpgagent, gnupg (gpg22), scd, Windows, Bug Report, yubikey
Arnaud added a comment to T3781: ECC encryption key on-card generation broken.

This would be a good solution.

Mar 5 2018, 11:05 AM · g10, scd, Bug Report
werner added a comment to T3781: ECC encryption key on-card generation broken.

This has also the advantage that we could list the possible curves and let the user select them.

Mar 5 2018, 9:40 AM · g10, scd, Bug Report
werner added a comment to T3781: ECC encryption key on-card generation broken.

So should we revert this patch and replace it by an explicit command to switch the card to ECC?

Mar 5 2018, 9:39 AM · g10, scd, Bug Report
gniibe created T3823: gpg frontend support to setup KDF DO.
Mar 5 2018, 8:49 AM · scd

Feb 26 2018

gniibe closed T3201: KDF DO support enhancement, a subtask of T3152: KDF DO support in OpenPGP card, as Resolved.
Feb 26 2018, 8:00 AM · scd
gniibe closed T3201: KDF DO support enhancement as Resolved.

It's in GnuPG 2.2.4, now.

Feb 26 2018, 8:00 AM · gnupg (gpg22), scd
gniibe closed T3576: Open PGP SmartCard V2.1 - decryption error: ERR 100663364 Missing item in object <SCD> as Resolved.

It's a bug in the OpenPGP card implementation.
I put an entry in Wiki: https://wiki.gnupg.org/SmartCard#Known_Bug.28s.29_of_OpenPGPcard

Feb 26 2018, 7:58 AM · Info Needed, scd, Bug Report
gniibe closed T3508: GPG 2.2.2 not recognizing card reader under Linux as Resolved.
Feb 26 2018, 7:54 AM · scd, Bug Report

Feb 13 2018

gniibe claimed T3781: ECC encryption key on-card generation broken.
Feb 13 2018, 5:33 AM · g10, scd, Bug Report

Feb 6 2018

Arnaud updated the task description for T3781: ECC encryption key on-card generation broken.
Feb 6 2018, 6:12 PM · g10, scd, Bug Report
Arnaud updated the task description for T3781: ECC encryption key on-card generation broken.
Feb 6 2018, 6:11 PM · g10, scd, Bug Report
Arnaud created T3781: ECC encryption key on-card generation broken.
Feb 6 2018, 6:10 PM · g10, scd, Bug Report

Jan 23 2018

fogine closed T3752: gpg --card-status does NOT to create secret key stubs as Invalid.

My apologies , after the system upgrade, multiple things around gnupg broke and I got distracted and forgot to check the fetched public key, which somehow didn't contain subkey data.
This particular issue has been resolved by updating upstream public key.
Thank you for your assistance.

Jan 23 2018, 2:36 AM · scd, gnupg (gpg22), Bug Report

Jan 22 2018

gniibe triaged T3752: gpg --card-status does NOT to create secret key stubs as Normal priority.

I use Debian stretch. It works for me with GnuPG 2.2.4.
The stub is created at the time when --card-edit accesses the card.
When I type RET after fetch command, it shows the key information.

Jan 22 2018, 11:34 AM · scd, gnupg (gpg22), Bug Report
gniibe claimed T3752: gpg --card-status does NOT to create secret key stubs .
Jan 22 2018, 11:00 AM · scd, gnupg (gpg22), Bug Report
werner added projects to T3752: gpg --card-status does NOT to create secret key stubs : gnupg (gpg22), scd.
Jan 22 2018, 10:44 AM · scd, gnupg (gpg22), Bug Report

Jan 12 2018

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

Oh dear what an evening and morning. I reversed the facts I reported. Sure 2.1 is borken - that is the whole point. ( I realized that only after install 2.2.4 and generating fresh keys). To avoid confusion I will delete my last comments.

Jan 12 2018, 9:59 AM · Info Needed, scd, Bug Report
werner added a comment to T3576: Open PGP SmartCard V2.1 - decryption error: ERR 100663364 Missing item in object <SCD>.
Jan 12 2018, 9:14 AM · Info Needed, scd, Bug Report
werner added a comment to T3576: Open PGP SmartCard V2.1 - decryption error: ERR 100663364 Missing item in object <SCD>.
Jan 12 2018, 9:04 AM · Info Needed, scd, Bug Report
aheinecke closed T3735: GnuPG, Scdaemon: Decryption fails - Missing Item in Object - No Secret Key as Invalid.

Duplicate of T3576

Jan 12 2018, 9:02 AM · scd, gnupg
aheinecke created T3735: GnuPG, Scdaemon: Decryption fails - Missing Item in Object - No Secret Key.
Jan 12 2018, 7:49 AM · scd, gnupg
gniibe added a comment to T3576: Open PGP SmartCard V2.1 - decryption error: ERR 100663364 Missing item in object <SCD>.

@werner It's just simple; With --personal-cipher-preferences 3DES (3DES only), make a encrypted message. Then, try to decrypt the message with OpenPGPcard (version 2.1 and later).

Jan 12 2018, 12:43 AM · Info Needed, scd, Bug Report

Jan 10 2018

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

I find your question confusing. I'm the reporter of this bug. All the efforts and tries of gniibe and myself are documented above.
Or do you refrer to something else ?

Jan 10 2018, 11:32 PM · Info Needed, scd, Bug Report
werner added a comment to T3576: Open PGP SmartCard V2.1 - decryption error: ERR 100663364 Missing item in object <SCD>.

Can you exactly explain how you tested this?

Jan 10 2018, 10:26 PM · Info Needed, scd, Bug Report
dirk added a comment to T3576: Open PGP SmartCard V2.1 - decryption error: ERR 100663364 Missing item in object <SCD>.

I also have the 2.1 Card which has this bug
Version ..........: 2.1
Manufacturer .....: ZeitControl

Jan 10 2018, 10:07 PM · Info Needed, scd, Bug Report

Jan 9 2018

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

FWIW, I ran the same test with three card versions:

Jan 9 2018, 10:20 AM · Info Needed, scd, Bug Report
gniibe added a comment to T3576: Open PGP SmartCard V2.1 - decryption error: ERR 100663364 Missing item in object <SCD>.

I forwarded the bug report to the OpenPGP card author.
I think that 2.0 card is OK, 2.1, 2.2, and 3.3 card have this bug.

Jan 9 2018, 2:41 AM · Info Needed, scd, Bug Report

Jan 6 2018

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

So the assumption is it is an Error of the GnuPG card.
I tried today with an Yubikey 4 and it works. This confirms the theorie.
However - my preference is on the Smartcards. So how would we proceed now. Who can check for the error and correct it / flash a new version on a card.
I would offer to verify if it is fixed.

Jan 6 2018, 8:35 PM · Info Needed, scd, Bug Report

Jan 5 2018

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

Here is an extract of the log file which shows the assumed cause

Jan 5 2018, 11:32 AM · Info Needed, scd, Bug Report
gniibe added a comment to T3576: Open PGP SmartCard V2.1 - decryption error: ERR 100663364 Missing item in object <SCD>.

OK. I managed to reproduce same behavior. I think that it is a bug of OpenPGP card implementation.
Here is the log:


In the log above, I did for RSA-2048. I also did for RSA-4096. The result was same: it was failed with 6A88
I guess that the implementation somehow confuses with the sequence of 00 02 which appears with 3DES.

Jan 5 2018, 1:36 AM · Info Needed, scd, Bug Report

Jan 4 2018

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

I sent the gpg: DBG: DEK frame via encrypted eMail to you. Hope this helps.

Jan 4 2018, 11:40 AM · Info Needed, scd, Bug Report
werner added a comment to T3576: Open PGP SmartCard V2.1 - decryption error: ERR 100663364 Missing item in object <SCD>.

FWIW, the old format was only used up to PGP 2.3 . PGP 2.6 used the new format. This is actually more indication that the message has not been generated by an old PGP version.

Jan 4 2018, 10:00 AM · Info Needed, scd, Bug Report
gniibe added a comment to T3576: Open PGP SmartCard V2.1 - decryption error: ERR 100663364 Missing item in object <SCD>.

Could you please give me the debug output line for DEK frame: by encrypted mail to me? So far, I can't find any likely scenario where an error occurs with smartcard. (Use of PGP2.6 is unlikely.)

Jan 4 2018, 5:51 AM · Info Needed, scd, Bug Report

Dec 31 2017

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

The conformance problem may (only) happen between PGP 2.6 and OpenPGPcard, because PGP 2.6 uses old format not compatible to PKCS#1, but OpenPGPcard requires PKCS#1.

Dec 31 2017, 8:12 AM · Info Needed, scd, Bug Report

Dec 30 2017

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

Ok - thats good news.
Thank you very much for your analysis.

Dec 30 2017, 1:08 PM · Info Needed, scd, Bug Report

Dec 29 2017

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

OK, I got the picture, now.

Dec 29 2017, 8:51 AM · Info Needed, scd, Bug Report
gniibe added a comment to T3576: Open PGP SmartCard V2.1 - decryption error: ERR 100663364 Missing item in object <SCD>.

Well, my speculation of SERIALNO undefined may be wrong.

Dec 29 2017, 8:23 AM · Info Needed, scd, Bug Report
gniibe added a comment to T3576: Open PGP SmartCard V2.1 - decryption error: ERR 100663364 Missing item in object <SCD>.

Thanks, I received the log file.

Dec 29 2017, 7:51 AM · Info Needed, scd, Bug Report

Dec 28 2017

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

Thank you for your efforts. Logfiles is in the mail

Dec 28 2017, 5:10 PM · Info Needed, scd, Bug Report
gniibe added a comment to T3576: Open PGP SmartCard V2.1 - decryption error: ERR 100663364 Missing item in object <SCD>.

Thanks a lot for your testing. Here are my keys:

Dec 28 2017, 2:16 AM · Info Needed, scd, Bug Report

Dec 27 2017

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

All right - that was quicker.
I deinstalled pcscd (apt remove pcscd)
I changed .gnupg/scdaemon.conf as you proposed.
I tried again to decrypt the message (in the meantime I have a file) which works decrypting withoutl SmartCard when I use it on a pc with the key.
Still failed. Can I send you the Logfile encrypted ? If so - what is you eMail / key.

Dec 27 2017, 11:37 PM · Info Needed, scd, Bug Report
dirk added a comment to T3576: Open PGP SmartCard V2.1 - decryption error: ERR 100663364 Missing item in object <SCD>.

As said - it took me a while. Sorry for the delay.
I could dig out the Key in some archives. So I was able to test the decryption of the message on a computer without smartcard.
It worked.

Dec 27 2017, 11:23 PM · Info Needed, scd, Bug Report
gniibe changed the status of T3508: GPG 2.2.2 not recognizing card reader under Linux from Open to Testing.
Dec 27 2017, 9:31 AM · scd, Bug Report
gniibe added a comment to T3508: GPG 2.2.2 not recognizing card reader under Linux.

Thanks a lot. I'm going to push the fix to 2.2 (and then master).
In short, it was the bug in ccid-driver of scdaemon, which was introduced last year when I enhanced it to support multiple card readers at once.

Dec 27 2017, 12:44 AM · scd, Bug Report

Dec 26 2017

enno added a comment to T3508: GPG 2.2.2 not recognizing card reader under Linux.

Yes, thank you, the smartcard is being recognized now.

Dec 26 2017, 1:07 PM · scd, Bug Report
gniibe added a comment to T3508: GPG 2.2.2 not recognizing card reader under Linux.

Thanks (again). According to the status code (bStatus), the card reader said no card is available.
Could you please remove the card and re-insert it, and do 'gpg --card-status'?

Dec 26 2017, 12:51 PM · scd, Bug Report
enno added a comment to T3508: GPG 2.2.2 not recognizing card reader under Linux.

After

patch -i scdaemon-fix-for-inactive-start.diff scd/ccid-driver.c

the following log obtains.

Dec 26 2017, 11:07 AM · scd, Bug Report

Dec 25 2017

gniibe added a comment to T3508: GPG 2.2.2 not recognizing card reader under Linux.

Thanks a lot for your testing. Please test this patch:

Dec 25 2017, 10:47 PM · scd, Bug Report
enno added a comment to T3508: GPG 2.2.2 not recognizing card reader under Linux.

After installing libusb-devel, and configure and make, this is the new log.

Dec 25 2017, 6:39 PM · scd, Bug Report
gniibe added a comment to T3508: GPG 2.2.2 not recognizing card reader under Linux.

Thanks. I think that you configured GnuPG without libusb, thus, ccid-driver is not enabled, and you don't have pcscd installed. In this situation, no way to access any smartcard reader.

Dec 25 2017, 3:07 PM · scd, Bug Report
enno added a comment to T3508: GPG 2.2.2 not recognizing card reader under Linux.

Dec 25 2017, 10:15 AM · scd, Bug Report

Dec 24 2017

gniibe added a comment to T3508: GPG 2.2.2 not recognizing card reader under Linux.

Please enable all debug information in scdaemon.conf, like:

verbose
verbose
debug-level guru
debug-all
debug-ccid-driver
log-file /run/user/1000/scdaemon-verbose.log
Dec 24 2017, 10:11 PM · scd, Bug Report
enno added a comment to T3508: GPG 2.2.2 not recognizing card reader under Linux.

The file scdaemon.log is short and contains only:

2017-12-24 12:32:53 scdaemon[4347] écoute sur la socket « /run/user/1000/gnupg/S.scdaemon »
2017-12-24 12:32:53 scdaemon[4347] gestionnaire pour le descripteur -1 démarré
2017-12-24 12:32:53 scdaemon[4347] pcsc_establish_context failed: no service (0x8010001d)
Dec 24 2017, 12:35 PM · scd, Bug Report
gniibe added a comment to T3508: GPG 2.2.2 not recognizing card reader under Linux.

Thanks for your testing. please give me scdaemon.log with updated scdaemon.

Dec 24 2017, 12:03 PM · scd, Bug Report

Dec 23 2017

enno added a comment to T3508: GPG 2.2.2 not recognizing card reader under Linux.

With latestes master, there still appears:

--- ~ » gpg --card-status                                          2 ↵
gpg: NOTE: THIS IS A DEVELOPMENT VERSION!
gpg: It is only intended for test purposes and should NOT be
gpg: used in a production environment or with production keys!
gpg: selecting openpgp failed: Aucun périphérique de ce type
gpg: la carte OpenPGP n'est pas disponible : Aucun périphérique de ce type
Dec 23 2017, 4:08 PM · scd, Bug Report

Dec 13 2017

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

Looking an example code of http://g10code.com/docs/openpgp-card-v21-free-source.zip (Note that this is just an example code), 6A88 can be occurred for PSO:DECIPHER when:

Dec 13 2017, 1:22 AM · Info Needed, scd, Bug Report

Dec 11 2017

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

Thanks a lot. Please note that there is a bit of possibility the messages which cause failure are one of attack vectors. (While most likely case is they are generated by broken implementation.)

Dec 11 2017, 11:34 PM · Info Needed, scd, Bug Report
dirk added a comment to T3576: Open PGP SmartCard V2.1 - decryption error: ERR 100663364 Missing item in object <SCD>.

Im mean GnuPG fails for messages from a particular sender, while it works for messages from other senders.

Dec 11 2017, 10:57 PM · Info Needed, scd, Bug Report
gniibe created T3600: Support ACKNOWLEDGE button for OpenPGP card and/or Token.
Dec 11 2017, 7:35 AM · scd
gniibe added a comment to T3576: Open PGP SmartCard V2.1 - decryption error: ERR 100663364 Missing item in object <SCD>.

Do you mean, GnuPG fails for a particular message, while it works for other messages?
Or do you mean, GnuPG fails for messages from a particular sender, while it works for messages from other senders?

Dec 11 2017, 2:17 AM · Info Needed, scd, Bug Report

Dec 10 2017

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

The new reader arrived. Works find for every message - except obviously this one sender.
See reader https://pcsclite.alioth.debian.org/ccid/supported.html#0x04E60x5116 ti should support large APDU. Same error messages
I think we are on the wrong error track here. It is not the reader. I now tested 4.

Dec 10 2017, 10:03 AM · Info Needed, scd, Bug Report

Dec 8 2017

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

Thank you for your cooperation.

Dec 8 2017, 2:14 AM · Info Needed, scd, Bug Report

Dec 7 2017

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

I still have trouble beliving it is the reader. Since I tried now 3.
As well I have a 4096 bit key and everybody has been encrypting this with my key. Therefore it does not make sense to me.

Dec 7 2017, 9:36 PM · Info Needed, scd, Bug Report
gniibe added a comment to T3576: Open PGP SmartCard V2.1 - decryption error: ERR 100663364 Missing item in object <SCD>.

For Gemalto USB Shell Token V2, libccid has known issue: https://ludovicrousseau.blogspot.jp/2017/03/gemalto-idbridge-k30-k50-ct30-and-zero.html
I don't know about ACR 38U.

Dec 7 2017, 12:07 AM · Info Needed, scd, Bug Report

Dec 6 2017

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

Here two other Reader example - same message - same problem:
Reader: Gemalto USB Shell Token V2 (00483E73) 00 00
Reader: ACS ACR 38U-CCID 00 00

Dec 6 2017, 8:54 PM · Info Needed, scd, Bug Report
gniibe added projects to T3576: Open PGP SmartCard V2.1 - decryption error: ERR 100663364 Missing item in object <SCD>: scd, Info Needed.

For Gemalto Shell Tokens: http://support.gemalto.com/index.php?id=tokens
There are three variants. Please describe detail.

Dec 6 2017, 1:39 AM · Info Needed, scd, Bug Report
gniibe merged task T2285: decryption fails with "Missing item in object" even though private key is available into T3576: Open PGP SmartCard V2.1 - decryption error: ERR 100663364 Missing item in object <SCD>.
Dec 6 2017, 1:14 AM · Info Needed, Bug Report, gnupg, scd

Dec 4 2017

gniibe edited projects for T3201: KDF DO support enhancement, added: gnupg (gpg22); removed gnupg (gpg23).
Dec 4 2017, 2:31 AM · gnupg (gpg22), scd
gniibe edited projects for T3201: KDF DO support enhancement, added: gnupg (gpg23); removed gnupg (gpg22).
Dec 4 2017, 2:30 AM · gnupg (gpg22), scd
gniibe edited projects for T3201: KDF DO support enhancement, added: gnupg (gpg22); removed gnupg (gpg23).

It's in gniibe/scd-kdf-support.
I think it's good to add to GnupG 2.2 branch.

Dec 4 2017, 2:26 AM · gnupg (gpg22), scd
gniibe changed the status of T3152: KDF DO support in OpenPGP card from Open to Testing.
Dec 4 2017, 2:24 AM · scd

Nov 29 2017

gniibe added a comment to T3083: Smartcard access may fail with error "Invalid Value" after resuming system from suspend.

If more fine-grained control is needed with suspend-to-ram, we need to write kernel driver for USB access.

Nov 29 2017, 8:22 AM · Restricted Project, gnupg (gpg22), scd
gniibe closed T3083: Smartcard access may fail with error "Invalid Value" after resuming system from suspend as Resolved.
Nov 29 2017, 8:20 AM · Restricted Project, gnupg (gpg22), scd
gniibe added a comment to T3083: Smartcard access may fail with error "Invalid Value" after resuming system from suspend.

I learned suspend-to-ram functionality. Currently, for Linux, if we have USB driver in kernel, there are methods to handle suspend-to-ram and resume events. For user space driver by libusb, there is nothing and it should all work well by reseting after resume.

Nov 29 2017, 7:18 AM · Restricted Project, gnupg (gpg22), scd

Nov 22 2017

gniibe added a comment to T3508: GPG 2.2.2 not recognizing card reader under Linux.

Another log is not needed, as I located the issue. If you can try building GnuPG from Git repo (it's 2.2 branch now), it helps us a lot.

Nov 22 2017, 1:00 AM · scd, Bug Report

Nov 21 2017

enno added a comment to T3508: GPG 2.2.2 not recognizing card reader under Linux.

Thank you. Do you still need the log files with the settings suggested by Werner? Would I have to compile the master branch to see if it works now?

Nov 21 2017, 4:09 PM · scd, Bug Report
gniibe added a comment to T3508: GPG 2.2.2 not recognizing card reader under Linux.

Thank you for scdamon.log. For the card reader, the interrupt transfer notifies no availability of the card before PC_to_RDR_IccPowerOn.
I fixed this issue in rG0bb7fd0cab2d: scd: Enable card removal check after select_application.. Let's see if it works well for the card reader.

Nov 21 2017, 4:22 AM · scd, Bug Report

Nov 20 2017

werner added a comment to T3508: GPG 2.2.2 not recognizing card reader under Linux.

This is the actual error message from your log file:

2017-11-18 07:45:15 scdaemon[8918] DBG: ccid-driver: idVendor: 04E6  idProduct: 5119  bcdDevice: 0525
[...]
2017-11-18 07:45:15 scdaemon[8918] DBG: ccid-driver:   bMaxCCIDBusySlots       1
2017-11-18 07:45:15 scdaemon[8918] DBG: ccid-driver: CCID submit transfer (83): 0
2017-11-18 07:45:15 scdaemon[8918] DBG: ccid-driver: CCID: card inactive/removed
Nov 20 2017, 4:38 PM · scd, Bug Report
enno added a comment to T3508: GPG 2.2.2 not recognizing card reader under Linux.

Nov 20 2017, 3:27 PM · scd, Bug Report