Page MenuHome GnuPG
Feed All Stories

Jul 25 2019

gniibe claimed T4654: Gemalto Ezio Shield (CT710): CCID command failed: Parameter error at offset 7.

Thanks for your report, with helpful log.

Jul 25 2019, 1:40 AM · scd, Restricted Project, Bug Report

Jul 24 2019

martin.von.wittich created T4654: Gemalto Ezio Shield (CT710): CCID command failed: Parameter error at offset 7.
Jul 24 2019, 6:20 PM · scd, Restricted Project, Bug Report
aheinecke committed rGTO8d5a75e974b0: Add offset for info button tooltip (authored by aheinecke).
Add offset for info button tooltip
Jul 24 2019, 6:16 PM
aheinecke added a comment to T4653: Kleopatra - Change Expiry Date.

thanks for the report and trying to help with Gpg4win. The underlying problem is that our backend (GnuPG) does not provide proper error handling when changing the expiry date. We already had an issue for that so I've merged this task with T4395.

Jul 24 2019, 9:47 AM · Bug Report, gpg4win
aheinecke merged task T4653: Kleopatra - Change Expiry Date into T4395: Kleopatra: Missing error handling when changing expiry.
Jul 24 2019, 9:46 AM · Bug Report, gpg4win
aheinecke merged T4653: Kleopatra - Change Expiry Date into T4395: Kleopatra: Missing error handling when changing expiry.
Jul 24 2019, 9:46 AM · gpa, gnupg, gpgme, gpg4win, kleopatra
gniibe committed rG044379772fc5: common: Fix the previous commit. (authored by gniibe).
common: Fix the previous commit.
Jul 24 2019, 8:34 AM
gniibe committed rGb1c56cf9e2bb: common: Use gnupg_spawn_process_fd to invoke gpg-agent/dirmngr. (authored by gniibe).
common: Use gnupg_spawn_process_fd to invoke gpg-agent/dirmngr.
Jul 24 2019, 8:25 AM
gniibe committed rGa64411c607d5: common,w32: Fix cast from gnupg_fd_t to call _open_osfhandle. (authored by gniibe).
common,w32: Fix cast from gnupg_fd_t to call _open_osfhandle.
Jul 24 2019, 7:29 AM
gniibe committed rE655ed9d83889: w32: Fix HANDLE to internal fd conversion. (authored by gniibe).
w32: Fix HANDLE to internal fd conversion.
Jul 24 2019, 7:21 AM
dkg added a comment to T4652: avoid unnecessary trailing NUL byte in S-expressions.

I've just posted rGb84feb0c82eb to the dkg-fix-T4652 branch, which solves the failure problems by making agent_pkdecrypt and gpgsm_agent_pkdecrypt more robust.

Jul 24 2019, 6:24 AM · gnupg, Bug Report
dkg committed rGb84feb0c82eb: agent: Do not place a trailing NUL byte on S-expression (authored by dkg).
agent: Do not place a trailing NUL byte on S-expression
Jul 24 2019, 6:23 AM
l10n daemon script <scripty@kde.org> committed rKLEOPATRAaabfeaa0060a: SVN_SILENT made messages (.desktop file) - always resolve ours (authored by l10n daemon script <scripty@kde.org>).
SVN_SILENT made messages (.desktop file) - always resolve ours
Jul 24 2019, 5:40 AM
jeffb255 renamed T4653: Kleopatra - Change Expiry Date from Kleopatra - Change Certi to Kleopatra - Change Expiry Date.
Jul 24 2019, 3:46 AM · Bug Report, gpg4win
jeffb255 created T4653: Kleopatra - Change Expiry Date.
Jul 24 2019, 3:45 AM · Bug Report, gpg4win

Jul 23 2019

dkg added a comment to T4652: avoid unnecessary trailing NUL byte in S-expressions.

fwiw, this patch appears to cause gpgsm to fail its test suite:

