Page MenuHome GnuPG
Feed Advanced Search

May 15 2019

werner closed T4508: gnupg1: digest-preference not honoured, a subtask of T4509: Release GnuPG 2.2.16, as Resolved.
May 15 2019, 8:55 AM · Release Info, gnupg (gpg22)
werner closed T4508: gnupg1: digest-preference not honoured as Resolved.
May 15 2019, 8:55 AM · gnupg (gpg22), Bug Report
werner closed T4496: gpgconf --launch ignores --homedir arguments as Resolved.

Right, that was missing. Fixed for master and 2.2. Noet that for kill and reload we added this already in 2016.

May 15 2019, 8:54 AM · Bug Report, gnupg (gpg22)
werner committed rG31e26037bd72: gpgconf: Support --homedir for --launch. (authored by werner).
gpgconf: Support --homedir for --launch.
May 15 2019, 8:53 AM
werner committed rGa4be077abdbf: gpgconf: Support --homedir for --launch. (authored by werner).
gpgconf: Support --homedir for --launch.
May 15 2019, 8:53 AM
werner committed rG6e041b7b356c: sm: Add a couple of debug calls to the keydb module. (authored by werner).
sm: Add a couple of debug calls to the keydb module.
May 15 2019, 8:53 AM
werner triaged T4497: gpgconf should report clearer errors when it knows that a given daemon's config file is bad as Normal priority.
May 15 2019, 8:32 AM · gnupg (gpg22)
werner raised a concern with rC0df498e81fd3: use https instead of cleartext http where possible.

No, that is excessive. If the license blurb will ever be change this can be done but not just because of changing a single letter.

May 15 2019, 8:09 AM
werner added a comment to rC0df498e81fd3: use https instead of cleartext http where possible.

Sorry, I will revert this.

May 15 2019, 8:04 AM
werner added a comment to T4506: OpenPGP Key Certification Forgeries.

Attacks always get better and thus mitigation based on uncommon jpeg UATs would help only for a short time.
Maybe having a SHA-1 warning in 2.2 is also needed.

May 15 2019, 8:02 AM · gnupg (gpg22)

May 14 2019

werner added a comment to T4499: Asan finding in libgcrypt.

I would prefer not to fix that. I did some experiments on replacing all the runtime parsed ECC constants by static data. Adding the other constants will then be simple.

May 14 2019, 8:19 PM · libgcrypt
werner committed rG49b236af0ecb: kbx: Fix deadlock in gpgsm on Windows due to a sharing violation. (authored by werner).
kbx: Fix deadlock in gpgsm on Windows due to a sharing violation.
May 14 2019, 7:07 PM
werner committed rG22e274f839f9: sm: Change keydb code to use the keybox locking. (authored by werner).
sm: Change keydb code to use the keybox locking.
May 14 2019, 4:52 PM
werner raised the priority of T4490: --export-secret-keys fails with unusually-created secret key from Normal to High.
May 14 2019, 4:39 PM · ssh, gnupg (gpg22)
werner renamed T4500: Option --use-embedded-filename does not work as expect from GnuPG Producing a Warning in Error(?) to Option --use-embedded-filename does not work as expect.
May 14 2019, 11:57 AM · gnupg (gpg22), Bug Report
werner triaged T4500: Option --use-embedded-filename does not work as expect as Normal priority.

There is actually a problem with --use-embedded-filename. Given that the option his highly dangerous to use we have not tested this for ages. We will see what you we can about it.

May 14 2019, 11:57 AM · gnupg (gpg22), Bug Report
werner triaged T4503: include extension for OpenPGP creation timestamp in X.509 output as Normal priority.

Thanks for the hint on the existing OID I already looked into that and planned to use one from the GnuPG arc, But an existing OID is better. I still need to figure useful workflows but something like this will be useful for smartcards..

