Page MenuHome GnuPG
Feed Advanced Search

Mar 6 2020

werner committed rGc693b7f4ade9: agent: Re-group the options in the --help output. (authored by werner).
agent: Re-group the options in the --help output.
Mar 6 2020, 3:31 PM
werner committed rG4423e9dcde5e: gpgconf: Support reading global options (part 2). (authored by werner).
gpgconf: Support reading global options (part 2).
Mar 6 2020, 3:31 PM
werner committed rG6fa1808cb763: common: Add xreallocarray function. (authored by werner).
common: Add xreallocarray function.
Mar 6 2020, 3:31 PM
werner committed rG178b3772ff79: gpgconf: Always use xmalloc. (authored by werner).
gpgconf: Always use xmalloc.
Mar 6 2020, 3:31 PM
werner committed rE85b5006d01fc: core: Tweak the printing of headers in the --help output. (authored by werner).
core: Tweak the printing of headers in the --help output.
Mar 6 2020, 3:01 PM
werner committed rEc59bf5824aaf: core: Add features for pretty printing the help (authored by werner).
core: Add features for pretty printing the help
Mar 6 2020, 11:12 AM
werner added a comment to T4867: with non-existent homedir, `gpgconf --check-programs` produces surprising output..

You should not fix stdout with stderr. Granted we could fflush stdout after a line, but rsh is dead and so all software can distinguish between them.

Mar 6 2020, 9:03 AM · gnupg (gpg22), Bug Report

Mar 5 2020

werner added a comment to T4866: `gpg-agent --gpgconf-list` returns a non-zero error code 2 if $HOME is non-existent, causing `gpgconf` to fail.

I t could print a warning for a non-existant homedir

Mar 5 2020, 8:24 PM · gpgagent, gnupg, Bug Report
werner lowered the priority of T4538: Support PSS signed CRLs from Normal to Low.

It is actually questionable whether PSS is a better padding scheme than PKCS#1, see
https://www.metzdowd.com/pipermail/cryptography/2019-November/035449.html . PSS seems indeed be rarely used; quoting Peter from a followup on his writeup: “If I get time over the weekend, and I can find a CMS message signed with RSA-PSS, I'll create a forgery using xor256.”

Mar 5 2020, 10:27 AM · dirmngr, S/MIME, libksba
werner added a comment to T4866: `gpg-agent --gpgconf-list` returns a non-zero error code 2 if $HOME is non-existent, causing `gpgconf` to fail.

As you surely known GnuPG requires its home directory; in particular when using the gpgconf to manage the config options. Thus I can't see what to do other than error out. gpgconf needs to know the location of the config file; if it is containign diretcory is not existant it will fail anyway.

Mar 5 2020, 10:14 AM · gpgagent, gnupg, Bug Report
werner added a comment to T4863: Yubikey 5Ci for iPhone.

Okay, I recall that I have seen these Yubikeys. Can you tell me which GPG app you intended to use? I am not aware of any GnuPG ports to the iPhone.

Mar 5 2020, 10:10 AM · yubikey, Feature Request

Mar 4 2020

werner added a comment to T4862: pubkeys are imported despite the --no-auto-key-retrieve option.

keyserver-URL needs to be replaced with with a keyserver URL, like

hkps://hkps.pool.sks-keyservers.net
Mar 4 2020, 9:34 AM · Too Old, FAQ, gnupg
werner triaged T4863: Yubikey 5Ci for iPhone as Normal priority.
Mar 4 2020, 9:17 AM · yubikey, Feature Request
werner added a comment to T4863: Yubikey 5Ci for iPhone.

Supporting NFC tokens requires implementing secure messaging for cards. This is on our todo list anyway but has had no priority. I have a couple of Yubikeys but not done any work on NFC.

Mar 4 2020, 9:17 AM · yubikey, Feature Request

Mar 3 2020

