Page MenuHome GnuPG
Feed Advanced Search

May 25 2017

gniibe added a comment to T3027: gpg-agent crash on macOS Sierra triggerd by ssh.

@landro , Do you have any key which might require passphrase update for its expiration?
I mean, do you have an gpg-agent option of "max_passphrase_days" set (default is not set).

May 25 2017, 2:47 AM · Bug Report, gpgagent, gnupg
gniibe added a comment to T3027: gpg-agent crash on macOS Sierra triggerd by ssh.

(Since I was writing by phone, the sentence was terse. Sorry. This time, by PC.)

May 25 2017, 12:06 AM · Bug Report, gpgagent, gnupg

May 24 2017

gniibe added a comment to T3027: gpg-agent crash on macOS Sierra triggerd by ssh.

For smartcard, yes. The feature for ssh with smartcard has been available more than ten years. I recently apply the approach to gpg frontend.

May 24 2017, 1:57 PM · Bug Report, gpgagent, gnupg

May 23 2017

gniibe added a comment to T3027: gpg-agent crash on macOS Sierra triggerd by ssh.

@landro Thanks a lot. I think that we see some failures in the log, and there might be another bug in the failure path.

May 23 2017, 12:31 PM · Bug Report, gpgagent, gnupg
gniibe committed rDbf5b003a4fa8: campaign,ja: Fix Abdo's transliteration in Japanese. (authored by gniibe).
campaign,ja: Fix Abdo's transliteration in Japanese.
May 23 2017, 8:52 AM
gniibe committed rDa515a317c125: campaign,ja: Fix the box. (authored by gniibe).
campaign,ja: Fix the box.
May 23 2017, 8:36 AM
gniibe claimed T1967: GnuPG should select a key for signing without trying to use missing subkeys.
May 23 2017, 7:48 AM · gnupg (gpg22), Feature Request
gniibe closed T2886: nPth often needs -lpthread but does not detect this as Resolved.

Fixed in npth 1.4.

May 23 2017, 7:47 AM · In Progress, Bug Report, npth
gniibe closed T2886: nPth often needs -lpthread but does not detect this, a subtask of T3099: nPth is ready for new release of 1.4, as Resolved.
May 23 2017, 7:47 AM · g10code Sprint (KW 20), npth
gniibe closed T2998: link error in tests on NetBSD, a subtask of T3099: nPth is ready for new release of 1.4, as Resolved.
May 23 2017, 7:46 AM · g10code Sprint (KW 20), npth
gniibe closed T2998: link error in tests on NetBSD as Resolved.

Fixed in npth 1.4.

May 23 2017, 7:46 AM · In Progress, Bug Report, npth
gniibe closed T2202: struct timespec is already defined in MINGW32 as Resolved.

Fixed in npth 1.4.

May 23 2017, 7:46 AM · In Progress, Bug Report, Windows, npth
gniibe closed T2202: struct timespec is already defined in MINGW32, a subtask of T3099: nPth is ready for new release of 1.4, as Resolved.
May 23 2017, 7:46 AM · g10code Sprint (KW 20), npth
gniibe added a project to T1967: GnuPG should select a key for signing without trying to use missing subkeys: Restricted Project.
May 23 2017, 7:43 AM · gnupg (gpg22), Feature Request
gniibe added a comment to T1967: GnuPG should select a key for signing without trying to use missing subkeys.

In T1983: gpg2 prefers missing secret key to available key on card, I applied another approach: rGfbb2259d22e6: g10: Fix default-key selection for signing, possibly by card.
Please test.

May 23 2017, 7:42 AM · gnupg (gpg22), Feature Request
gniibe added a comment to T1983: gpg2 prefers missing secret key to available key on card.

I applied another approach: rGfbb2259d22e6: g10: Fix default-key selection for signing, possibly by card.
Please test.

May 23 2017, 7:40 AM · Bug Report, gnupg
gniibe closed T3155: Japanese translation of the donation system as Resolved.

Basically, done.

May 23 2017, 7:37 AM · i18n, gpgweb
gniibe closed T3155: Japanese translation of the donation system, a subtask of T3039: Translate donation system, as Resolved.
May 23 2017, 7:37 AM · gpgweb
gniibe added a comment to T3027: gpg-agent crash on macOS Sierra triggerd by ssh.

In the crash log of 2017-05-22, I can't find any race or violation of shared object. It looks like some malloc related error.
Does gpg-agent emit error message(s)?