May 14 2019, 10:42 AM · Feature Request, S/MIME
werner closed T4501: gpg --generate-key --batch from existing key (with Key-Grip:) fails on 64-bit big-endian architectures as Resolved.
May 14 2019, 10:35 AM · gnupg (gpg22), Bug Report
werner committed rG110932925ba8: agent: correct length for uri and comment on 64-bit big-endian platforms (authored by dkg).
agent: correct length for uri and comment on 64-bit big-endian platforms
May 14 2019, 10:34 AM
werner committed rG5651b2c460a7: agent: correct length for uri and comment on 64-bit big-endian platforms (authored by dkg).
agent: correct length for uri and comment on 64-bit big-endian platforms
May 14 2019, 10:34 AM
werner committed rG54e96c6fd262: agent: Replace most assert by log_assert. (authored by werner).
agent: Replace most assert by log_assert.
May 14 2019, 10:34 AM
werner added a comment to T4501: gpg --generate-key --batch from existing key (with Key-Grip:) fails on 64-bit big-endian architectures.

Good catch. Thanks for that work. I'll apply it to master and 2.2.

May 14 2019, 10:33 AM · gnupg (gpg22), Bug Report
werner triaged T4513: dirmngr should try the configured keyservers anyway even if they are all dead as Normal priority.
May 14 2019, 10:09 AM · Feature Request, Keyserver, dirmngr
werner closed T4507: show-only-fpr-mbox shows user-ids that are not valid as Resolved.
May 14 2019, 10:08 AM · Bug Report
werner committed rG49a679eb3596: doc: Minor edit for a gpg option. (authored by werner).
doc: Minor edit for a gpg option.
May 14 2019, 10:07 AM
werner committed rG3c2198e907c6: doc: Minor edit for a gpg option. (authored by werner).
doc: Minor edit for a gpg option.
May 14 2019, 10:07 AM
werner added a comment to T4507: show-only-fpr-mbox shows user-ids that are not valid.

Yes, that term is overloaded. The reason in this case is that we once replaced "trusted key" by "valid key". That term "valid" now conflicts with another older use of valid. Using "self-signed" here seems to be more confusing that just removing the (first) "valid".

May 14 2019, 10:04 AM · Bug Report
werner added a comment to T4511: dirmngr error logs claim that HTTP GET requests are percent-escaped, but they are not.

This is easy to explain: dirmngr receives already escaped data and that is what you see in the log. For proper parsing of the URI the escaping needs to be removed and only before sending the request the required escaping is applied. '@', '<', and '>' do not need to be escaped and thus you see them as they are.

May 14 2019, 9:59 AM · Bug Report, dirmngr
werner claimed T4511: dirmngr error logs claim that HTTP GET requests are percent-escaped, but they are not.
May 14 2019, 8:52 AM · Bug Report, dirmngr
werner triaged T4514: Batch mode/unattended key generation: support multiple subkeys as Normal priority.

I anyway plan to extend the --quick-gen-key parameters to allow the specification of several subkeys on the command line.

May 14 2019, 8:44 AM · gnupg24, gnupg (gpg23), Feature Request
werner closed T4512: gpg's --keyserver option should be more robustly deprecated as Resolved.

I removed this specialized error message. Thanks for reporting.

May 14 2019, 8:38 AM · gnupg24, gnupg (gpg23), Documentation, Keyserver, Bug Report
werner committed rG8d645f1d1f2b: gpg: Do not print a hint to use the deprecated --keyserver option. (authored by werner).
gpg: Do not print a hint to use the deprecated --keyserver option.
May 14 2019, 8:38 AM
werner committed rG7102d9b798b0: gpg: Do not print a hint to use the deprecated --keyserver option. (authored by werner).
gpg: Do not print a hint to use the deprecated --keyserver option.
May 14 2019, 7:56 AM

May 13 2019

werner added a comment to T4507: show-only-fpr-mbox shows user-ids that are not valid.

"valid user-id" means a user id which is properly bound to the key; that is the self-signature checks out.