werner committed rE969abd302211: core: New function gpgrt_reallocarray. (authored by werner).
core: New function gpgrt_reallocarray.
Mar 3 2020, 3:44 PM
werner committed rE72a15bad8f27: core: Fix allocation bug introduced with last commit. (authored by werner).
core: Fix allocation bug introduced with last commit.
Mar 3 2020, 3:44 PM
werner committed rC8ce47c1f6ef6: doc: Fix description of hash algorithms (authored by Sébastien Helleu <flashcode@flashtux.org>).
doc: Fix description of hash algorithms
Mar 3 2020, 2:02 PM
werner committed rCda8623bd6dbf: doc: Fix description of hash algorithms (authored by Sébastien Helleu <flashcode@flashtux.org>).
doc: Fix description of hash algorithms
Mar 3 2020, 2:02 PM
werner committed rGa94daa6549f3: card: Add yet another vendor. (authored by werner).
card: Add yet another vendor.
Mar 3 2020, 1:37 PM
werner committed rGc8ad567e7c87: Protect error counter against overflow. (authored by werner).
Protect error counter against overflow.
Mar 3 2020, 12:24 PM
werner committed rG3c4ab531eb1a: card: Add new vendor. (authored by werner).
card: Add new vendor.
Mar 3 2020, 12:01 PM
werner committed rG4df1181c07eb: gpg: Add new card vendor (authored by werner).
gpg: Add new card vendor
Mar 3 2020, 12:01 PM

Mar 2 2020

werner committed rEdb95feab16e3: core: New internal option --dump-option-table for argparser. (authored by werner).
core: New internal option --dump-option-table for argparser.
Mar 2 2020, 5:59 PM
werner committed rEf816797c8734: core: Replace fputs by es_fputs in argparser. (authored by werner).
core: Replace fputs by es_fputs in argparser.
Mar 2 2020, 5:59 PM
werner committed rEd3661d81e9aa: core: Allow returning of attributes from gpgrt_argparser. (authored by werner).
core: Allow returning of attributes from gpgrt_argparser.
Mar 2 2020, 5:59 PM

Feb 29 2020

werner edited projects for T4862: pubkeys are imported despite the --no-auto-key-retrieve option, added: gnupg, FAQ; removed Bug Report.

--auto-key-retrieves tries to find a key when verifying a signature. --locate-key however does the same as what -r does and locates a key for further use. If you don't what that, don't include a key discovery mechanism in the the auto-key-locate like (wkd in this case, which is anyway the default).

Feb 29 2020, 5:49 PM · Too Old, FAQ, gnupg

Feb 28 2020

werner changed the status of T4788: System wide configuration of the GnuPG system from Testing to Open.

Arggh, gpgconf uses its own option parser so adding the global config file there will require some extra work.

Feb 28 2020, 2:40 PM · gnupg (gpg23), Feature Request, gpg4win, g10code
werner added a project to T4861: GPGme 1.13.1 fails at t-json: gpgme.
Feb 28 2020, 8:08 AM · gpgme, Bug Report

Feb 27 2020

werner changed the status of T4788: System wide configuration of the GnuPG system from Open to Testing.

All done in master with the latest libgpg-error (see T4859). There is always a global configure file in /etc/gnupg (or whatever "gpgconf --list-dirs sysconfdir" prints). The name of the configure file is the same as the user config file (gpg.conf, gpgsm.conf, gpg-agent.conf, ...) but for gpg.conf no versioned config names are used.

Feb 27 2020, 2:58 PM · gnupg (gpg23), Feature Request, gpg4win, g10code
werner committed rEffa21bf5b706: indent: Fix indentation in an argparse.c function (authored by werner).
indent: Fix indentation in an argparse.c function
Feb 27 2020, 2:39 PM
werner committed rE2d1969ab465b: core: Implement meta commands for the argparser. (authored by werner).
core: Implement meta commands for the argparser.
Feb 27 2020, 2:39 PM
werner triaged T4855: The trusted-key option requires a long key ID and won't take a fingerprint as Normal priority.

Internally only the long key id is is used thus the fingerprint might give a wrong impression. OTOH, to allow easy migration to future versions, extracting the keyid from the fingerprint is a good idea.

Feb 27 2020, 10:14 AM · gnupg (gpg22), Feature Request
werner created T4860: Release GnuPG 2.2.20 .
Feb 27 2020, 10:10 AM · gnupg (gpg22), Release Info
werner created T4859: Release libgpg-error 1.38.
Feb 27 2020, 10:08 AM · gpgrt, Release Info

Feb 26 2020

werner committed rE2f169b341e41: core: Add meta command handler stubs to argparse.c. (authored by werner).
core: Add meta command handler stubs to argparse.c.
Feb 26 2020, 3:49 PM
werner committed rE9d268891dae6: core: Prepare argparse.c to track additional info for options. (authored by werner).
core: Prepare argparse.c to track additional info for options.
Feb 26 2020, 3:49 PM
werner created U10 Modigliani.
Feb 26 2020, 2:32 PM

Feb 25 2020

werner added a comment to T4854: gpgme 1.13.1: test suite is failing.

(I stripped the report down to its core)