May 23 2017, 7:36 AM · Bug Report, gpgagent, gnupg
gniibe committed rD02be438fb7dc: campaign,ja: Fix link to donate.ja.html. (authored by gniibe).
campaign,ja: Fix link to donate.ja.html.
May 23 2017, 4:22 AM
gniibe committed rDfb65d94c1e79: campaign,ja: Fix checkout messages. (authored by gniibe).
campaign,ja: Fix checkout messages.
May 23 2017, 3:57 AM
gniibe committed rD31a1087f7155: campaign,ja: Update Japanese translation (almost done). (authored by gniibe).
campaign,ja: Update Japanese translation (almost done).
May 23 2017, 3:45 AM

May 22 2017

gniibe committed rG509e4a4d7491: agent: Add const qualifier for read-only table. (authored by gniibe).
agent: Add const qualifier for read-only table.
May 22 2017, 11:59 PM
gniibe committed rGfbb2259d22e6: g10: Fix default-key selection for signing, possibly by card. (authored by gniibe).
g10: Fix default-key selection for signing, possibly by card.
May 22 2017, 11:59 PM
gniibe added a comment to T3155: Japanese translation of the donation system.

cgi finished.
translation has been finished except testimonials.

May 22 2017, 1:04 PM · i18n, gpgweb
gniibe committed rD18fc3e908666: campaign,ja: More Japanese translation. (authored by gniibe).
campaign,ja: More Japanese translation.
May 22 2017, 1:01 PM
gniibe committed rDc05d375f8e3f: campaign,ja: Add pages (not yet finished). (authored by gniibe).
campaign,ja: Add pages (not yet finished).
May 22 2017, 12:23 PM

May 19 2017

gniibe reopened T1983: gpg2 prefers missing secret key to available key on card, a subtask of T2291: Smartcard interaction improvement (was: Shadowed private key design (for smartcard)), as Open.
May 19 2017, 1:19 PM · Restricted Project, Feature Request, gnupg
gniibe reopened T1983: gpg2 prefers missing secret key to available key on card as "Open".

Sorry, my fix was not good. Re-opening.

May 19 2017, 1:19 PM · Bug Report, gnupg
gniibe committed rD1539cc59f77b: campaign,ja: More translation. (authored by gniibe).
campaign,ja: More translation.
May 19 2017, 11:44 AM
gniibe committed rD46f6d334178c: campaign,ja: Update from English. (authored by gniibe).
campaign,ja: Update from English.
May 19 2017, 11:44 AM
gniibe abandoned D424: some spelling fixes (libgcrypt).
May 19 2017, 6:37 AM
gniibe commandeered D424: some spelling fixes (libgcrypt).

It is applied to the master in the repo.
I took over the control so that I can close this revision.

May 19 2017, 6:36 AM
gniibe abandoned D422: some spelling fixes (gnupg).

Reviewed and committed in 2.1.21. Phabricator only support closing a revision by the author.
So, I've taken control of this revision to close.
Thanks.

May 19 2017, 6:35 AM · gnupg
gniibe commandeered D422: some spelling fixes (gnupg).
May 19 2017, 6:29 AM · gnupg

May 17 2017

gniibe committed rDbe41a34ed669: web,ja: Japanese translation. (authored by gniibe).
web,ja: Japanese translation.
May 17 2017, 10:30 AM
gniibe added a comment to T3165: Cannot run make check without having the gnupg2 already installed in the tree.

BTW, in the test suite, gpgconf is invoked to kill gpg-agent/scdaemon/dirmngr. But it uses say, /usr/bin/gpg-connect-agent, which might be not yet installed.
I found such errors in Debian build: https://buildd.debian.org/status/fetch.php?pkg=gnupg2&arch=arm64&ver=2.1.21-1&stamp=1494993589&raw=0

May 17 2017, 6:44 AM
gniibe committed rGae95a7f5335e: g10: Fix gpgcompose.c. (authored by gniibe).
g10: Fix gpgcompose.c.
May 17 2017, 3:16 AM
gniibe added a comment to T2980: ssh-import.scm fails during "make check" with gnupg 2.1.19.

I put another bug in 2.1.21. Please try: rGa8dd96826f84: g10: Suppress error for card availability check.

May 17 2017, 2:56 AM · MacOS, Bug Report, gnupg
gniibe committed rGa8dd96826f84: g10: Suppress error for card availability check. (authored by gniibe).
g10: Suppress error for card availability check.
May 17 2017, 2:53 AM
gniibe added a comment to T3165: Cannot run make check without having the gnupg2 already installed in the tree.

