Page MenuHome GnuPG
Feed Advanced Search

Oct 28 2019

dkg created T4732: X.509 cert for openpgpkey.gnupg.org is expired.
Oct 28 2019, 11:36 PM · gpgweb, Bug Report

Oct 24 2019

dkg reopened T4725: Dubious filename in literal data packet when encrypting with GPGME/GnuPGv1.4.23 as "Open".

@werner, are you saying that gpgme is not fully supported for use with gpg 1.4?

Oct 24 2019, 9:22 PM · gpgme, Bug Report
dkg added a comment to T4726: auto-key-locate only works with raw e-mail addresses (not angle-brackets).

@werner, you seem to be saying that -r does not imply "key lookups on remote services". Is that correct?

Oct 24 2019, 8:42 PM · gnupg (gpg22), wkd, Bug Report
dkg added a comment to T4513: dirmngr should try the configured keyservers anyway even if they are all dead.

There is a growing bit of popular lore in the GnuPG community that "when keyserver operations fail, you solve that problem with killall dirmngr." I believe this suggestion is potentially damaging (the long-running daemon may be in the middle of operations for a client that you don't know about), but i suspect it is circulating as advice because it resolves the situation outlined in this ticket. For whatever ephemeral reason, dirmngr gets stuck, and fails to notice that this situation has resolved itself.

Oct 24 2019, 5:39 PM · Feature Request, Keyserver, dirmngr

Oct 23 2019

dkg added a comment to T4725: Dubious filename in literal data packet when encrypting with GPGME/GnuPGv1.4.23.

@justus can you provide an example of the gpgme code you're using that generates this weirdness?

Oct 23 2019, 3:43 AM · gpgme, Bug Report
dkg created T4726: auto-key-locate only works with raw e-mail addresses (not angle-brackets).
Oct 23 2019, 3:24 AM · gnupg (gpg22), wkd, Bug Report

Oct 2 2019

dkg reopened T4400: GnuPG fails to parse algorithm preferences (and presumably features) from direct key signatures as "Open".

I agree with @werner that when presented with a User ID with self-sig with preference, the preferences subpackets from the self-sig should take precedence.

Oct 2 2019, 4:33 PM · Bug Report

Sep 10 2019

dkg added a comment to T4704: Wrong error message when key is expired.

yep, the implementation thinks that the default signing key is expired due to metadata contained in the public keyring. The secret key is available to the implementation. So the error mesage No secret key can cause confusion and/or panic if the user thinks they've actually lost their secret key.

Sep 10 2019, 3:15 PM · gnupg24 (gnupg-2.4.4), UI, Bug Report

Sep 9 2019

dkg added projects to T4704: Wrong error message when key is expired: gnupg (gpg22), UI.

fwiw, i can reproduce this on debian unstable with gpg version 2.2.17, without a redirected agent -- so the agent redirection isn't relevant here.

Sep 9 2019, 5:06 PM · gnupg24 (gnupg-2.4.4), UI, Bug Report
dkg added a comment to T4698: Results from clang analyzer.

@stm -- thank you for this!

Sep 9 2019, 4:34 PM · gpgrt, Bug Report

Sep 1 2019

dkg created T4694: manage first-party attestations.
Sep 1 2019, 1:45 PM · Keyserver, Feature Request

Aug 27 2019

dkg added a comment to T4276: Context.decrypt() throws an error if *any* signature is bad.

i'm actually running make -j3 check, since make -j3 distcheck has the problems described in T4688.

Aug 27 2019, 4:50 PM · gpgme, Python, Bug Report
dkg created T4688: `make distcheck` fails trying to make `rst/gpgme-python-howto.rst`.
Aug 27 2019, 4:48 PM · Restricted Project, gpgme, Bug Report
dkg added a comment to T4276: Context.decrypt() throws an error if *any* signature is bad.

So i've been able to (intermittently) reproduce the failures that i think @werner was alluding to here, but not under any circumstances where i can get them to happen reliably to understand what's going on.

Aug 27 2019, 4:18 PM · gpgme, Python, Bug Report

Aug 24 2019

dkg added a comment to T4393: GnuPG should always accept key updates even if the update does not contain UIDs.

It has now been more than a month since:

Aug 24 2019, 12:55 AM · gnupg (gpg23), Feature Request

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

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

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

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

dkg created T4668: `gpgconf --launch gpg-agent` tells me to run `gpgconf --check-options gpg-agent`, but the latter command gives me no information.
Aug 3 2019, 7:30 PM · gnupg (gpg22), Bug Report
dkg created T4667: "gpg: deleting secret key failed: No pinentry" when in --batch mode with --pinentry=loopback.
Aug 3 2019, 7:15 PM · gnupg24, gnupg (gpg23), Bug Report
dkg added a comment to T4666: gpg --delete-secret-keys: excessive and unclear prompting, surprising outcomes.

I also observe that the text in the GUI prompts is remarkably unclear on its own. setting aside the grammar, punctuation, and wording, the prompts don't expose the usage flags set for the secret keys, which is possibly the only detail that a user with a single OpenPGP certificate would care about: "am i deleting my signing-capable subkey or my decryption-capable subkey?"

Aug 3 2019, 7:10 PM · gnupg24, gnupg (gpg23), Bug Report
dkg created T4666: gpg --delete-secret-keys: excessive and unclear prompting, surprising outcomes.
Aug 3 2019, 7:05 PM · gnupg24, gnupg (gpg23), Bug Report
dkg created T4665: gpg --delete-key of subkey leaves dangling subkey binding signature.
Aug 3 2019, 5:12 PM · gnupg (gpg22), Bug Report

Jul 31 2019

dkg created T4662: --locate-external-keys does not interact well with --no-auto-key-locate.
Jul 31 2019, 7:31 PM · gnupg (gpg22), Bug Report
dkg reopened T4661: gpg-agent "getinfo cmd_has_option" is frequently wrong as "Open".

Please update the documentation for the function in that case.

Jul 31 2019, 4:49 PM · Documentation, gpgagent
dkg added a comment to T4652: avoid unnecessary trailing NUL byte in S-expressions.

Please see my explanation on gnupg-devel about why the trailing NUL is a source of pain and difficulty for would-be adopters.

Jul 31 2019, 4:45 PM · gnupg, Bug Report

Jul 29 2019

dkg created T4661: gpg-agent "getinfo cmd_has_option" is frequently wrong.
Jul 29 2019, 8:54 PM · Documentation, gpgagent

Jul 27 2019

dkg added a comment to T4658: Fix a dangling pointer in pinentry's qt/main.cpp.

I've just uploaded pinentry 1.1.0-3 to debian unstable with this fix in it.

Jul 27 2019, 6:07 AM · pinentry, Bug Report
dkg added a comment to T4658: Fix a dangling pointer in pinentry's qt/main.cpp.

@aheinecke thanks for the heads-up. i'll pull this in.

Jul 27 2019, 1:16 AM · pinentry, Bug Report

Jul 25 2019

dkg added a comment to rGfdd1567743cc: gpg,gpgsm: Handle pkdecrypt responses with or without NUL terminators.

@aheinecke

Due to socket forwarding we can have different versions of gpg-agent and gpg / gpgsm because they are on different machines and afaik we try to support it.

Jul 25 2019, 2:54 PM
dkg added a comment to rGfdd1567743cc: gpg,gpgsm: Handle pkdecrypt responses with or without NUL terminators.

fwiw, if the old gcrypt actually returned a radically different API, it should have a larger SONAME across that change, and NEED_LIBGCRYPT_VERSION should reflect a source version that forces it past that SONAME. I don't know what version of libgcrypt behaved differently -- is there a reference for that?

Jul 25 2019, 2:45 PM
dkg added a comment to rGfdd1567743cc: gpg,gpgsm: Handle pkdecrypt responses with or without NUL terminators.

I don't think there's a problem to have a long explanatory message in the main repository, as i think it makes it easier to understand, and space is not an issue.

Jul 25 2019, 2:40 PM
dkg added a comment to T4652: avoid unnecessary trailing NUL byte in S-expressions.

I've just broken out my changes into two commits, one that makes gpg and gpgsm more robust. That should be applicable without any risk.

Jul 25 2019, 1:59 AM · gnupg, Bug Report
dkg committed rGfdd1567743cc: gpg,gpgsm: Handle pkdecrypt responses with or without NUL terminators (authored by dkg).
gpg,gpgsm: Handle pkdecrypt responses with or without NUL terminators
Jul 25 2019, 1:57 AM
dkg committed rGefffd9907b75: agent: Do not place a trailing NUL byte on S-expressions (authored by dkg).
agent: Do not place a trailing NUL byte on S-expressions
Jul 25 2019, 1:57 AM

Jul 24 2019

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

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

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

Jul 18 2019

dkg committed rE732855a48370: build: Use {CFLAGS,CPPFLAGS, LDFLAGS}_FOR_BUILD for helper programs (authored by dkg).
build: Use {CFLAGS,CPPFLAGS, LDFLAGS}_FOR_BUILD for helper programs
Jul 18 2019, 5:49 PM
dkg added a comment to T4643: gpgrt: enable the environment to set compiler and linker flags for helper tools.

I've just pushed rE732855a483709345a5c0f49504f45cb8da3f883a to dkg-fix-T4643 in the gpg-error git repository. I don't know why it is not yet visible here.

Jul 18 2019, 5:31 PM · gpgrt, Feature Request
dkg created T4643: gpgrt: enable the environment to set compiler and linker flags for helper tools.
Jul 18 2019, 5:21 PM · gpgrt, Feature Request
dkg added a comment to rA98d7c7ea3f37: build: Use {CFLAGS,CPPFLAGS,LDFLAGS}_FOR_BUILD for helper programs..

CC_FOR_BUILD is defined in configure.ac as build system C compiler, not build system C compiler and flags.

Jul 18 2019, 4:35 PM
dkg added a comment to T4628: new import-clean default for keys from keyservers modifies the local keyring when anything is returned.

I'm aware of you releasing an RC for comments, and i apologize for not catching this particular case earlier. As you know from T4607, i was even advocating for it. i didn't understand the full implications of the "import-then-clean" approach at the time, and was thinking it would only apply to the incoming material, not the stored material.

Jul 18 2019, 4:26 PM · Keyserver, gnupg (gpg22), Bug Report
dkg committed rA45f01593d4ce: pass through {CFLAGS,CPPFLAGS,LDFLAGS}_FOR_BUILD when creating helper programs (authored by dkg).
pass through {CFLAGS,CPPFLAGS,LDFLAGS}_FOR_BUILD when creating helper programs
Jul 18 2019, 12:57 AM
dkg added a comment to T4628: new import-clean default for keys from keyservers modifies the local keyring when anything is returned.

i've merged a variant of rGbe99eec2b105eb5f8e3759147ae351dcc40560ad into the GnuPG packaging in debian unstable as of version 2.2.17-3 to avoid the risks of data loss and signature verification failures. I'll revert it if i see the concern addressed upstream.

Jul 18 2019, 12:17 AM · Keyserver, gnupg (gpg22), Bug Report

Jul 17 2019

dkg added a comment to T4592: gpg takes > 30s to list the keys from a 17MiB `pubring.gpg` that contains a single certificate.

@gniibe, thank you for backporting this to STABLE-BRANCH-2-2!

Jul 17 2019, 10:25 PM · gnupg (gpg23), Bug Report
dkg added a comment to T4641: Libassuan: enable the environment to set compiler and linker flags for helper tools.

I don't know why dkg-fix-T4641 is not showing up here on the assuan git repo.

Jul 17 2019, 9:11 PM · Restricted Project, libassuan, Feature Request
dkg added a comment to T4641: Libassuan: enable the environment to set compiler and linker flags for helper tools.

I've just pushed rA45f01593d4ce794ae3562359aee2ff80c97e368e to the dkg-fix-T4641 branch that resolves this.

Jul 17 2019, 7:31 PM · Restricted Project, libassuan, Feature Request
dkg created T4641: Libassuan: enable the environment to set compiler and linker flags for helper tools.
Jul 17 2019, 7:29 PM · Restricted Project, libassuan, Feature Request
dkg added a comment to T4632: Make it easier to cross-compile gpg-error.

Thanks for the feedback. I'll go ahead and close any tickets that come in via debian that expect to be able to cross compile without having at least once had a native compiler on the platform to generate the appropriate lock-obj-pub-*.h.

Jul 17 2019, 7:05 PM · gpgrt, Feature Request
dkg created T4635: ship gpgscm and necessary *.scm files from gpgrt.
Jul 17 2019, 2:12 AM · Tests, gpgrt, Feature Request
dkg added a comment to T3389: canonical OpenPGP certificate export.

@stm it kind of is a last-resort already, given that it's only in the event where the signature creation dates are equal, but sure, i wouldn't mind adjusting the proposal to say that (sigs) means "sort by date, then issuer, then binary content" -- but what do we think "sort by issuer" means?

Jul 17 2019, 1:28 AM · gnupg, Feature Request
dkg created T4634: "gpg --quiet --quick-gen-key" is not quiet: emits "key $FPR marked as ultimately trusted" to stderr..
Jul 17 2019, 1:01 AM · gnupg (gpg22), Bug Report
dkg added a comment to T4601: gpg --quiet --quick-sign-key is not quiet.

does the removal of the gpg22 tag mean that it will not be possible to rely on colon-delimited output for the gpg 2.2 series?

Jul 17 2019, 12:56 AM · gnupg24, gnupg (gpg23), Bug Report
dkg created T4633: gpg argument "--passphrase=" yields 'missing argument for option "--passphrase="'.
Jul 17 2019, 12:53 AM · Restricted Project, gnupg (gpg22), Bug Report

Jul 16 2019

dkg created T4632: Make it easier to cross-compile gpg-error.
Jul 16 2019, 11:18 PM · gpgrt, Feature Request