May 13 2019, 10:01 PM · Bug Report
werner created T4510: Update our copy of SQLite to 3.28.
May 13 2019, 7:40 PM · CVE
werner committed rGc1dc7a832921: gpg: Change update_keysig_packet to replace SHA-1 by SHA-256. (authored by werner).
gpg: Change update_keysig_packet to replace SHA-1 by SHA-256.
May 13 2019, 7:30 PM
werner added a parent task for T4508: gnupg1: digest-preference not honoured: T4509: Release GnuPG 2.2.16.
May 13 2019, 7:27 PM · gnupg (gpg22), Bug Report
werner added a subtask for T4509: Release GnuPG 2.2.16: T4508: gnupg1: digest-preference not honoured.
May 13 2019, 7:27 PM · Release Info, gnupg (gpg22)
werner created T4509: Release GnuPG 2.2.16.
May 13 2019, 7:26 PM · Release Info, gnupg (gpg22)
werner committed rG484d6ba5896a: gpg: Change update_keysig_packet to replace SHA-1 by SHA-256. (authored by werner).
gpg: Change update_keysig_packet to replace SHA-1 by SHA-256.
May 13 2019, 7:20 PM
werner triaged T4508: gnupg1: digest-preference not honoured as High priority.

I keep this open to track the mentioned change for gnupg 2.2

May 13 2019, 6:53 PM · gnupg (gpg22), Bug Report
werner added a comment to T4508: gnupg1: digest-preference not honoured.

How a digest algorithim is selected for a key signature

May 13 2019, 6:52 PM · gnupg (gpg22), Bug Report
werner added a comment to T4508: gnupg1: digest-preference not honoured.

No, personal-digest-preferences are not used to select a digest algorithm for key signatures. The only way to use a different digest-algorithm than select by gpg is by using --cert-digest-algo. But take care, you can easily cut into your fingers when using such override options.

May 13 2019, 6:49 PM · gnupg (gpg22), Bug Report
werner triaged T4499: Asan finding in libgcrypt as Low priority.

I have not yet looked at the details but I do not consider one-time allocation a problem. If you want to silence ASAN it is possible to use gpgrt_annotate_leaked_object( foo). Dynamic loading of Libgcrypt is anyway not supported; those who do that are on their own.

May 13 2019, 4:01 PM · libgcrypt
werner added a comment to T4506: OpenPGP Key Certification Forgeries.
  • For 2.3 we should ignore all SHA-1 key certifications and warn about SHA-1 binding signatures and offer to migrate them.
May 13 2019, 2:43 PM · gnupg (gpg22)
werner added a comment to T4506: OpenPGP Key Certification Forgeries.

How a digest algorithim is selected for a key signature

May 13 2019, 1:38 PM · gnupg (gpg22)
werner committed rGd07666412d43: gpg: Cleanup use of make_keysig_packet. (authored by werner).
gpg: Cleanup use of make_keysig_packet.
May 13 2019, 1:24 PM
werner changed the visibility for T4506: OpenPGP Key Certification Forgeries.
May 13 2019, 11:05 AM · gnupg (gpg22)
werner added a comment to T4504: Asan findings in iconv configure test causing config failure.

We update condig.{guess,sub} only when needed. In the past we had cases with regressions on some rare platforms.

May 13 2019, 8:49 AM · gpgrt, gnupg

May 12 2019

werner committed rG8d0d61aca3d2: sm: Fix a warning in an es_fopencooie function. (authored by werner).
sm: Fix a warning in an es_fopencooie function.
May 12 2019, 8:43 PM
werner triaged T4495: UBsan finding "certdump.c:695:3: runtime error: null pointer passed as argument 2" as Normal priority.

Thanks for the tests. I just fixed this one and will do replace some code in master, soon.

May 12 2019, 8:43 PM · gnupg
werner triaged T4502: keys added via gpg-agent's ssh-agent interface are stored in private-keys-v1.d/ with a trailing null byte as Normal priority.