Jul 23 2019, 6:46 PM · gnupg, Bug Report
Alexander Potashev <aspotashev@gmail.com> committed rKLEOPATRAe8ee6a35065e: i18n: Add context @title:window to window titles (authored by Alexander Potashev <aspotashev@gmail.com>).
i18n: Add context @title:window to window titles
Jul 23 2019, 6:00 PM
dkg committed rG1ae16838660a: agent: Do not place a trailing NUL byte on S-expression (authored by dkg).
agent: Do not place a trailing NUL byte on S-expression
Jul 23 2019, 5:48 PM
dkg updated the task description for T4652: avoid unnecessary trailing NUL byte in S-expressions.
Jul 23 2019, 5:46 PM · gnupg, Bug Report
dkg renamed T4647: "gpg.exe -se" fails when run programmatically, but does not fail when run from the command line from Issue with gpg.exe to "gpg.exe -se" fails when run programmatically, but does not fail when run from the command line.
Jul 23 2019, 5:43 PM · Info Needed, gpg4win, Bug Report
dkg committed rG804ca2dba258: agent: Do not place a trailing NUL byte on S-expression (authored by dkg).
agent: Do not place a trailing NUL byte on S-expression
Jul 23 2019, 5:41 PM
dkg added a comment to T4652: avoid unnecessary trailing NUL byte in S-expressions.

I've just pushed rG1ae16838660a to the dkg-fix-T4652 branch (i just adjusted it the commit message to include the GnuPG-bug-id)

Jul 23 2019, 5:40 PM · gnupg, Bug Report
dkg created T4652: avoid unnecessary trailing NUL byte in S-expressions.
Jul 23 2019, 5:37 PM · gnupg, Bug Report
cezar191 added a comment to T3819: GpgOL Add-In not working in Outlook 2016.

I installed microsoft office 2016 on a brand new laptop and got the same problem described in the post listed above.
My solution was to uninstall the pre-configured app : "Microsoft Office Desktop Apps" and voila!!

Jul 23 2019, 5:02 PM · gpgol
njcooke added a comment to T4647: "gpg.exe -se" fails when run programmatically, but does not fail when run from the command line.

Thanks aheinecke and dkg.
I havent been able to replicate the fault using the command line (using the exact same command and options that our program is calling)
however our R&D dept have,
The next time it fails and we can replicate it we will try the --homedir fix and see if thats it.
Its the same user in the program and command prompt so we dont think its a certificate issue.

Jul 23 2019, 9:39 AM · Info Needed, gpg4win, Bug Report
aheinecke closed T4568: Gpg4win / Kleopatra: Export from clipboard not supported as Wontfix.

when you double click a key and then click "Export" you get a copy & paste version of the key.

Jul 23 2019, 9:20 AM
aheinecke claimed T4576: Outlook window de-(half-)maximizes and misplaced after writing answer.

Thanks for the report. It is always good to have such issues documented.

Jul 23 2019, 9:17 AM · Bug Report, gpg4win
aheinecke added a comment to T4650: Kleopatra crashed with an application error (Windows).

This pretty much matches my test setup. As the crash is in GPGME it is out of Kleopatra's hand. So I'll try to write a test that repeats such a signing for lots of times. I think this is probably some random race condition.

Jul 23 2019, 9:14 AM · gpgme, kleopatra, Bug Report, gpg4win
aheinecke triaged T4615: gpg.exe very slow as Normal priority.

I think that even if the reason is corrupted keys it would be good to handle this better, either in Kleopatra or in GnuPG. e.g. Kleopatra could detect if a keylisting takes too long and offer to do some cleanup programatically.

Jul 23 2019, 9:12 AM · Bug Report, gpg4win
florianh added a comment to T4650: Kleopatra crashed with an application error (Windows).

I don't think I can reproduce it, at least it didn't happen anymore after restarting and continuing the imports. AFAIR it happened after importing the "Master Key", during trying to import the "Release Key" from https://www.chiark.greenend.org.uk/~sgtatham/putty/keys.html
Ah and maybe one more hint: I have several keypairs, so the dialog for choosing the keypair to be used appears in the next step.

Jul 23 2019, 9:12 AM · gpgme, kleopatra, Bug Report, gpg4win
aheinecke triaged T4647: "gpg.exe -se" fails when run programmatically, but does not fail when run from the command line as Low priority.