Err... it's my badness. rG97a2394ecafa: g10: For signing, prefer available card key when no -u option. introduced this bug. It checks if a key on card is available by agent_scd_serialno.
Call to start_agent with FOR_CARD=1 may cause an error if there is no scdaemon installed.
I need to fix skipping such errors.

May 17 2017, 1:45 AM

May 16 2017

gniibe committed rD430035b5e559: cgi: Japanese support. (authored by gniibe).
cgi: Japanese support.
May 16 2017, 10:01 AM
gniibe closed T3096: Arch Linux Keys bug as Resolved.

Fixed in 2.1.21.

May 16 2017, 1:25 AM · In Progress, Arch, gnupg (gpg21)
gniibe closed T3098: gnupg-2.1.20: build fix for Solaris as Resolved.

Fixed in 2.1.21.

May 16 2017, 1:24 AM · In Progress, gnupg (gpg21)
gniibe closed T3105: libdns does not work on Fedora builds as Resolved.

Fixed in 2.1.21.

May 16 2017, 1:24 AM · In Progress, gnupg (gpg21), dirmngr
gniibe closed T3086: stop shipping *.skel files as Resolved.

Fixed in 2.1.21.

May 16 2017, 1:23 AM · In Progress, gnupg (gpg21)
gniibe closed T1983: gpg2 prefers missing secret key to available key on card, a subtask of T2291: Smartcard interaction improvement (was: Shadowed private key design (for smartcard)), as Resolved.
May 16 2017, 1:22 AM · Restricted Project, Feature Request, gnupg
gniibe closed T1983: gpg2 prefers missing secret key to available key on card as Resolved.

Fixed in 2.1.21.

May 16 2017, 1:22 AM · Bug Report, gnupg
gniibe closed T3027: gpg-agent crash on macOS Sierra triggerd by ssh as Resolved.

Fixed in 2.1.21.

May 16 2017, 1:22 AM · Bug Report, gpgagent, gnupg

May 15 2017

gniibe added a comment to T3039: Translate donation system.

Reference of stripe's checkout.js: https://stripe.com/docs/checkout

May 15 2017, 11:23 AM · gpgweb
gniibe triaged T3152: KDF DO support in OpenPGP card as Normal priority.
May 15 2017, 4:15 AM · scd

May 11 2017

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

Here is the spec.

May 11 2017, 4:38 AM · scd

May 10 2017

gniibe claimed T1371: Out of secure memory while generating several keys in batchmode.

Patch applied and pushed to STABLE-BRANCH-1-4.

May 10 2017, 7:22 AM · In Progress, Bug Report, gnupg (gpg14)
gniibe committed rG2c2121ff3c2b: g10: Fix secmem leak. (authored by Ineiev <ineiev@gnu.org>).
g10: Fix secmem leak.
May 10 2017, 7:20 AM
gniibe committed rG70ee7cd11b70: Register DCO for Ineiev. (authored by gniibe).
Register DCO for Ineiev.
May 10 2017, 5:18 AM
gniibe committed rG98b759119c81: g10: Stop compiler warning for t-stutter. (authored by gniibe).
g10: Stop compiler warning for t-stutter.
May 10 2017, 4:17 AM
gniibe committed rG0ce94a969810: g10, sm, dirmngr, common: Add comment for fall through. (authored by gniibe).
g10, sm, dirmngr, common: Add comment for fall through.
May 10 2017, 4:17 AM

May 9 2017

gniibe created T3152: KDF DO support in OpenPGP card.
May 9 2017, 11:06 PM · scd
gniibe added a subtask for T3075: Campaign 2017: Unknown Object (Maniphest Task).
May 9 2017, 6:25 AM · g10code, Verein

May 8 2017

gniibe added a comment to T3089: macOS - use OpenDirectory Framework.

https://developer.apple.com/library/content/documentation/Networking/Conceptual/Open_Directory/openDirectoryConcepts/openDirectoryConcepts.html

May 8 2017, 7:14 AM · gnupg24, gnupg (gpg23), dirmngr, MacOS

May 2 2017

gniibe committed rG201f86803017: g10: Remove skeleton options files. (authored by dkg).
g10: Remove skeleton options files.
May 2 2017, 12:13 PM
gniibe claimed T3086: stop shipping *.skel files.

Applied to master (formatting the commit log), and pushed.

May 2 2017, 12:02 PM · In Progress, gnupg (gpg21)

May 1 2017

gniibe added a comment to T2298: Unblocking a smartcard PIN not possible in 2.1.