I often put an extra nul byte at the end of binary data so that accidental printing the data (e.g. in gdb) assures that there is a string terminator. But right, it should not go out to a file.

May 12 2019, 8:16 PM · gpgagent, ssh

May 10 2019

werner triaged T4493: Default to HKPS, not HKP as Normal priority.
May 10 2019, 7:23 PM · dirmngr, Feature Request
werner triaged T4490: --export-secret-keys fails with unusually-created secret key as Normal priority.
May 10 2019, 10:20 AM · ssh, gnupg (gpg22)
werner triaged T4491: Compile error in nPth's t-fork.c on Solaris 11.3 i86pc as Normal priority.
May 10 2019, 10:17 AM · npth, Bug Report
werner renamed T4491: Compile error in nPth's t-fork.c on Solaris 11.3 i86pc from Compile error in Nth t-fork.c on Solaris 11.3 i86pc to Compile error in nPth's t-fork.c on Solaris 11.3 i86pc.
May 10 2019, 10:16 AM · npth, Bug Report
werner closed T4492: Gawk 5.0 and warning: regexp escape sequence `\#' is not a known regexp operator as Resolved.

We fixed this bug already in the repo. See T4459.

May 10 2019, 10:13 AM · Duplicate, gnupg

May 9 2019

werner committed rG7c4029110ab4: dirmngr: Add a CSRF expection for pm.me (authored by werner).
dirmngr: Add a CSRF expection for pm.me
May 9 2019, 2:52 PM
werner committed rG7098e4ce198d: dirmngr: Add a CSRF expection for pm.me (authored by werner).
dirmngr: Add a CSRF expection for pm.me
May 9 2019, 2:51 PM
werner committed rGe6901c2bc802: build: Sign all Windows binaries. (authored by werner).
build: Sign all Windows binaries.
May 9 2019, 2:40 PM
werner triaged T4488: dirmngr: allow changing `use-tor` in a reload as Normal priority.
May 9 2019, 8:10 AM · gnupg (gpg23), dirmngr
werner triaged T4489: gpg --quick-add-key should be able to add an existing key as a subkey, not just generating a new one as Normal priority.
May 9 2019, 8:09 AM · gnupg, OpenPGP, Feature Request

May 8 2019

werner committed rD35887801da27: web: Minor change to the g10 Code entry in service listing. (authored by werner).
web: Minor change to the g10 Code entry in service listing.
May 8 2019, 9:37 AM
werner triaged T4427: Windows 10 update KB4489899 stops gpg-agent launching as High priority.
May 8 2019, 8:54 AM · Info Needed, Windows, gpgagent, Bug Report

May 7 2019

werner added a comment to T4460: libgcrypt performance TODOs.

Isn't the Sparc crypto instruction set only available in kernel mode?

May 7 2019, 11:57 AM · libgcrypt
werner committed rG69e0b080f06b: agent: If a Label is make sure that label is part of the prompt. (authored by werner).
agent: If a Label is make sure that label is part of the prompt.
May 7 2019, 11:52 AM
werner committed rG538853780641: agent: Allow the use of "Label:" in a key file. (authored by werner).
agent: Allow the use of "Label:" in a key file.
May 7 2019, 11:52 AM
werner committed rGb5985d0ca21c: common: New functions nvc_delete_named and nvc_get_string. (authored by werner).
common: New functions nvc_delete_named and nvc_get_string.
May 7 2019, 11:52 AM
werner triaged T4485: Add AEAD mode AES-GCM-SIV to libgcrypt (RFC 8452) as Normal priority.
May 7 2019, 8:55 AM · Feature Request, libgcrypt
werner triaged T4486: Add AEAD mode AES-SIV to libgcrypt (RFC 5297) as Normal priority.
May 7 2019, 8:55 AM · Feature Request, libgcrypt
werner triaged T4487: libksba: please refresh ASN.1 components from more recent RFCs with BSD licensing as Wishlist priority.

That is not a functional feature request and I see no value in chnaging data structures just for being up to the latest RFC. Actually the ASN.1 is not from an RFC but from a specific X.509 profile. For CMS most parsing is anyway done with handcrafted code.

May 7 2019, 8:54 AM · libksba, Feature Request

May 6 2019

werner placed T4481: gpgme 1.13.0 ships with an emacs backup file: lang/python/doc/src/gpgme-python-howto.tex~ up for grabs.

Argh, that Python specific stuff Ben used is weird and does not fit into the autotools model. Someone(tm) need to have a closer look at it.

May 6 2019, 3:22 PM · gpgme
werner added a comment to T4482: GPG: Error on sign-key with compliance de-vs because of SHA-1 usage.

The digest algorithm used is computed based on the preferences in the key if encryption is also used. Thus this should always work and any decent key has sha256 in its preferences. In case sha1 has a higher precedence, as seen on old keys, --personal-digest-preferences can be used to prefer sha256. However, it is way better to fix the key. The easisies way to do that is to change the expiration date - then the new standard preferences will be used.

May 6 2019, 1:41 PM · OpenPGP, gnupg
werner added a project to T4482: GPG: Error on sign-key with compliance de-vs because of SHA-1 usage: OpenPGP.
May 6 2019, 1:36 PM · OpenPGP, gnupg
werner claimed T4481: gpgme 1.13.0 ships with an emacs backup file: lang/python/doc/src/gpgme-python-howto.tex~.
May 6 2019, 9:52 AM · gpgme

May 3 2019

werner committed rG781d2c5c8995: doc: Minor doc fix to dirmngr. (authored by werner).
doc: Minor doc fix to dirmngr.
May 3 2019, 4:16 PM
werner committed rGf43560a4d6cd: doc: Minor doc fix to dirmngr. (authored by werner).
doc: Minor doc fix to dirmngr.
May 3 2019, 4:15 PM
werner committed rGbdf252e76ada: agent: Put Token lines into the key files. (authored by werner).
agent: Put Token lines into the key files.
May 3 2019, 4:05 PM
werner committed rGc9fa28bfad29: common: In private key mode write "Key:" always last in name-value. (authored by werner).
common: In private key mode write "Key:" always last in name-value.
May 3 2019, 4:05 PM
werner committed rGbd6ecbb8f8e9: gpg: Use just the addrspec from the Signer's UID. (authored by werner).
gpg: Use just the addrspec from the Signer's UID.
May 3 2019, 4:05 PM
werner committed rG05204b72497d: gpg: Use just the addrspec from the Signer's UID. (authored by werner).
gpg: Use just the addrspec from the Signer's UID.
May 3 2019, 4:05 PM
werner triaged T4478: Please fix DeryptionError typo in gpgme python bindings as High priority.
May 3 2019, 10:29 AM · Python, Bug Report, gpgme
werner added a project to T4478: Please fix DeryptionError typo in gpgme python bindings: Python.
May 3 2019, 10:29 AM · Python, Bug Report, gpgme
werner added a comment to T4477: gpgme has noisy warnings in debug.h.

The thing is that that I accidentally added the -Wno-* flags only in maintainer-mode as they were -Wmore-strict-warning-flags. One reason for using more strict warnings in maintainer mode is to allow building with older gcc versions without having to test for the availability of the warning flags.

May 3 2019, 10:28 AM · Bug Report, gpgme

Apr 30 2019

werner triaged T4359: Convert backup keyfiles to regular key's as Normal priority.
Apr 30 2019, 4:40 PM · gnupg24, gnupg (gpg23), Feature Request
werner added a comment to T4475: Gemalto IDBridge CT710 && Pinentry.

Put

log-file /somewhere/scd.log
debug ipc,cardio
verbose

into ~/.gnupg/scdaemon.conf and kill scdaemon. Then look at the output. I would suggest to first stop the pcscd so that GnuPG's internal CCID driver will be used. Make also sure that there is no a permission problem with the usb port. In case of a CCID (card reader protocol) problem a

debug-ccid-driver

in scdaemon.conf will also be helpful.

Apr 30 2019, 4:08 PM · Feature Request
werner added a project to T4451: Kleopatra: OpenPGP Smart Card decription / private key not found: Windows.
Apr 30 2019, 11:44 AM · Windows, kleopatra, Bug Report, gpg4win
werner added a comment to T4457: Improve deletion of secret subkeys (don't delete primary key when subkey deletion is requested).

If you have a patch please send it either by mail to gnupg-devel or attach it here. Thanks.

Apr 30 2019, 11:39 AM · patch, Bug Report, gnupg
werner triaged T4474: libgpg-error: Disallow undefined symbols by design. as Low priority.

Please explain in more detail what the problem with Cygwin is.

Apr 30 2019, 11:37 AM · gpgrt, Cygwin, patch, Bug Report
werner committed rGe114a715d618: tools: Add some code for a future gpg-signcode tool. (authored by werner).
tools: Add some code for a future gpg-signcode tool.
Apr 30 2019, 10:06 AM
werner committed rG5ed227589288: tools: Some changes to the ccidmon.c debug helper. (authored by werner).
tools: Some changes to the ccidmon.c debug helper.
Apr 30 2019, 8:31 AM
werner committed rG5f3864fb6472: sm: Add yet inactive options to support authenticode (authored by werner).
sm: Add yet inactive options to support authenticode
Apr 30 2019, 8:31 AM

Apr 29 2019

werner closed T4473: The presence of gpg key disables ulimit and coredump in X11 session as Wontfix.

Since 2.1 the standard use of gpg-agent is to have it started on demand by the components which require it. The use of
"gpg-agent --daemon /bin/sh " should be used for debugging only.

Apr 29 2019, 10:12 PM · gpgagent, Bug Report
werner added a comment to T4012: Diagnostic is shown with the original filename not being sanitized..
Request for keyThu, 7 Jun 2018 11:48 +0200
Reply from usThu, 7 Jun 2018 19:05 +0200
Report dateFri, 8 Jun 2018 09:14 +0200
Fix committedFri, 8 Jun 2018 11:09 +0200
Announcement and releaseFri, 8 Jun 2018 15:41 +0200
Apr 29 2019, 4:14 PM · gnupg, CVE, Bug Report
werner committed rDe4bd8cbc56a3: web: Add mail address to the imprint. (authored by werner).
web: Add mail address to the imprint.
Apr 29 2019, 2:02 PM

Apr 26 2019

werner committed rK1f0afa452e12: Add support for authenticode signing. (authored by werner).
Add support for authenticode signing.
Apr 26 2019, 3:28 PM
werner committed rK158539fd0c82: Add constants KSBA_VERSION and KSBA_VERSION_NUMBER. (authored by werner).
Add constants KSBA_VERSION and KSBA_VERSION_NUMBER.
Apr 26 2019, 3:28 PM

Apr 23 2019

werner triaged T4198: Pinentry doesn't capture input correctly, crashes terminal instead as Normal priority.
Apr 23 2019, 1:36 PM · pinentry, Bug Report
werner updated subscribers of T4462: GnuPG: Segfaults trying to encrypt / locate by mbox for specific keys.

FWIW, with 4a130bbc2c2f4be6e8c6357512a943f435ade28f I fixed a similar report by @syscomet but lacking a test case this was a blind flight ("This patch is not tested but a good guess."). Thanks for tracking it down.

Apr 23 2019, 1:14 PM · Bug Report, gnupg
werner triaged T4468: twitter login broken as Normal priority.

That might have been a regression since one of the Phrabricator updates (we need to apply out own patches each time).

Apr 23 2019, 9:11 AM · dev.gnupg.org