Feb 25 2020, 9:13 PM · gpgme, Bug Report
werner updated the task description for T4854: gpgme 1.13.1: test suite is failing.
Feb 25 2020, 9:11 PM · gpgme, Bug Report
werner committed rE6fc2d7cb8ce9: core: Add parser for meta commands to gpgrt_argparser. (authored by werner).
core: Add parser for meta commands to gpgrt_argparser.
Feb 25 2020, 9:07 PM
werner committed rE8c185e719860: core: Improve readability of _gpgrt_argparse. (authored by werner).
core: Improve readability of _gpgrt_argparse.
Feb 25 2020, 9:07 PM
werner committed rEca79d5edee8c: core: Fold duplicated code from _gpgrt_argparse. (authored by werner).
core: Fold duplicated code from _gpgrt_argparse.
Feb 25 2020, 9:07 PM
werner committed rG79f2318aa5c5: gpg: Re-enable versioned config files (authored by werner).
gpg: Re-enable versioned config files
Feb 25 2020, 3:24 PM
werner committed rG7e8f28653c1b: gpg: Re-add checking of config file permissions. (authored by werner).
gpg: Re-add checking of config file permissions.
Feb 25 2020, 3:24 PM
werner committed rEe9f36cabe157: core: New flag ARGPARSE_FLAG_USERVERS to try versioned config files. (authored by werner).
core: New flag ARGPARSE_FLAG_USERVERS to try versioned config files.
Feb 25 2020, 3:16 PM
werner closed T4853: libgpg-error: after regenerate ac/am/lt files and build reported version is 1.37-unknown as Invalid.

Do not use arbitary libtool versions or use autoreconf - this is maintainer-only and any problems are not considered a bug.

Feb 25 2020, 1:49 PM · Bug Report
werner committed rEf25555aed0da: core: New pseudo option ARGPARSE_PERMISSION_ERROR. (authored by werner).
core: New pseudo option ARGPARSE_PERMISSION_ERROR.
Feb 25 2020, 12:17 PM

Feb 22 2020

werner committed rG833c04334a53: Use gpgrt's new option parser for the new keyboxd. (authored by werner).
Use gpgrt's new option parser for the new keyboxd.
Feb 22 2020, 12:22 PM
werner committed rEb79b2a7fb3ad: core: Extend the way a config file can be specified, (authored by werner).
core: Extend the way a config file can be specified,
Feb 22 2020, 11:46 AM
werner committed rGcdbe10b762f3: Remove the now obsolete argparse code. (authored by werner).
Remove the now obsolete argparse code.
Feb 22 2020, 11:43 AM
werner committed rG941a48f9b12b: agent,dirmngr: Re-read the user specified config file. (authored by werner).
agent,dirmngr: Re-read the user specified config file.
Feb 22 2020, 11:43 AM

Feb 21 2020

werner added a comment to T4788: System wide configuration of the GnuPG system.

Okay, we now have global conf files in master. The extra flags to ignore or force certain options will be added to libgpg-error.

Feb 21 2020, 9:50 PM · gnupg (gpg23), Feature Request, gpg4win, g10code
werner committed rGba463128ce65: Use gpgrt's new option parser for the remaining daemons. (authored by werner).
Use gpgrt's new option parser for the remaining daemons.
Feb 21 2020, 9:47 PM
werner committed rG3bc004decd28: Use gpgrt's new option parser for the tools. (authored by werner).
Use gpgrt's new option parser for the tools.
Feb 21 2020, 8:38 PM

Feb 20 2020

werner closed T4845: error generating key pair as Invalid.
Feb 20 2020, 9:02 PM · FAQ, gpg4win
werner committed rG0e8f6e2aa98c: gpg: Use gpgrt's new option parser to provide a global conf file. (authored by werner).
gpg: Use gpgrt's new option parser to provide a global conf file.
Feb 20 2020, 3:01 PM
werner committed rG2c823bd878fc: Use gpgrt's new option parser for gpgc, gpgsm, and gpg-agent. (authored by werner).
Use gpgrt's new option parser for gpgc, gpgsm, and gpg-agent.
Feb 20 2020, 3:01 PM
werner committed rGccdf988b406d: build: Require libgpg-error 1.38 (authored by werner).
build: Require libgpg-error 1.38
Feb 20 2020, 3:01 PM
werner committed rEac663bceb02e: core: Change printed license names. (authored by werner).
core: Change printed license names.
Feb 20 2020, 2:55 PM
werner committed rE44258227f7df: core: Skip cmdline parsing for no or an empty argv. (authored by werner).
core: Skip cmdline parsing for no or an empty argv.
Feb 20 2020, 2:55 PM

Feb 19 2020

