Page MenuHome GnuPG
Feed Advanced Search

Dec 27 2017

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 committed rG4f88b0f56134: scd: Fix for inactive card at start by internal CCID driver. (authored by gniibe).
scd: Fix for inactive card at start by internal CCID driver.
Dec 27 2017, 9:26 AM
gniibe triaged T3624: 2.2.4 make error as Normal priority.

Thanks for your report. This is because GnuPG 2.2.4 now requires newer libassuan (in order to fix a race condition).

Dec 27 2017, 3:19 AM · 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

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

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
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

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
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 19 2017

gniibe renamed T3619: po: msgstr entries with unmatched %-format string (was: gpg --full-gen-key cause segfault under ja_JP.UTF-8 locale) from gpg --full-gen-key cause segfault under ja_JP.UTF-8 locale to po: msgstr entries with unmatched %-format string (was: gpg --full-gen-key cause segfault under ja_JP.UTF-8 locale).
Dec 19 2017, 3:31 AM · gnupg, Bug Report
gniibe added a comment to T3619: po: msgstr entries with unmatched %-format string (was: gpg --full-gen-key cause segfault under ja_JP.UTF-8 locale).

OK. I realized that msgfmt -c only works when #, c-format exist.
To check all problems, I did something like following for 1.4, 2.0, 2.2, and master:

Dec 19 2017, 3:25 AM · gnupg, Bug Report

Dec 18 2017

gniibe changed the status of T3619: po: msgstr entries with unmatched %-format string (was: gpg --full-gen-key cause segfault under ja_JP.UTF-8 locale) from Open to Testing.

Thanks for the report. It seems there has been this bug for four years.
I don't know the reason why msgfmt -c doen't show us the error.
Fixed in repos of GnuPG 1.4, 2.2, 2.0 and master.

Dec 18 2017, 6:35 AM · gnupg, Bug Report
gniibe committed rGcdbb19e9e6af: po: Update Japanese translation. (authored by gniibe).
po: Update Japanese translation.
Dec 18 2017, 6:35 AM
gniibe committed rG1338bce5f66a: po: Update Japanese translation. (authored by gniibe).
po: Update Japanese translation.
Dec 18 2017, 6:29 AM
gniibe committed rG77e2fcb4ffba: po: Update Japanese translation. (authored by gniibe).
po: Update Japanese translation.
Dec 18 2017, 6:25 AM
gniibe committed rGe3ddeff66e8c: po: Update Japanese translation. (authored by gniibe).
po: Update Japanese translation.
Dec 18 2017, 6:25 AM

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 12 2017

gniibe closed T3027: gpg-agent crash on macOS Sierra triggerd by ssh as Resolved.

Please open another report, not reusing similar. I don't think it's same bug.
Please note that GnuPG's ssh is not fast enough (intentionally), its rate is usually ten connections per second.

Dec 12 2017, 12:12 AM · Bug Report, gpgagent, gnupg

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
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 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
gniibe committed rG5c121d44443b: agent: Fix description of shadow format. (authored by gniibe).
agent: Fix description of shadow format.
Dec 8 2017, 1:21 AM

Dec 7 2017

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

gniibe committed rAa627350eed5d: Use wrapped __assuan_usleep for _assuan_npth_usleep. (authored by gniibe).
Use wrapped __assuan_usleep for _assuan_npth_usleep.
Dec 6 2017, 12:06 PM
gniibe added a comment to D457: Avoid crash using nPth.

Applied to libassuan master.

Dec 6 2017, 12:05 PM · libassuan
gniibe added a comment to T3378: gpg-agent.exe hanging after left to idle for a while.

Thanks for testing.
I created another patch which can be applied independently: D457: Avoid crash using nPth

Dec 6 2017, 10:47 AM · Windows, libassuan, gpgagent, Bug Report
gniibe created D457: Avoid crash using nPth.
Dec 6 2017, 10:43 AM · libassuan
gniibe added a comment to T3378: gpg-agent.exe hanging after left to idle for a while.

The patch above libassuan-hang-test.diff requires D455 and D456 applied.
I guess that without the patch for testing, current gpg-agent would just work fine, possibly. (no crash)