I'm also not sure how to classify this issue. I'm giving it low priority for now as we do not have the info to determine if this is a program error.

Jul 23 2019, 9:08 AM · Info Needed, gpg4win, Bug Report
aheinecke created T4651: Fix Gpgrelay to build with mingw and work with GnuPG > 2.1.
Jul 23 2019, 8:57 AM · gpg4win
aheinecke claimed T4648: Bug reporting form doesn't recognize Windows 10.

I think we had that issue in the past and solved it. It probably broke again. There is an external library we use for this dialog and that might have regressed in the latest update.

Jul 23 2019, 8:52 AM · Bug Report, gpg4win
aheinecke added projects to T4650: Kleopatra crashed with an application error (Windows): kleopatra, gpgme.
Jul 23 2019, 8:50 AM · gpgme, kleopatra, Bug Report, gpg4win
aheinecke claimed T4650: Kleopatra crashed with an application error (Windows).

Mmh, the error log only tells me that it crashed in our GPGME library. So it is a bug in our software.

Jul 23 2019, 8:50 AM · gpgme, kleopatra, Bug Report, gpg4win
aheinecke claimed T4649: Improvement proposal for the trusting process (Beglaubigung).

Hi Florian,

Jul 23 2019, 8:47 AM · Bug Report, gpg4win
florianh created T4650: Kleopatra crashed with an application error (Windows).
Jul 23 2019, 8:44 AM · gpgme, kleopatra, Bug Report, gpg4win
florianh created T4649: Improvement proposal for the trusting process (Beglaubigung).
Jul 23 2019, 8:40 AM · Bug Report, gpg4win
florianh created T4648: Bug reporting form doesn't recognize Windows 10.
Jul 23 2019, 8:20 AM · Bug Report, gpg4win
gniibe committed rG7bfbb9fa7e76: gpg: A little clean up. (authored by gniibe).
gpg: A little clean up.
Jul 23 2019, 5:55 AM
dkg added a comment to T4647: "gpg.exe -se" fails when run programmatically, but does not fail when run from the command line.

This report doesn't contain enough information to be able to tell you why the command is failing within your program, but not failing outside of it.

Jul 23 2019, 5:16 AM · Info Needed, gpg4win, Bug Report
njcooke created T4647: "gpg.exe -se" fails when run programmatically, but does not fail when run from the command line.
Jul 23 2019, 1:39 AM · Info Needed, gpg4win, Bug Report

Jul 22 2019

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

Thanks for clarification.
However, CCID_CMD_TIMEOUT should be then based on BWT value reported by the card/reader, as bulk_in() function will still timeout if BWT is longer than 5 seconds.

Jul 22 2019, 12:50 PM · scd, Bug Report
nephirus closed T4645: scd: Configurable pinpad timeout as Invalid.

Thanks for pointing me in the right direction. I was confused by the hard-coded timeout value and got it all wrong.

Jul 22 2019, 12:26 PM · Info Needed, scd, Feature Request
gniibe committed rC6d80f3f12dc2: build: Use {CFLAGS,CPPFLAGS,LDFLAGS}_FOR_BUILD for helper programs. (authored by gniibe).
build: Use {CFLAGS,CPPFLAGS,LDFLAGS}_FOR_BUILD for helper programs.
Jul 22 2019, 9:25 AM
gniibe committed rC6126fc2f180a: build: Fix previous commit. (authored by gniibe).
build: Fix previous commit.
Jul 22 2019, 9:25 AM
summitto added a comment to T169: Add a way to generate keypairs from a passphrase.

Hi everyone,

Jul 22 2019, 8:47 AM · gnupg, Feature Request
gniibe changed the status of T4633: gpg argument "--passphrase=" yields 'missing argument for option "--passphrase="' from Open to Testing.

Backported.