werner committed rE46b3749997da: core: More fixes for the new option/argument parser. (authored by werner).
core: More fixes for the new option/argument parser.
Feb 19 2020, 8:44 PM
werner committed rEa264fe9c5525: core: Some fixes for the new option/argument parser (authored by werner).
core: Some fixes for the new option/argument parser
Feb 19 2020, 7:05 PM
werner added a comment to T4513: dirmngr should try the configured keyservers anyway even if they are all dead.

and by that bypassing all key source tracking as done by gpg. In any case searching by name or mail address on a keyserver should not be done - at least not by a GUI tool as used by non experienced users.

Feb 19 2020, 4:34 PM · Feature Request, Keyserver, dirmngr
werner added a comment to T4513: dirmngr should try the configured keyservers anyway even if they are all dead.

The problem is not to check whether there is a connection but on how to decide whether something is a pool or an explictly added single keyserver and how often should we try to connect or read from it. Without marking hosts as dead the auto search features won't work well.

Feb 19 2020, 1:30 PM · Feature Request, Keyserver, dirmngr
werner added a comment to T4513: dirmngr should try the configured keyservers anyway even if they are all dead.

The proper solution is of course to use pkill instead of killall. SCNR.

Feb 19 2020, 12:43 PM · Feature Request, Keyserver, dirmngr
werner committed rGee911df979e9: card: New option --info for command list and select by s/n. (authored by werner).
card: New option --info for command list and select by s/n.
Feb 19 2020, 8:59 AM

Feb 18 2020

werner added a comment to T4850: GnuPG fails to find default key to sign when using a smart card, but recovers once card is removed.

Are you sure that you have only one secret key? (run: gpg -K)

Feb 18 2020, 8:18 PM · Restricted Project, gnupg (gpg22)
werner committed rE933eb9346a84: core: Add a high level option/argument parser. (authored by werner).
core: Add a high level option/argument parser.
Feb 18 2020, 4:51 PM
werner committed rE5742b8eaf3fa: core: Add gpgrt_fnameconcat and gpgrt_absfnameconcat. (authored by werner).
core: Add gpgrt_fnameconcat and gpgrt_absfnameconcat.
Feb 18 2020, 9:00 AM

Feb 17 2020

werner added a comment to T4851: hkps://keys.openpgp.org kleopatra doesn`t finde key.

The info from your report iis a bit scarce; we would need more to replicate this and also the version of the software and the OS you are running.

Feb 17 2020, 4:52 PM · kleopatra
werner committed rGe952026e19f3: sm: Remove left over debug output. (authored by werner).
sm: Remove left over debug output.
Feb 17 2020, 11:38 AM
werner committed rGd272308cc52c: sm: Remove left over debug output. (authored by werner).
sm: Remove left over debug output.
Feb 17 2020, 11:38 AM
werner triaged T4848: Usage of git in configure.ac for pinentry/gpa finds incorrect repositories as Normal priority.

Yeah, this can be done.

Feb 17 2020, 9:19 AM · pinentry, gpa, toolchain, Bug Report

Feb 16 2020

werner added a comment to T4849: procedure entry point not found in gpg-agent.exe.

The DLL libassuan-0.dll was not found or the system somehow found.
Do you have other versions of GnuPG or Gpg4win installed? Please search the system for copies of the above mentioned DLL?

Feb 16 2020, 2:11 PM · Bug Report

Feb 15 2020

werner changed the status of T4847: "gpgsm: invalid radix64 character 2d skipped" when trying to import a PEM file with DOS line endings (CR+LF) from Open to Testing.

Fixed in master and 2.2

Feb 15 2020, 7:25 PM · gnupg (gpg22), S/MIME, Bug Report
werner committed rG38f819bd6d77: gpgsm: Fix import of some CR,LF ternminated certificates (authored by werner).
gpgsm: Fix import of some CR,LF ternminated certificates
Feb 15 2020, 7:24 PM
werner committed rG6248739799fd: gpgsm: Fix import of some CR,LF ternminated certificates (authored by werner).
gpgsm: Fix import of some CR,LF ternminated certificates
Feb 15 2020, 7:23 PM
werner claimed T4847: "gpgsm: invalid radix64 character 2d skipped" when trying to import a PEM file with DOS line endings (CR+LF).
Feb 15 2020, 7:08 PM · gnupg (gpg22), S/MIME, Bug Report
werner edited projects for T4847: "gpgsm: invalid radix64 character 2d skipped" when trying to import a PEM file with DOS line endings (CR+LF), added: gnupg (gpg22); removed gnupg.