Dec 6 2017, 10:23 AM · Windows, libassuan, gpgagent, Bug Report
gniibe created D456: Change SOCK_CTX (internal one) system hooks.
Dec 6 2017, 10:22 AM · gnupg (gpg22), gpgagent
gniibe created D455: Allow change of system hooks for assuan_sock_....
Dec 6 2017, 10:18 AM · libassuan
gniibe added a comment to T3378: gpg-agent.exe hanging after left to idle for a while.

For better reproducibility of hang, this is more better:


It's a patch to libassuan. The patch to gpg-agent is not the exact one. libassuan patch is the exact one.

Dec 6 2017, 7:54 AM · Windows, libassuan, gpgagent, Bug Report
gniibe added a comment to T3378: gpg-agent.exe hanging after left to idle for a while.

To reproduce this problem of nonce write->read race on Windows, and forgotten wrapping of read/write, please apply this patch for testing:


And then, please confirm that rG1524ba9656f0: agent: Set assuan system hooks before call of assuan_sock_init. can fix this, even with the patch for testing.

Dec 6 2017, 6:40 AM · Windows, libassuan, gpgagent, Bug Report
gniibe committed rG1524ba9656f0: agent: Set assuan system hooks before call of assuan_sock_init. (authored by gniibe).
agent: Set assuan system hooks before call of assuan_sock_init.
Dec 6 2017, 3:32 AM
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 added a comment to T3576: Open PGP SmartCard V2.1 - decryption error: ERR 100663364 Missing item in object <SCD>.

I checked a card reader: https://pcsclite.alioth.debian.org/ccid/readers/CardMan3121.txt

Dec 6 2017, 1:24 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
gniibe merged 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, scd, Bug Report
gniibe claimed T3576: Open PGP SmartCard V2.1 - decryption error: ERR 100663364 Missing item in object <SCD>.

We had similar report back in 2015, but it was not fixed in GnuPG (possibly, card reader problem):
https://lists.gnupg.org/pipermail/gnupg-users/2015-September/thread.html#54345

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

Dec 4 2017

gniibe committed rG0d0b9eb0d4f9: g10: Fix regexp sanitization. (authored by gniibe).
g10: Fix regexp sanitization.
Dec 4 2017, 11:55 AM
gniibe committed rG9441946e1824: g10: Fix regexp sanitization. (authored by gniibe).
g10: Fix regexp sanitization.
Dec 4 2017, 11:55 AM
gniibe committed rG9ba0e2c76c0c: g10: Fix regexp sanitization. (authored by gniibe).
g10: Fix regexp sanitization.
Dec 4 2017, 11:55 AM
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
gniibe closed T3276: the calibrate_get_time() function depends on a system that has a non-tickless kernel as Resolved.
Dec 4 2017, 2:23 AM · Bug Report

Dec 3 2017

gniibe renamed Wiki Home from Call -1(877) 658 5919 ituNEs pHoNe number^ ituNEs cOnTaCt to Wiki Home.
Dec 3 2017, 8:16 AM

Dec 1 2017

gniibe closed D454: assuan_close with nPth.

Applied.

Dec 1 2017, 6:13 AM · libassuan
gniibe removed a reviewer for D454: assuan_close with nPth: wk.
Dec 1 2017, 6:13 AM · libassuan
gniibe added a comment to T3378: gpg-agent.exe hanging after left to idle for a while.

Thanks everyone. I think that the problem is identified and fixed in libassuan.

Dec 1 2017, 12:13 AM · Windows, libassuan, gpgagent, Bug Report

Nov 30 2017

gniibe committed rA0b551de6ca57: Wrap assuan_close for nPth. (authored by gniibe).
Wrap assuan_close for nPth.
Nov 30 2017, 10:20 AM
gniibe added a comment to T3378: gpg-agent.exe hanging after left to idle for a while.

Suppose a client which connects stopped task of server on Windows. In this situation, if the client blocks on closesocket, that is, some user space work is needed for server side for closing socket of client side, this bug can be explained.

Nov 30 2017, 10:02 AM · Windows, libassuan, gpgagent, Bug Report
gniibe updated the summary of D454: assuan_close with nPth.
Nov 30 2017, 9:38 AM · libassuan
gniibe added a comment to T3378: gpg-agent.exe hanging after left to idle for a while.