The debug log includes communication between host PC and the reader, thus, it may include your input of PIN when you do that.

May 1 2017, 6:06 AM · Info Needed, gnupg, scd, Bug Report

Apr 29 2017

gniibe claimed T3101: GnuPG 2.2 cannot import secret keys from 1.4/2.0's secring.gpg directly (if it is expired by original expiration date).

Thanks for your explanation. Now, I got it.

Apr 29 2017, 5:26 AM · workaround, gnupg, Bug Report

Apr 28 2017

gniibe closed T3121: Spelling fix for gnupg 2.1.x as Resolved.
Apr 28 2017, 3:09 AM · gnupg (gpg21)
gniibe committed rG5c8fe5480964: Spelling fixes in docs and comments. (authored by gniibe).
Spelling fixes in docs and comments.
Apr 28 2017, 3:08 AM
gniibe created T3121: Spelling fix for gnupg 2.1.x.
Apr 28 2017, 3:04 AM · gnupg (gpg21)
gniibe accepted D422: some spelling fixes (gnupg).

Reviewed and tested by "make check".

Apr 28 2017, 3:01 AM · gnupg
gniibe added a reviewer for D422: some spelling fixes (gnupg): gniibe.
Apr 28 2017, 2:58 AM · gnupg
gniibe accepted D424: some spelling fixes (libgcrypt).

Thank you for the patch.
I'm not sure yet about the workflow of this site. I created a ticket for this and applied the patch and pushed.

Apr 28 2017, 2:43 AM
gniibe closed T3120: Spelling fix for libgcrypt as Resolved.

Patch applied and pushed.

Apr 28 2017, 2:42 AM · libgcrypt
gniibe committed rC9b651fb632f3: Spelling fixes in docs and comments. (authored by gniibe).
Spelling fixes in docs and comments.
Apr 28 2017, 2:40 AM
gniibe created T3120: Spelling fix for libgcrypt.
Apr 28 2017, 2:35 AM · libgcrypt
gniibe triaged T3118: gpg --sign --local-user ... fails with smartcard as Normal priority.
Apr 28 2017, 1:04 AM · gnupg, Documentation, FAQ
gniibe claimed T3118: gpg --sign --local-user ... fails with smartcard.

T1967: GnuPG should select a key for signing without trying to use missing subkeys and T1983: gpg2 prefers missing secret key to available key on card is related, possibly.

Apr 28 2017, 1:04 AM · gnupg, Documentation, FAQ
gniibe added a comment to T1621: Support multiple cards (not just readers).

For your information.
Since 2.1.18, multiple readers are supported by internal CCID driver. PC/SC driver is not yet.
Since 2.1.20, gpg --card-status can have "all" or specific serialno of the card.
Perhaps, gpg --card-edit should support SERIALNO command as well.

Apr 28 2017, 1:02 AM · gnupg, Feature Request

Apr 27 2017

gniibe added a comment to T1967: GnuPG should select a key for signing without trying to use missing subkeys.

Sorry, I just noticed this ticket now.

Apr 27 2017, 9:03 AM · gnupg (gpg22), Feature Request
gniibe added projects to T3118: gpg --sign --local-user ... fails with smartcard: FAQ, Documentation.
Apr 27 2017, 8:00 AM · gnupg, Documentation, FAQ
gniibe added a comment to T2291: Smartcard interaction improvement (was: Shadowed private key design (for smartcard)).

While T1983: gpg2 prefers missing secret key to available key on card for singing is in progress, change of T3119: gpg: Improve public key decryption is needed for decryption.

Apr 27 2017, 5:58 AM · Restricted Project, Feature Request, gnupg
gniibe created T3119: gpg: Improve public key decryption.
Apr 27 2017, 5:55 AM · gnupg (gpg23)
gniibe added a project to T1983: gpg2 prefers missing secret key to available key on card: Restricted Project.

Sorry, I was wrong. The patch also works for signing to key.
The impact is gpg frontend always asks gpg-agent for card key.
It involves invoking scdaemon and accessing to USB.

Apr 27 2017, 3:43 AM · Bug Report, gnupg
gniibe committed rG97a2394ecafa: g10: For signing, prefer available card key when no -u option. (authored by gniibe).
g10: For signing, prefer available card key when no -u option.
Apr 27 2017, 3:39 AM

Apr 26 2017

gniibe added a comment to T3118: gpg --sign --local-user ... fails with smartcard.

Appending exclamation mark (!) to the keyid, you can specify exact match for the key.
I think that you can use 0xADCF72E06DBC3057! for git commit.
Please try.