Jul 22 2019, 7:23 AM · Restricted Project, gnupg (gpg22), Bug Report
gniibe committed rGb21133ba80f2: gpg: The option --passphrase= can be empty. (authored by gniibe).
gpg: The option --passphrase= can be empty.
Jul 22 2019, 4:27 AM
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 committed rKb92ec7f502d9: build: Use {CFLAGS,CPPFLAGS,LDFLAGS}_FOR_BUILD for helper program. (authored by gniibe).
build: Use {CFLAGS,CPPFLAGS,LDFLAGS}_FOR_BUILD for helper program.
Jul 22 2019, 4:13 AM
gniibe committed rG13bc0431ff1c: scd: Error code map fix for older Yubikey. (authored by gniibe).
scd: Error code map fix for older Yubikey.
Jul 22 2019, 3:17 AM
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

dkg committed rG6ca2289a9d9c: dirmngr: Don't add system CAs for SKS HKPS pool. (authored by gniibe).
dirmngr: Don't add system CAs for SKS HKPS pool.
Jul 20 2019, 8:21 PM
dkg committed rG9e12829299c7: gpg: Fix keyring retrieval. (authored by gniibe).
gpg: Fix keyring retrieval.
Jul 20 2019, 8:21 PM
dkg committed rGf56d60f43bcc: gpg: Improve import slowness. (authored by gniibe).
gpg: Improve import slowness.
Jul 20 2019, 8:21 PM
dkg committed rGca820eda3248: fix spelling (authored by dkg).
fix spelling
Jul 20 2019, 8:21 PM
dkg committed rGab76d6483741: gpg: drop import-clean from default keyserver import options (authored by dkg).
gpg: drop import-clean from default keyserver import options
Jul 20 2019, 8:21 PM
dkg committed rG253024a536a3: Use hkps://keys.openpgp.org as the default keyserver (authored by dkg).
Use hkps://keys.openpgp.org as the default keyserver
Jul 20 2019, 8:21 PM
dkg committed rG4c9bfbe23877: Make gpg-zip use tar from $PATH (authored by dkg).
Make gpg-zip use tar from $PATH
Jul 20 2019, 8:21 PM
dkg committed rGe70841404d72: gpg: allow import of previously known keys, even without UIDs (authored by Valodim).
gpg: allow import of previously known keys, even without UIDs
Jul 20 2019, 8:21 PM
dkg committed rGb2605ad61451: gpg: accept subkeys with a good revocation but no self-sig during import (authored by Valodim).
gpg: accept subkeys with a good revocation but no self-sig during import
Jul 20 2019, 8:21 PM
dkg committed rG2627cd5e54ab: tests: add test cases for import without uid (authored by Valodim).
tests: add test cases for import without uid
Jul 20 2019, 8:21 PM
dkg committed rG263a07f04d13: dirmngr: Only use SKS pool CA for SKS pool (authored by dkg).
dirmngr: Only use SKS pool CA for SKS pool
Jul 20 2019, 8:21 PM
dkg committed rGa446c4db9574: gpg: Default to SHA-512 for all signature types on RSA keys. (authored by dkg).
gpg: Default to SHA-512 for all signature types on RSA keys.
Jul 20 2019, 8:21 PM
dkg committed rG7576681260e6: gpg: Prefer SHA-512 and SHA-384 in personal-digest-preferences. (authored by dkg).
gpg: Prefer SHA-512 and SHA-384 in personal-digest-preferences.
Jul 20 2019, 8:21 PM
dkg committed rGf7c787285335: gpg: default to AES-256. (authored by dkg).
gpg: default to AES-256.
Jul 20 2019, 8:21 PM
dkg committed rG9420c525db20: gpg: default to 3072-bit RSA keys. (authored by dkg).
gpg: default to 3072-bit RSA keys.
Jul 20 2019, 8:21 PM
dkg committed rGd369f30f319f: agent: Allow threads to interrupt main select loop with SIGCONT. (authored by dkg).
agent: Allow threads to interrupt main select loop with SIGCONT.
Jul 20 2019, 8:21 PM
dkg committed rGb76dacf10dd3: agent: Avoid scheduled checks on socket when inotify is working. (authored by dkg).
agent: Avoid scheduled checks on socket when inotify is working.
Jul 20 2019, 8:21 PM
dkg committed rGe7e570809146: agent: Avoid tight timer tick when possible. (authored by dkg).
agent: Avoid tight timer tick when possible.
Jul 20 2019, 8:21 PM
dkg committed rG38ab07d34464: dirmngr: Avoid automatically checking upstream swdb. (authored by dkg).
dirmngr: Avoid automatically checking upstream swdb.
Jul 20 2019, 8:21 PM
dkg committed rG758212d3b25e: agent: Create framework of scheduled timers. (authored by dkg).
agent: Create framework of scheduled timers.
Jul 20 2019, 8:21 PM
dkg committed rG4e63d9c07c43: dirmngr: Avoid need for hkp housekeeping. (authored by dkg).
dirmngr: Avoid need for hkp housekeeping.
Jul 20 2019, 8:21 PM
dkg committed rG337ae2374e79: Avoid simple memory dumps via ptrace (authored by dkg).
Avoid simple memory dumps via ptrace
Jul 20 2019, 8:21 PM
dkg committed rG24507b15672d: dirmngr: hkp: Avoid potential race condition when some hosts die. (authored by dkg).
dirmngr: hkp: Avoid potential race condition when some hosts die.
Jul 20 2019, 8:21 PM
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
dkg added a comment to T4393: GnuPG should always accept key updates even if the update does not contain UIDs.