Really interesting: The code didn't changed since since 2003 and the bug must have been there all the time. It does happen only for 25% of the certificates with CR and LF; the others have padding characters at the end '=' which is also an indication of the end of the base64 block. I wonder why this has not been reported more often; maybe because most people import binary certificates.

Feb 15 2020, 7:01 PM · gnupg (gpg22), S/MIME, Bug Report
werner committed rD72e27683792e: web: Indicate which data formats acceptable for security reports. (authored by werner).
web: Indicate which data formats acceptable for security reports.
Feb 15 2020, 1:48 PM
werner added projects to T4847: "gpgsm: invalid radix64 character 2d skipped" when trying to import a PEM file with DOS line endings (CR+LF): S/MIME, gnupg.

Thomas, please provide a sample certificate. I can't access the intevation site to see whether one of the links has the cert. And pretty please fix the wald certificates!

Feb 15 2020, 12:43 PM · gnupg (gpg22), S/MIME, Bug Report

Feb 14 2020

werner added projects to T4845: error generating key pair: gpg4win, FAQ.

Older version of GnuPG had a rare bug in the keyring update code.

Feb 14 2020, 2:18 PM · FAQ, gpg4win
werner merged task T4844: error generating key pair into T4845: error generating key pair.
Feb 14 2020, 2:15 PM
werner merged T4844: error generating key pair into T4845: error generating key pair.
Feb 14 2020, 2:15 PM · FAQ, gpg4win
werner closed T4846: Undocumented --print-md algo's as Wontfix.

No, this depends on the version of Libgcrypt. Sorry, won't be documented or changed. Thanks for the report, though.

Feb 14 2020, 2:13 PM · Bug Report
werner committed rM2b8680aba9f1: python: Also detect python 3.9. (authored by werner).
python: Also detect python 3.9.
Feb 14 2020, 1:17 PM

Feb 13 2020

werner committed rSbc67cdb1030b: build: New configure option --disable-doc (authored by werner).
build: New configure option --disable-doc
Feb 13 2020, 5:06 PM
werner committed rG6cac2bd0382e: build: New configure option --disable-keyboxd (authored by werner).
build: New configure option --disable-keyboxd
Feb 13 2020, 4:18 PM
werner committed rG11d917c7796d: scd: Print the main app name also for not fully supported cards. (authored by werner).
scd: Print the main app name also for not fully supported cards.
Feb 13 2020, 4:18 PM
werner committed rG14ac350f868c: gpg: Changes to allow direct key generation from an OpenPGP card. (authored by werner).
gpg: Changes to allow direct key generation from an OpenPGP card.
Feb 13 2020, 2:41 PM
werner committed rGe582d8f5b2c1: card: Fix openpgp subkey listing. (authored by werner).
card: Fix openpgp subkey listing.
Feb 13 2020, 2:41 PM
werner committed rG86312b920a1d: gpg: New option --full-timestrings. (authored by werner).
gpg: New option --full-timestrings.
Feb 13 2020, 2:41 PM
werner committed rGe63f8bee4044: card: Take the key creation time from the KEYPAIRINFO (authored by werner).
card: Take the key creation time from the KEYPAIRINFO
Feb 13 2020, 2:41 PM
werner committed rG1ad84aabb410: scd:openpgp: Return key creation time as part of KEYPARIINFO. (authored by werner).
scd:openpgp: Return key creation time as part of KEYPARIINFO.
Feb 13 2020, 2:41 PM
werner committed rG638526d37fee: agent: Allow signing with card key even without a stub key. (authored by werner).
agent: Allow signing with card key even without a stub key.
Feb 13 2020, 2:41 PM

Feb 12 2020

werner committed rG8c63430d1a40: gpg: Rename the struct card_key_info_s. (authored by werner).
gpg: Rename the struct card_key_info_s.
Feb 12 2020, 9:19 PM
werner committed rG125c959677d5: card: Fix parsing of the received card_list. (authored by werner).
card: Fix parsing of the received card_list.
Feb 12 2020, 3:18 PM
werner committed rG1abfce82bd52: card: List more info for an OpenPGP key. (authored by werner).
card: List more info for an OpenPGP key.
Feb 12 2020, 12:51 PM
werner committed rG2c6092bc5d79: card: New option --no-key-lookup. (authored by werner).
card: New option --no-key-lookup.
Feb 12 2020, 11:17 AM

Feb 11 2020

werner committed rG9c719c9c1ff3: gpg: Improve key creation direct from the card. (authored by werner).
gpg: Improve key creation direct from the card.
Feb 11 2020, 8:52 PM