Page MenuHome GnuPG
Feed All Stories

Aug 22 2019

dkg added a comment to T2669: gpg --import auto-launches gpg-agent even when no secret keys are imported.

Thanks, @gniibe. From reading this patch (i haven't tested it), it looks like it would avoid most unnecessary agent launches (and agent communication) in the (b) case, which is a win over the status quo.

Aug 22 2019, 8:47 PM · Bug Report, gnupg
werner added a comment to T4681: Allow non-OpenPGP cards with gpg 2.2.

Note that rGd3f5d8544fdb needs to be backported to 2.2 but we will wait until we have better tested it.

Aug 22 2019, 4:44 PM · gnupg (gpg22), scd, OpenPGP
werner committed rGd3f5d8544fdb: gpg: Extend --quick-gen-key for creating keys from a card. (authored by werner).
gpg: Extend --quick-gen-key for creating keys from a card.
Aug 22 2019, 4:38 PM
gniibe committed rEfc1a7591bdcd: estream: Fix poll condition. (authored by gniibe).
estream: Fix poll condition.
Aug 22 2019, 4:09 PM
JJworx added a comment to T4576: Outlook window de-(half-)maximizes and misplaced after writing answer.

With me it happens all the time: Outlook 2013 x64 is half-maximized at
right border, and GPG asks for the passphrase on sending a mail from the
inline editor, on Windows 7 x64, then it always happens.

Aug 22 2019, 2:47 PM · Bug Report, gpg4win
werner closed T4682: Salutation "Mrs." implies that the user is married. Use "Ms." instead. as Resolved.

Thanks.

Aug 22 2019, 10:30 AM · gnupg (gpg23), Bug Report
werner committed rGf812e09904eb: gpg: Use modern spelling for the female salutation. (authored by werner).
gpg: Use modern spelling for the female salutation.
Aug 22 2019, 10:26 AM
werner committed rGb3226d91d045: gpg: Use modern spelling for the female salutation. (authored by werner).
gpg: Use modern spelling for the female salutation.
Aug 22 2019, 10:25 AM
gniibe committed rG6f760e6eb0e8: gpg: Factor export_ssh_key. (authored by gniibe).
gpg: Factor export_ssh_key.
Aug 22 2019, 7:20 AM
gniibe committed rGe00e68135c01: dns: Fix irrelevant use of tmpfile. (authored by gniibe).
dns: Fix irrelevant use of tmpfile.
Aug 22 2019, 5:55 AM
gniibe closed T4228: Leaked FILE from tmpfile() in dns.c dns_trace_open as Resolved.

Fixed in master.

Aug 22 2019, 5:55 AM · dns, gnupg
gniibe added a comment to T4228: Leaked FILE from tmpfile() in dns.c dns_trace_open.

This part of code is questionable. It always comes fp!=NULL, so the part should be removed.
If fp==NULL, use of tmpfile is quite questionable because a user can't know where the trace output goes.
I'm going to remove that part.

Aug 22 2019, 5:54 AM · dns, gnupg
gniibe added a comment to T2669: gpg --import auto-launches gpg-agent even when no secret keys are imported.

If it makes sense to warn a user for someone's preference when keys are imported,
here is a patch:

Aug 22 2019, 4:49 AM · Bug Report, gnupg
gniibe added a comment to T4480: GPGSM: Duplicated IMPORT_OK status lines emitted.

It appears (for me) correct behavior.

Aug 22 2019, 3:52 AM · S/MIME

Aug 21 2019

dkg added a comment to T4679: WKD spec should document exactly when a client should fall back from "advanced" to "direct" URL.

This was also raised for (hopefully) wider discussion on the IETF mailing list.

Aug 21 2019, 8:32 PM · Documentation, wkd
dkg set External Link to https://en.wikipedia.org/wiki/Ms. on T4682: Salutation "Mrs." implies that the user is married. Use "Ms." instead..
Aug 21 2019, 7:52 PM · gnupg (gpg23), Bug Report
dkg added a comment to T4682: Salutation "Mrs." implies that the user is married. Use "Ms." instead..

i've just pushed rGc4b9eba1d6a63b73238dcbb644b365dc53563f3d to the dkg-fix-T4682 branch resolve this.

Aug 21 2019, 7:51 PM · gnupg (gpg23), Bug Report
dkg committed rGc4b9eba1d6a6: gpg: Adjust female-gendered salutation from Mrs. to Ms. (authored by dkg).
gpg: Adjust female-gendered salutation from Mrs. to Ms.
Aug 21 2019, 7:51 PM
dkg created T4682: Salutation "Mrs." implies that the user is married. Use "Ms." instead..
Aug 21 2019, 7:49 PM · gnupg (gpg23), Bug Report
werner committed rG0d2c9ef29c17: scd:nks: Extend keypairinfo with usage flags. (authored by werner).
scd:nks: Extend keypairinfo with usage flags.
Aug 21 2019, 3:27 PM
werner committed rGce403c74dbc9: gpg: In a list of card keys show the standard keys. (authored by werner).
gpg: In a list of card keys show the standard keys.
Aug 21 2019, 3:27 PM
werner committed rG671e54d62c39: scd:nks: Support attributes $ENCRKEYID and $SIGNKEYID. (authored by werner).
scd:nks: Support attributes $ENCRKEYID and $SIGNKEYID.
Aug 21 2019, 3:27 PM
werner committed rGc97c2e578dd1: gpg: New option --use-only-openpgp-card (authored by werner).
gpg: New option --use-only-openpgp-card
Aug 21 2019, 3:27 PM
werner committed rG0a9053eff040: scd:nks: Extend keypairinfo with usage flags. (authored by werner).
scd:nks: Extend keypairinfo with usage flags.
Aug 21 2019, 2:03 PM
werner committed rG6f67abcc0339: scd:openpgp: Extend keypairinfo with usage flags. (authored by werner).
scd:openpgp: Extend keypairinfo with usage flags.
Aug 21 2019, 2:03 PM
werner committed rGa8aacaf2042a: sm: Show the usage flags when generating a key from a card. (authored by werner).
sm: Show the usage flags when generating a key from a card.
Aug 21 2019, 2:03 PM
werner committed rG9a317557c58d: gpg: Allow decryption using non-OpenPGP cards. (authored by werner).
gpg: Allow decryption using non-OpenPGP cards.
Aug 21 2019, 2:03 PM
werner committed rG23784f8bf0ac: scd: New standard attributes $ENCRKEYID and $SIGNKEYID. (authored by werner).
scd: New standard attributes $ENCRKEYID and $SIGNKEYID.
Aug 21 2019, 2:03 PM
werner committed rG0353cb0a5ede: common: Extend function pubkey_algo_string. (authored by werner).
common: Extend function pubkey_algo_string.
Aug 21 2019, 2:03 PM
werner committed rGfbed618a3699: gpg: Allow direct key generation from card with --full-gen-key. (authored by werner).
gpg: Allow direct key generation from card with --full-gen-key.
Aug 21 2019, 2:03 PM
werner committed rGc185f6dfbd1b: gpg: New option --use-only-openpgp-card (authored by werner).
gpg: New option --use-only-openpgp-card
Aug 21 2019, 2:03 PM
werner committed rGc2f87a936afb: gpg: Remove two unused card related functions. (authored by werner).
gpg: Remove two unused card related functions.
Aug 21 2019, 2:03 PM
werner committed rGfe5c8de86288: gpg: Prepare card code to allow other than OpenPGP cards. (authored by werner).
gpg: Prepare card code to allow other than OpenPGP cards.
Aug 21 2019, 2:03 PM
werner committed rG768cb6402f29: gpg: New card function agent_scd_keypairinfo. (authored by werner).
gpg: New card function agent_scd_keypairinfo.
Aug 21 2019, 2:03 PM
werner committed rGd410b5f93096: gpg: Repurpose the ISO defined DO "sex" to "salutation". (authored by werner).
gpg: Repurpose the ISO defined DO "sex" to "salutation".
Aug 21 2019, 2:03 PM
werner committed rGc66a2cc8d306: gpg: Remove unused arg in a card related function. (authored by werner).
gpg: Remove unused arg in a card related function.
Aug 21 2019, 2:03 PM
werner created T4681: Allow non-OpenPGP cards with gpg 2.2.
Aug 21 2019, 1:56 PM · gnupg (gpg22), scd, OpenPGP
werner added a project to T4680: dirmngr documentation titles claim X.509 only, but should describe full scope of the daemon: gnupg.
Aug 21 2019, 12:28 PM · gnupg, Documentation, Bug Report
werner triaged T4680: dirmngr documentation titles claim X.509 only, but should describe full scope of the daemon as Normal priority.
Aug 21 2019, 12:27 PM · gnupg, Documentation, Bug Report
gniibe committed rG6fae96094c97: scd: Fix check_application_conflict. (authored by gniibe).
scd: Fix check_application_conflict.
Aug 21 2019, 5:44 AM
gniibe committed rG8dc19d35e854: scd: Fix selecting additional APP. (authored by gniibe).
scd: Fix selecting additional APP.
Aug 21 2019, 5:02 AM
gniibe committed rG4781c4a86608: scd: Fix how select_additional_application is called. (authored by gniibe).
scd: Fix how select_additional_application is called.
Aug 21 2019, 5:02 AM
gniibe committed rGd4f135c34b33: scd: Fix switching to another APP. (authored by gniibe).
scd: Fix switching to another APP.
Aug 21 2019, 5:02 AM
gniibe committed rG09d000babb71: scd: Fix resetting CARD_CTX. (authored by gniibe).
scd: Fix resetting CARD_CTX.
Aug 21 2019, 5:02 AM
skeeto added a comment to T4677: Failure using pinentry-tty or pinentry-curses when GnuPG's standard input is a file.

@dkg, I changed the title and adjusted the description to more accurately describe the situation.

Aug 21 2019, 2:24 AM · unreproducible, gnupg (gpg22), Bug Report
skeeto renamed T4677: Failure using pinentry-tty or pinentry-curses when GnuPG's standard input is a file from GnuPG unable to use imported protected subkeys to Failure using pinentry-tty or pinentry-curses when GnuPG's standard input is a file.
Aug 21 2019, 2:22 AM · unreproducible, gnupg (gpg22), Bug Report

Aug 20 2019

dkg created T4680: dirmngr documentation titles claim X.509 only, but should describe full scope of the daemon.
Aug 20 2019, 11:13 PM · gnupg, Documentation, Bug Report
dkg created T4679: WKD spec should document exactly when a client should fall back from "advanced" to "direct" URL.
Aug 20 2019, 10:59 PM · Documentation, wkd
dkg committed rGb7793c3af32b: doc: fix minor spelling and tense errors (authored by dkg).
doc: fix minor spelling and tense errors
Aug 20 2019, 10:05 PM
dkg committed rGcba6e1bd7242: doc: clarify CARD event counter. (authored by dkg).
doc: clarify CARD event counter.
Aug 20 2019, 10:05 PM
gniibe committed rA909133baad49: libassuan.pc: Fix to have -I for Cflags and -L for Libs. (authored by gniibe).
libassuan.pc: Fix to have -I for Cflags and -L for Libs.
Aug 20 2019, 7:10 AM
gniibe committed rT35a91c4961d4: pkgconfig: Fix ntbtls.pc. (authored by gniibe).
pkgconfig: Fix ntbtls.pc.
Aug 20 2019, 6:42 AM
gniibe committed rK3df0cd32e3b2: pkgconfig: Fix ksba.pc. (authored by gniibe).
pkgconfig: Fix ksba.pc.
Aug 20 2019, 6:22 AM
gniibe committed rC761d12f140b7: pkgconfig: Fix libgcrypt.pc. (authored by gniibe).
pkgconfig: Fix libgcrypt.pc.
Aug 20 2019, 4:22 AM
gniibe added a comment to T4678: libassuan.pc missing include dir directive in cflags.

Well, gpg-error is special. For other libraries, adding -I and -L is enough and good.
Fixed in master.

Aug 20 2019, 3:55 AM · Restricted Project, libassuan
gniibe triaged T4678: libassuan.pc missing include dir directive in cflags as Normal priority.

Thank you. I only tested a configuration where installation of libassuan has same prefix as libgpg-error. That's the reason why this bug exists.

Aug 20 2019, 3:38 AM · Restricted Project, libassuan
gniibe added a comment to T2011: gnupg should notify cancellation of its operation to gpg-agent to kill pinentry.

It was fixed in GnuPG master by rGc395f8315362: agent: Terminate pinentry process gracefully, by watching socket. and rG374a0775546b: agent: Close a dialog cleanly when gpg/ssh is killed for CONFIRM..
Those will be in GnuPG 2.3.

Aug 20 2019, 3:32 AM · Bug Report, gpgagent
dkg added a comment to T4677: Failure using pinentry-tty or pinentry-curses when GnuPG's standard input is a file.

@skeeto can you edit the summary/title of this ticket to better reflect what you think the underlying issue is?

Aug 20 2019, 2:45 AM · unreproducible, gnupg (gpg22), Bug Report
dkg reopened T2011: gnupg should notify cancellation of its operation to gpg-agent to kill pinentry as "Open".
Aug 20 2019, 2:44 AM · Bug Report, gpgagent
dkg added a comment to T2011: gnupg should notify cancellation of its operation to gpg-agent to kill pinentry.

This appears to be https://bugs.debian.org/850946 and it does not appear to be fixed to me.

Aug 20 2019, 2:43 AM · Bug Report, gpgagent
dkg reopened T2013: pinentry-curses / pinentry-tty should emit a bell when showing a dialog as "Open".

reviewing this, i think the situation is:

Aug 20 2019, 2:36 AM · pinentry, Feature Request

Aug 19 2019

werner assigned T4678: libassuan.pc missing include dir directive in cflags to gniibe.
Aug 19 2019, 5:03 PM · Restricted Project, libassuan
t8m created T4678: libassuan.pc missing include dir directive in cflags in the S1 Public space.
Aug 19 2019, 10:38 AM · Restricted Project, libassuan
Laurent Montel <montel@kde.org> committed rKLEOPATRA9cddf8483dce: Add release version too (authored by Laurent Montel <montel@kde.org>).
Add release version too
Aug 19 2019, 8:18 AM

Aug 16 2019

Laurent Montel <montel@kde.org> committed rLIBKLEO8699266c21ea: GIT_SILENT: Prepare 5.12.1 (authored by Laurent Montel <montel@kde.org>).
GIT_SILENT: Prepare 5.12.1
Aug 16 2019, 7:17 AM
gniibe claimed T2893: gnupg should used ccid card key material fingerprints and not serial number.
Aug 16 2019, 6:15 AM · yubikey, Feature Request, gnupg
gniibe committed rC900647d96cb7: build: Fix build with !HAVE_PTHREAD (authored by gniibe).
build: Fix build with !HAVE_PTHREAD
Aug 16 2019, 2:13 AM
gniibe committed rC1862f402d363: ecdsa: Fix unblinding too early. (authored by gniibe).
ecdsa: Fix unblinding too early.
Aug 16 2019, 2:13 AM
gniibe committed rCcdaeb86f067b: ecdsa: Fix unblinding too early. (authored by gniibe).
ecdsa: Fix unblinding too early.
Aug 16 2019, 2:12 AM

Aug 13 2019

werner added a project to T2893: gnupg should used ccid card key material fingerprints and not serial number: yubikey.
Aug 13 2019, 6:40 PM · yubikey, Feature Request, gnupg
ffontaine added a comment to T4663: libgcrypt: fix build without threads by adding an option to disable tests.

Fixing t-lock is indeed a better solution however having an option to disable tests could be used in another context than fixing this issue.
For example, in the context of buildroot (which goal is to build a custom embedded linux system), this option could be used to save time during compilation as well as to save space on the embedded system.

Aug 13 2019, 9:17 AM · libgcrypt, Bug Report
gniibe claimed T4663: libgcrypt: fix build without threads by adding an option to disable tests.

Thanks for your report.
I think that adding an option for disabling tests is too much.
If it were AC_SUBST, we could use HAVE_PTHREAD in tests/Makefile.am.
In the current situation, just modifining t-lock is easier.

Aug 13 2019, 7:13 AM · libgcrypt, Bug Report
gniibe added a comment to T4670: Key expiration time ignored for zero creation date keys.

I think that I located the cause of this bug:

Aug 13 2019, 6:27 AM · patch, gnupg (gpg22), Bug Report
skeeto added a comment to T4677: Failure using pinentry-tty or pinentry-curses when GnuPG's standard input is a file.

Those changes make the script work for me, specifically passing the input as an argument and not through standard input. Digging more, it looks like the underlying issue is related to using pinentry-tty (my case) or pinentry-curses when passing the OpenPGP input via standard input. This causes pinentry to give up before prompting. For pinentry-tty it fails with "ERR 83886340 Invalid IPC response" and pinentty-curses fails with "ERR 83918950 Inappropriate ioctl for device".

Aug 13 2019, 5:18 AM · unreproducible, gnupg (gpg22), Bug Report
gniibe added projects to T4677: Failure using pinentry-tty or pinentry-curses when GnuPG's standard input is a file: Info Needed, gnupg (gpg22).
Aug 13 2019, 4:15 AM · unreproducible, gnupg (gpg22), Bug Report
gniibe added a comment to T4677: Failure using pinentry-tty or pinentry-curses when GnuPG's standard input is a file.

For my environment (Debian buster's 2.2.12 and another one from GnuPG master), both (no argument and foo) work well.
The invocation with argument let pinentry pop up to ask passphrase.

Aug 13 2019, 4:08 AM · unreproducible, gnupg (gpg22), Bug Report

Aug 12 2019

Volker Krause <vkrause@kde.org> committed rLIBKLEOf3fc0e1772cd: Enable API docs generation (authored by Volker Krause <vkrause@kde.org>).
Enable API docs generation
Aug 12 2019, 7:05 PM
skeeto created T4677: Failure using pinentry-tty or pinentry-curses when GnuPG's standard input is a file.
Aug 12 2019, 6:16 PM · unreproducible, gnupg (gpg22), Bug Report
werner triaged T4676: libgcrypt S2K (algo 3) doesn't match OpenPGP as Normal priority.

I am in charge of editing the current OpenPGP draft, so I will for sure keep an eye on that issue. If would appreciate if you can post your report also to openpgp at ietf org.

Aug 12 2019, 6:01 PM · Documentation, OpenPGP
skeeto added a comment to T4676: libgcrypt S2K (algo 3) doesn't match OpenPGP.

Considering that early interop testing, you're probably right that this is a bug in the spec, not GnuPG. Otherwise this would have been pretty obvious long ago. The wording in RFC4880bis hasn't been corrected to match practice, so I should probably report this issue there.

Aug 12 2019, 3:03 PM · Documentation, OpenPGP
werner added a comment to T4676: libgcrypt S2K (algo 3) doesn't match OpenPGP.

Re-reading the original report from 2001 it seems that PGP and PGP do the same. Back then these were the only OpenPGP implementations (except for that book with the OpenPGP tool based implementation). We did quite some interop testing in the early years by passing OpenPGP data back and forth. So one could assume this is a bug in the specs becuase the specs are for large parts derived from the PGP 5 code base.

Aug 12 2019, 10:30 AM · Documentation, OpenPGP
wiktor-k added a comment to T4108: Support for verifying OpenPGP standalone and timestamp signatures.

Sounds interesting @stm! Are there technical documents or specifications I could read to dig into details?

Aug 12 2019, 10:18 AM · gnupg24, gnupg (gpg23), Feature Request
gniibe committed rC376124f86097: build: Fix testapi.c to be buildable. (authored by gniibe).
build: Fix testapi.c to be buildable.
Aug 12 2019, 10:11 AM
gniibe committed rG6e6078c8d0d4: common: Fix line break handling, finding a space. (authored by gniibe).
common: Fix line break handling, finding a space.
Aug 12 2019, 3:55 AM
gniibe committed rGa9816d5fb13e: sm: Support AES-256 key. (authored by gniibe).
sm: Support AES-256 key.
Aug 12 2019, 3:55 AM
gniibe committed rGccf5cc8b0b6c: sm: Fix error checking of decryption result. (authored by gniibe).
sm: Fix error checking of decryption result.
Aug 12 2019, 3:55 AM
gniibe committed rG64500e7f6dd6: gpg,gpgsm: Handle pkdecrypt responses with/without NUL terminators. (authored by dkg).
gpg,gpgsm: Handle pkdecrypt responses with/without NUL terminators.
Aug 12 2019, 3:55 AM
gniibe committed rGf8961a576d3b: scd: Fix bBWI value. (authored by gniibe).
scd: Fix bBWI value.
Aug 12 2019, 3:55 AM
gniibe committed rG879660bf4581: scd: Handle CCID bwi of time extension. (authored by gniibe).
scd: Handle CCID bwi of time extension.
Aug 12 2019, 3:55 AM
gniibe committed rG8e0167698120: card: Fix showing KDF object attribute. (authored by gniibe).
card: Fix showing KDF object attribute.
Aug 12 2019, 3:55 AM
skeeto created T4676: libgcrypt S2K (algo 3) doesn't match OpenPGP.
Aug 12 2019, 1:25 AM · Documentation, OpenPGP

Aug 11 2019

stm added a comment to T3389: canonical OpenPGP certificate export.

@dkg First step toward the canonical OpenPGP certificate export: http://git.savannah.nongnu.org/cgit/libtmcg.git/commit/?id=75372cac01501ae427dec1ae18805449bf28d087

Aug 11 2019, 12:58 PM · gnupg, Feature Request

Aug 10 2019

Schiller_36912 added a comment to T4672: E-mail encryption in Microsoft Outlook Office 365 does not work properly.

Problem no longer exists. It has solved itself in the meantime. In addition, I ask for deletion of this account via the responsible administrator.

Aug 10 2019, 3:16 PM · Bug Report, gpg4win
stm added a comment to T4108: Support for verifying OpenPGP standalone and timestamp signatures.

@wiktor-k Thanks for your interest.

Aug 10 2019, 12:34 PM · gnupg24, gnupg (gpg23), Feature Request
dkg added a comment to T4672: E-mail encryption in Microsoft Outlook Office 365 does not work properly.

Are you seeing mixed-up MIME parts? or a different problem?

Aug 10 2019, 4:26 AM · Bug Report, gpg4win
dkg added a comment to T4618: DANE OpenPGP certificate retrieval does not verify DNSSEC signatures.

WKD and DANE/OPENPGPKEY offer rather distinct properties. I'd be hard-pressed to say that one is "better" than the other without understanding the threat model and concerns of the evaluator:

Aug 10 2019, 4:24 AM · dns, dirmngr

Aug 9 2019

mscomparin added a comment to T4675: Accented characters not displayed correctly.

No problem, I'm glad i could help, accented letters are always a pain between encoding.

Aug 9 2019, 5:13 PM · i18n, Bug Report, gpg4win
werner triaged T4675: Accented characters not displayed correctly as Normal priority.

Thanks for reporting.

Aug 9 2019, 4:37 PM · i18n, Bug Report, gpg4win
mscomparin created T4675: Accented characters not displayed correctly.
Aug 9 2019, 2:33 PM · i18n, Bug Report, gpg4win
werner added a comment to T4672: E-mail encryption in Microsoft Outlook Office 365 does not work properly.

Please explain in more detail what does not work. Outlook 365 is actually part of our test environment.

Aug 9 2019, 11:21 AM · Bug Report, gpg4win