If disable-check-own-socket can stop hanging, D454: assuan_close with nPth could be related.

Nov 30 2017, 9:37 AM · Windows, libassuan, gpgagent, Bug Report
gniibe added a reviewer for D454: assuan_close with nPth: wk.
Nov 30 2017, 9:34 AM · libassuan
gniibe created D454: assuan_close with nPth.
Nov 30 2017, 9:34 AM · libassuan
gniibe committed rPTH167b0dde6f77: w32: Fix memory leak for npth_create. (authored by gniibe).
w32: Fix memory leak for npth_create.
Nov 30 2017, 3:19 AM

Nov 29 2017

gniibe closed T3472: gpgme-1.9.0 test suite hangs on OpenBSD, a subtask of T3276: the calibrate_get_time() function depends on a system that has a non-tickless kernel, as Resolved.
Nov 29 2017, 8:22 AM · Bug Report
gniibe closed T3472: gpgme-1.9.0 test suite hangs on OpenBSD as Resolved.
Nov 29 2017, 8:22 AM · gpgagent, gnupg (gpg22), gpgme
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 28 2017

gniibe added a comment to T3378: gpg-agent.exe hanging after left to idle for a while.

I introduce GnuPG to my friend, yesterday. I saw this problem. It's on Windows 7, gpg4win 3.0.1 and enigmail.
Looking through this report, Windows 7 is common factor.

Nov 28 2017, 2:04 AM · Windows, libassuan, gpgagent, Bug Report

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

gniibe committed rMc441fb73130f: tests: Make portability fix. (authored by gniibe).
tests: Make portability fix.
Nov 21 2017, 7:40 AM
gniibe added a comment to T3056: gpgme-1.8.0: test failures on NetBSD.

There are multiple problems. I fixed one Makefile portability issue today.

Nov 21 2017, 7:39 AM · gpgme (gpgme 1.23.x), gpgagent, gnupg (gpg23)
gniibe edited projects for T2923: trust signature domain restrictions don't work, added: gnupg (gpg14); removed gnupg (gpg23).

It's fixed in master.
It is good to backport this to GnuPG 2.2 and GnuPG 1.4.

Nov 21 2017, 6:04 AM · gnupg (gpg14), Bug Report
gniibe abandoned D449: [PATCH] sm3: implement SM3 hash algorithm.
Nov 21 2017, 4:49 AM
gniibe commandeered D449: [PATCH] sm3: implement SM3 hash algorithm.
Nov 21 2017, 4:49 AM
gniibe removed a reviewer for D449: [PATCH] sm3: implement SM3 hash algorithm: wk.

Applied to master already.

Nov 21 2017, 4:47 AM
gniibe abandoned D450: clock_gettime if CLOCK_THREAD_CPUTIME_ID is available..

This is applied to master and 2.2.

Nov 21 2017, 4:46 AM
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
gniibe committed rG0bb7fd0cab2d: scd: Enable card removal check after select_application. (authored by gniibe).
scd: Enable card removal check after select_application.
Nov 21 2017, 4:19 AM
gniibe added a comment to T3276: the calibrate_get_time() function depends on a system that has a non-tickless kernel.

Fixed in 2.2.3 and master. Closing.

Nov 21 2017, 12:14 AM · Bug Report
gniibe added a comment to T3472: gpgme-1.9.0 test suite hangs on OpenBSD.

Fixed in 2.2.3, too. Closing.

Nov 21 2017, 12:13 AM · gpgagent, gnupg (gpg22), gpgme

Nov 20 2017

gniibe added a comment to T3378: gpg-agent.exe hanging after left to idle for a while.

Not yet located or identified the bug, but some information.

Nov 20 2017, 11:50 AM · Windows, libassuan, gpgagent, Bug Report
gniibe claimed T3508: GPG 2.2.2 not recognizing card reader under Linux.

For some reason, scdaemon.log is not yet available here. Please put it again.

Nov 20 2017, 7:16 AM · scd, Bug Report
gniibe abandoned D452: Build: FreeBSD make.

Applied to 2.2 branch.