Apr 26 2017, 10:14 AM · gnupg, Documentation, FAQ
gniibe closed D419: gpg-agent cache handling serialization.
Apr 26 2017, 5:35 AM · gnupg (gpg21)
gniibe renamed T1983: gpg2 prefers missing secret key to available key on card from faq: gpg2 prefers missing secret key to available key to gpg2 prefers missing secret key to available key on card.
Apr 26 2017, 4:51 AM · Bug Report, gnupg
gniibe removed a project from T1983: gpg2 prefers missing secret key to available key on card: FAQ.

For signing (not sign to key), here is my attempt:


I'm not yet sure about other impact.

Apr 26 2017, 4:50 AM · Bug Report, gnupg
gniibe committed rG2262a80c5f44: g10: Minor clean up. (authored by gniibe).
g10: Minor clean up.
Apr 26 2017, 4:42 AM
gniibe edited projects for T3025: t-recsel on make check in gnupg-2.1.19 fails, added: gnupg (gpg21), Info Needed; removed gnupg.
Apr 26 2017, 2:51 AM · Info Needed, gnupg (gpg21)
gniibe added a project to T3101: GnuPG 2.2 cannot import secret keys from 1.4/2.0's secring.gpg directly (if it is expired by original expiration date): Info Needed.

Thank you for reporting. Sorry, I couldn't understand some part of your report. Perhaps, due to some terminology.

Apr 26 2017, 2:25 AM · workaround, gnupg, Bug Report
gniibe added a comment to T3110: Jenkins Improvements.

gnupg/distcheck aborted in #1046 and #1047 with 5min timeout, but it takes more than 8min.
Please modify timeout for gnupg/distcheck.

Apr 26 2017, 1:45 AM · g10code Sprint, CI

Apr 25 2017

gniibe added a project to T3105: libdns does not work on Fedora builds: In Progress.

Thanks for your confirmation. I pushed the commit.

Apr 25 2017, 2:06 PM · In Progress, gnupg (gpg21), dirmngr
gniibe committed rG247932f367f8: dirmngr: Fix aliasing problem in dns.c. (authored by gniibe).
dirmngr: Fix aliasing problem in dns.c.
Apr 25 2017, 2:04 PM
gniibe added a comment to T3105: libdns does not work on Fedora builds.

I suspect compiler optimization.
If you are with debugger, please check the function dns_ai_setent in dns.c.
When type==DNS_T_A, it sets sin_family = AF_INET. But it does some violent memory access for modern C.
Then, the value is accessed through saddr->sa_family.
I wonder if (*ent)->ai_family is correctly set here.

Apr 25 2017, 1:05 PM · In Progress, gnupg (gpg21), dirmngr
gniibe edited projects for T3105: libdns does not work on Fedora builds, added: gnupg (gpg21); removed gnupg (gpg20).
Apr 25 2017, 9:15 AM · In Progress, gnupg (gpg21), dirmngr
gniibe added projects to T3105: libdns does not work on Fedora builds: gnupg (gpg20), dirmngr.
Apr 25 2017, 9:14 AM · In Progress, gnupg (gpg21), dirmngr
gniibe claimed T3105: libdns does not work on Fedora builds.

What is your architecture of the machine?
If it is related to the alignment of memory, I put a change: rG892b33bb2c57: dirmngr: Fix alignment of ADDR.
It will be in 2.1.21.

Apr 25 2017, 5:26 AM · In Progress, gnupg (gpg21), dirmngr
gniibe committed rG7851d73fd7f4: tests: Remove *.conf.tmpl from Makefile. (authored by gniibe).
tests: Remove *.conf.tmpl from Makefile.
Apr 25 2017, 4:41 AM
gniibe claimed T3096: Arch Linux Keys bug.

Pushed: rG116cfd60779f: g10: invalidate the fd cache for keyring.

Apr 25 2017, 12:53 AM · In Progress, Arch, gnupg (gpg21)
gniibe committed rG116cfd60779f: g10: invalidate the fd cache for keyring. (authored by gniibe).
g10: invalidate the fd cache for keyring.
Apr 25 2017, 12:53 AM

Apr 24 2017

gniibe edited projects for T3096: Arch Linux Keys bug, added: In Progress; removed Info Needed.

is for master branch. I think that it can be applied to 2.1.20, too.
I'm going to commit this patch today.

Apr 24 2017, 11:59 PM · In Progress, Arch, gnupg (gpg21)