@werner wrote:

Other tasks in master are right now more important.

Jul 20 2019, 1:39 AM · gnupg (gpg23), Feature Request
gniibe added a comment to T4619: Unable to decrypt symmetric-key encrypted data.

Yes: at least 255 times.

Jul 20 2019, 12:28 AM · gnupg24, gnupg (gpg23), Bug Report

Jul 19 2019

stm added a comment to T4619: Unable to decrypt symmetric-key encrypted data.

IIUC, there is only a single recipient, but it has 256 SKESK packets, while only a single SKESK is valid and others are all dummy, right?

Jul 19 2019, 6:35 PM · gnupg24, gnupg (gpg23), Bug Report
werner added a comment to T4393: GnuPG should always accept key updates even if the update does not contain UIDs.

Other tasks in master are right now more important. You need to wait a bit more.

Jul 19 2019, 5:39 PM · gnupg (gpg23), Feature Request
Laurent Montel <montel@kde.org> committed rLIBKLEO87a4b7e482ec: GIT_SILENT: Prepare 5.12.0 rc (authored by Laurent Montel <montel@kde.org>).
GIT_SILENT: Prepare 5.12.0 rc
Jul 19 2019, 5:22 PM
Valodim added a comment to T4393: GnuPG should always accept key updates even if the update does not contain UIDs.

So, what about this? If I recall correctly, we had agreed in the call to merge this patch, at least into master?

Jul 19 2019, 4:52 PM · gnupg (gpg23), Feature Request
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
gniibe claimed T4633: gpg argument "--passphrase=" yields 'missing argument for option "--passphrase="'.

Patch is pushed to master. Will be backported to 2.2.

Jul 19 2019, 10:20 AM · Restricted Project, gnupg (gpg22), Bug Report
gniibe committed rGfcd766719a6e: gpg: The option --passphrase= can be empty. (authored by gniibe).
gpg: The option --passphrase= can be empty.
Jul 19 2019, 10:19 AM
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 committed rG98f4eff7ffde: card: Fix showing KDF object attribute. (authored by gniibe).
card: Fix showing KDF object attribute.
Jul 19 2019, 6:29 AM
gniibe committed rG57565d5f975d: scd: Support "[CHV3]" attribute for keyid string. (authored by gniibe).
scd: Support "[CHV3]" attribute for keyid string.
Jul 19 2019, 6:25 AM
gniibe committed rG9c0cd9d07546: card: Support disabling KDF functionality. (authored by gniibe).
card: Support disabling KDF functionality.
Jul 19 2019, 6:25 AM
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
gniibe triaged T4643: gpgrt: enable the environment to set compiler and linker flags for helper tools as Normal priority.
Jul 19 2019, 3:05 AM · gpgrt, Feature Request
gniibe claimed T4643: gpgrt: enable the environment to set compiler and linker flags for helper tools.

Thank you. Merged.

Jul 19 2019, 3:04 AM · gpgrt, Feature Request