Nov 20 2017, 4:04 AM · gnupg
gniibe committed rG3ecd1a41be7c: build: Check -Wlogical-op flag availability with -Werror. (authored by gniibe).
build: Check -Wlogical-op flag availability with -Werror.
Nov 20 2017, 4:02 AM
gniibe committed rGe1984969cac0: build: BSD make support for yat2m. (authored by gniibe).
build: BSD make support for yat2m.
Nov 20 2017, 3:39 AM

Nov 17 2017

gniibe committed rE814783e753fa: Spelling fixes in docs and comments. (authored by gniibe).
Spelling fixes in docs and comments.
Nov 17 2017, 2:02 PM
gniibe committed rEe71c0d39d2fb: gpgscm: Fix test program. (authored by gniibe).
gpgscm: Fix test program.
Nov 17 2017, 2:01 PM
gniibe committed rEd372378d28b2: More change for common. (authored by gniibe).
More change for common.
Nov 17 2017, 2:01 PM
gniibe committed rE42b61e846917: Fix more spelling (authored by dkg).
Fix more spelling
Nov 17 2017, 2:01 PM
gniibe committed rE95f7320a37d3: tests/gpgscm: Fix use of pointer. (authored by gniibe).
tests/gpgscm: Fix use of pointer.
Nov 17 2017, 2:01 PM

Nov 16 2017

gniibe added a project to T3283: Set 'mym4_revision' to 0 if not a git repo: npth.

Add the tag of npth (forgotten).

Nov 16 2017, 12:19 AM · libgcrypt, Bug Report

Nov 14 2017

gniibe committed rC334e1a1cfc8f: tests: Add HAVE_MMAP check for MinGW. (authored by gniibe).
tests: Add HAVE_MMAP check for MinGW.
Nov 14 2017, 1:09 AM
gniibe committed rCc594f187bd45: tests: Add HAVE_MMAP check for MinGW. (authored by gniibe).
tests: Add HAVE_MMAP check for MinGW.
Nov 14 2017, 1:09 AM

Nov 13 2017

gniibe committed rG80b904543486: tests: Handle the case with DISABLE_REGEX. (authored by gniibe).
tests: Handle the case with DISABLE_REGEX.
Nov 13 2017, 10:54 AM
gniibe committed rGa1fe3708d089: tests: Run the trust-pgp-4 test again. (authored by gouttegd).
tests: Run the trust-pgp-4 test again.
Nov 13 2017, 8:23 AM
gniibe added a project to T3469: gpg: decryption failed: No secret key <= after debian upgrade from Jessie to Stretch: Documentation.
Nov 13 2017, 12:54 AM · Support, Documentation

Nov 10 2017

gniibe closed T3493: Timestamp as Invalid.

This is not an issue of GnuPG. Sorry.

Nov 10 2017, 2:27 AM · Feature Request

Nov 9 2017

gniibe merged T2284: tsign behavior does not achieve what dkg says it should into T2923: trust signature domain restrictions don't work.
Nov 9 2017, 7:44 AM · gnupg (gpg14), Bug Report
gniibe merged task T2284: tsign behavior does not achieve what dkg says it should into T2923: trust signature domain restrictions don't work.
Nov 9 2017, 7:44 AM · Bug Report, gnupg
gniibe reopened T2923: trust signature domain restrictions don't work as "Open".
Nov 9 2017, 7:44 AM · gnupg (gpg14), Bug Report
gniibe added a comment to T2923: trust signature domain restrictions don't work.

No, I was not accurate. EXAMPLE.COM works, while example.com doesn't work.

Nov 9 2017, 7:43 AM · gnupg (gpg14), Bug Report
gniibe merged task T2923: trust signature domain restrictions don't work into T2284: tsign behavior does not achieve what dkg says it should.
Nov 9 2017, 7:41 AM · gnupg (gpg14), Bug Report
gniibe merged T2923: trust signature domain restrictions don't work into T2284: tsign behavior does not achieve what dkg says it should.
Nov 9 2017, 7:41 AM · Bug Report, gnupg
gniibe added a comment to T2284: tsign behavior does not achieve what dkg says it should.

I confirmed this is same bug in T2923: trust signature domain restrictions don't work, I am closing this one as duplicate.

Nov 9 2017, 7:41 AM · Bug Report, gnupg