Page MenuHome GnuPG
Feed All Stories

Aug 26 2020

werner added a comment to T5036: pinentry won't launch when gpg is invoked by Firefox when Firefox runs with native wayland support in a wayland DE.

Ah wait. This has been fixed in master a year ago but was not backported to 2.2; see T4137. I'll add it to the forthcoming 2.2.22. Thanks for the report.

Aug 26 2020, 3:11 PM · Wayland, pinentry
werner added a comment to T5036: pinentry won't launch when gpg is invoked by Firefox when Firefox runs with native wayland support in a wayland DE.

The warning above is harmless. Both strings are actually the same but stem from different versions of the autotools helper scripts

Aug 26 2020, 3:05 PM · Wayland, pinentry
werner committed rG2969525a600f: speedo: Allow customizing the release process (authored by werner).
speedo: Allow customizing the release process
Aug 26 2020, 2:44 PM
doronbehar added a comment to T5036: pinentry won't launch when gpg is invoked by Firefox when Firefox runs with native wayland support in a wayland DE.

Unfortunately I've had some trouble compiling the latest git version of GnuPG for NixOS - I got this warning which turned out to be a blocker:

Aug 26 2020, 2:44 PM · Wayland, pinentry
werner committed rC9c42c068c374: build: Allow customization of the signing key (authored by werner).
build: Allow customization of the signing key
Aug 26 2020, 9:44 AM
werner added a comment to T5036: pinentry won't launch when gpg is invoked by Firefox when Firefox runs with native wayland support in a wayland DE.

Without really looking at your report: May it be that this is because Pinentry does not get the WAYLAND_DISPLAY variable as reported in T5016? This will be fixed in 2.2.22 which I hope to release this week.

Aug 26 2020, 9:40 AM · Wayland, pinentry
werner committed rC9cd92ebae219: build: Allow customization of the signing key (authored by werner).
build: Allow customization of the signing key
Aug 26 2020, 9:02 AM

Aug 25 2020

werner committed rG00ac538e9280: po: Update Russian translation. (authored by Ineiev <ineiev@gnu.org>).
po: Update Russian translation.
Aug 25 2020, 7:59 PM
doronbehar added a comment to T5036: pinentry won't launch when gpg is invoked by Firefox when Firefox runs with native wayland support in a wayland DE.

I take some of my words back - using or not using MOZ_ENABLE_WAYLAND=1 doesn't make a difference eventually - If Firefox is launched by Gnome and not gnome-terminal, pinentry fails to launch with and without MOZ_ENABLE_WAYLAND.

Aug 25 2020, 6:21 PM · Wayland, pinentry
doronbehar created T5036: pinentry won't launch when gpg is invoked by Firefox when Firefox runs with native wayland support in a wayland DE in the S1 Public space.
Aug 25 2020, 5:41 PM · Wayland, pinentry
ikloecker committed rKLEOPATRAec107441490d: Fix setting/changing the Reset Code of OpenPGP v2 cards (authored by ikloecker).
Fix setting/changing the Reset Code of OpenPGP v2 cards
Aug 25 2020, 5:11 PM
ikloecker committed rKLEOPATRA49af5da51353: Allow users to change PIN and PUK of a PIV card (authored by ikloecker).
Allow users to change PIN and PUK of a PIV card
Aug 25 2020, 5:11 PM
ikloecker committed rKLEOPATRA549b08ed6fb8: Use ChangePinCommand also for OpenPGP cards (authored by ikloecker).
Use ChangePinCommand also for OpenPGP cards
Aug 25 2020, 5:11 PM
werner committed rGfc1a1857551c: gpg: Remove left over debug output from recent change. (authored by werner).
gpg: Remove left over debug output from recent change.
Aug 25 2020, 3:20 PM
werner closed T4881: "User ID" (Subject, subjectAltName) validity is inaccurate in gpgsm with sample certs. as Resolved.

The CRL states how long it is valid and we cache it for about that time.
OCSP responses are by definition not cachable but we allow for a clock skew of 10 minutes.

Aug 25 2020, 1:22 PM · Not A Bug, gnupg (gpg22), S/MIME
glr created T5035: Doc fix: simple typos.
Aug 25 2020, 1:13 PM · Bug Report
werner committed rG40acc5ef3ef7: examples: Simplify vsnfd.prf (authored by werner).
examples: Simplify vsnfd.prf
Aug 25 2020, 1:11 PM
werner committed rG60f08969e13b: gpg: Set default keysize to rsa3072 (authored by werner).
gpg: Set default keysize to rsa3072
Aug 25 2020, 1:10 PM
werner closed T4867: with non-existent homedir, `gpgconf --check-programs` produces surprising output. as Resolved.

Was easier to fix than expected. Thanks for the report. Fix goes into 2.2.22.

Aug 25 2020, 11:41 AM · gnupg (gpg22), Bug Report
werner committed rG0847133e4caf: sm: Do not require a default keyring for --gpgconf-list. (authored by werner).
sm: Do not require a default keyring for --gpgconf-list.
Aug 25 2020, 11:40 AM
werner committed rGe7677da479c4: sm: Do not require a default keyring for --gpgconf-list. (authored by werner).
sm: Do not require a default keyring for --gpgconf-list.
Aug 25 2020, 11:38 AM
werner closed T4866: `gpg-agent --gpgconf-list` returns a non-zero error code 2 if $HOME is non-existent, causing `gpgconf` to fail as Resolved.

[These damned typos in commit messages ;-)]

Aug 25 2020, 11:26 AM · gpgagent, gnupg, Bug Report
werner committed rGad1254b59d41: gpgconf: Silence warnings from parsing the options files (authored by werner).
gpgconf: Silence warnings from parsing the options files
Aug 25 2020, 11:24 AM
werner committed rGb17846e4fd02: agent: Allow using --gogconf-list even if HOME does not exist. (authored by werner).
agent: Allow using --gogconf-list even if HOME does not exist.
Aug 25 2020, 11:24 AM
werner committed rGadea5ba7e752: agent: Allow using --gogconf-list even if HOME does not exist. (authored by werner).
agent: Allow using --gogconf-list even if HOME does not exist.
Aug 25 2020, 11:24 AM
werner closed T4421: import-export does not remove duplicated subkeys as Resolved.

I implemented subkey collapsing in 2.3. It is enabled by default but you can disable it it with

Aug 25 2020, 10:42 AM · Feature Request, OpenPGP, gnupg (gpg23)
werner committed rG1e61280ffcf0: doc: Typo fixes (authored by werner).
doc: Typo fixes
Aug 25 2020, 10:40 AM
werner committed rG32021dfa5bca: gpgconf,w32: New debug command --show-codepages. (authored by werner).
gpgconf,w32: New debug command --show-codepages.
Aug 25 2020, 10:40 AM
werner committed rG633c1fea5f0d: gpg: Collapse duplicate subkeys. (authored by werner).
gpg: Collapse duplicate subkeys.
Aug 25 2020, 10:40 AM
werner added a comment to T5033: dirmngr does not seem to use the default .gnupg directory if GNUPGHOME is not set.

The keyserver options control how gpg imports or exports keys to the keyservers. Thus they indeed belong into gpg.conf.

Aug 25 2020, 8:40 AM · gnupg, Not A Bug
gniibe committed rE13c28a300e02: po: Update Japanese Translation. (authored by gniibe).
po: Update Japanese Translation.
Aug 25 2020, 7:36 AM
gniibe added a comment to T5029: server socket/pipe handling in GnuPG.

It's pretty minor bug, it only matters for some strange scenario on Windows like:
(1) a user runs gpg --card-edit or gpg-card and keeps the user interaction for some reason (say, forgetting the terminal interaction), which keeps the pipe connection from gpg-agent to scdaemon
(2) While the pipe connection is used by the user interaction above, from another terminal, the user invokes gpg (say, gpg --decrypt) which uses socket connection from gpg-agent to scdaemon

Aug 25 2020, 3:13 AM · Windows, scd, gnupg (gpg23)
gniibe added a comment to T5029: server socket/pipe handling in GnuPG.

I mean these uses of close:

diff --git a/scd/scdaemon.c b/scd/scdaemon.c
index b7bbc0361..a6925eaf9 100644
--- a/scd/scdaemon.c
+++ b/scd/scdaemon.c
@@ -797,8 +797,8 @@ main (int argc, char **argv )
       /* We run handle_connection to wait for the shutdown signal and
          to run the ticker stuff.  */
       handle_connections (fd);
-      if (fd != -1)
-        close (fd);
+      if (fd != GNUPG_INVALID_FD)
+        assuan_sock_close (fd);
     }
   else if (!is_daemon)
     {
@@ -932,7 +932,7 @@ main (int argc, char **argv )
Aug 25 2020, 3:02 AM · Windows, scd, gnupg (gpg23)
gniibe renamed T5034: dev: Deprecate libassuan-config, libgcrypt-config, ksba-config, ntbtls-config, npth-config, and gpg-error-config from dev: Deprecate libassuan-config, libgcrypt-config, ksba-config, ntbtls-config, and npth-config to dev: Deprecate libassuan-config, libgcrypt-config, ksba-config, ntbtls-config, npth-config, ang gpg-error-config.
Aug 25 2020, 2:55 AM
gniibe created T5034: dev: Deprecate libassuan-config, libgcrypt-config, ksba-config, ntbtls-config, npth-config, and gpg-error-config.
Aug 25 2020, 2:54 AM
gniibe closed T5010: gpgrt-config: Bug for handling Requires as Resolved.
Aug 25 2020, 2:24 AM · gpgrt

Aug 24 2020

CodingCellist added a comment to T5033: dirmngr does not seem to use the default .gnupg directory if GNUPGHOME is not set.

I have a couple of keyserver-options statements in there, but no keyserver statement. Should the options be located in the dirmngr.conf file instead?

Aug 24 2020, 9:31 PM · gnupg, Not A Bug
werner added a comment to T5033: dirmngr does not seem to use the default .gnupg directory if GNUPGHOME is not set.

I guess you have a keyserver statement in your gpg.conf.
By using

Aug 24 2020, 8:57 PM · gnupg, Not A Bug
werner closed T5031: Release Libgpg-error 1.39, a subtask of T5030: Release GnuPG 2.2.22 , as Resolved.
Aug 24 2020, 8:54 PM · gnupg (gpg22), Release Info
werner closed T5031: Release Libgpg-error 1.39 as Resolved.

Release done.

Aug 24 2020, 8:54 PM · Release Info, gpgrt
werner closed T4973: Cross build problem with v1.38 as Resolved.
Aug 24 2020, 8:54 PM · Restricted Project, gpgrt
werner updated the task description for T5031: Release Libgpg-error 1.39.
Aug 24 2020, 8:53 PM · Release Info, gpgrt
werner committed rG96e15051ba16: Add a new dist signing key (authored by werner).
Add a new dist signing key
Aug 24 2020, 7:50 PM
werner committed rGf148803277ca: Add a new dist signing key (authored by werner).
Add a new dist signing key
Aug 24 2020, 7:50 PM
werner committed rD3342f65c7943: Add my new dist signing key (authored by werner).
Add my new dist signing key
Aug 24 2020, 7:46 PM
ikloecker committed rKLEOPATRA48b585027063: Add selection of key algorithm to key generation on PIV cards (authored by ikloecker).
Add selection of key algorithm to key generation on PIV cards
Aug 24 2020, 7:09 PM
ikloecker committed rKLEOPATRA0db0273b3f68: Support arbitrary algorithms in GenCardKeyDialog (authored by ikloecker).
Support arbitrary algorithms in GenCardKeyDialog
Aug 24 2020, 5:15 PM
ikloecker committed rKLEOPATRAf93f44ba95ca: Add support for replacing existing keys on PIV smartcards (authored by ikloecker).
Add support for replacing existing keys on PIV smartcards
Aug 24 2020, 2:57 PM
werner committed rD6418a3ee9fbb: swdb: Release libgpg-error 1.39 (authored by werner).
swdb: Release libgpg-error 1.39
Aug 24 2020, 1:30 PM
werner committed rE31f0783a4337: Post release updates (authored by werner).
Post release updates
Aug 24 2020, 1:24 PM
werner committed rE59d9f8106db3: Release 1.39 (authored by werner).
Release 1.39
Aug 24 2020, 1:24 PM
CodingCellist created T5033: dirmngr does not seem to use the default .gnupg directory if GNUPGHOME is not set.
Aug 24 2020, 1:10 PM · gnupg, Not A Bug
werner added a comment to T5028: gpg --locate-key should refetch via wkd, if configured and no good pubkey found.

if a user decided to use the Web Key Directory, this should be used instead of falling back to whatever has been configured (nothing else by default)

Aug 24 2020, 11:04 AM · gnupg, Feature Request
bernhard added a comment to T5028: gpg --locate-key should refetch via wkd, if configured and no good pubkey found.

On the ml there was another request for this use case

Aug 24 2020, 9:56 AM · gnupg, Feature Request
werner added a comment to T4083: gpgtar, Kleopatra: Unicode filenames that are not native 8 bit on Windows don't work.

What is the current encoding? OEMCP ?

Aug 24 2020, 9:35 AM · Bug Report, gpg4win, kleopatra, gpgtar
gniibe committed rPTH02ce6b2d27f9: Conditionally enable busy_wait_for. (authored by gniibe).
Conditionally enable busy_wait_for.
Aug 24 2020, 9:26 AM
aheinecke claimed T4083: gpgtar, Kleopatra: Unicode filenames that are not native 8 bit on Windows don't work.

So if gnupg version >= 2.2.22 Kleopatra needs to convert the passed filenames to UTF-8 and pass them with the --utf8-strings option to gpgtar. This needs to be changed in Kleo. -> Assigned to me.

Aug 24 2020, 9:11 AM · Bug Report, gpg4win, kleopatra, gpgtar
werner closed T4993: Delete only private signing key from within gpg (without reimporting subkeys or 'rm ~/.gnupg/private-keys-v1.d/KEYGRIP.key') as Resolved.
Aug 24 2020, 7:49 AM · FAQ, gnupg (gpg22)

Aug 23 2020

Laurent Montel <montel@kde.org> committed rLIBKLEOa28a5be0f3f8: GIT_SILENT: It compiles fine without deprecated method (authored by Laurent Montel <montel@kde.org>).
GIT_SILENT: It compiles fine without deprecated method
Aug 23 2020, 5:11 PM
Laurent Montel <montel@kde.org> committed rKLEOPATRAa7a7d1cad628: GIT_SILENT: It compiles fine without deprecated method (authored by Laurent Montel <montel@kde.org>).
GIT_SILENT: It compiles fine without deprecated method
Aug 23 2020, 5:06 PM
werner committed rG5ac0cf1b8198: gpg,gpgsm: Record the creation time of a private key. (authored by werner).
gpg,gpgsm: Record the creation time of a private key.
Aug 23 2020, 12:46 PM
werner committed rG051830d7b486: agent: Allow to pass a timestamp to genkey and import. (authored by werner).
agent: Allow to pass a timestamp to genkey and import.
Aug 23 2020, 12:46 PM

Aug 22 2020

werner added a comment to T5027: gpgtar's "--files-from" should also handle a LF terminated list of file names..

Unicode file names will now also work - see T4083 and T5030

Aug 22 2020, 11:11 PM · gnupg (gpg22), Feature Request, gpgtar
werner closed T5032: On Becky! Internet Mail's GnuPG Plugin as Invalid.

Unfortunately we can't help you here as this is not a GnuPG problem or one of software we maintain.

Aug 22 2020, 11:08 PM · Feature Request
Romans10910 added a comment to T5027: gpgtar's "--files-from" should also handle a LF terminated list of file names..

Excellent! thanks for having considered this.

Aug 22 2020, 6:40 PM · gnupg (gpg22), Feature Request, gpgtar
Romans10910 created T5032: On Becky! Internet Mail's GnuPG Plugin.
Aug 22 2020, 6:18 PM · Feature Request
werner committed rG5b927b7b27bd: agent: Default to extended key format. (authored by werner).
agent: Default to extended key format.
Aug 22 2020, 3:13 PM
werner added a subtask for T5030: Release GnuPG 2.2.22 : T5031: Release Libgpg-error 1.39.
Aug 22 2020, 2:44 PM · gnupg (gpg22), Release Info
werner added a parent task for T5031: Release Libgpg-error 1.39: T5030: Release GnuPG 2.2.22 .
Aug 22 2020, 2:44 PM · Release Info, gpgrt
werner created T5031: Release Libgpg-error 1.39.
Aug 22 2020, 2:43 PM · Release Info, gpgrt
werner created T5030: Release GnuPG 2.2.22 .
Aug 22 2020, 2:41 PM · gnupg (gpg22), Release Info
werner added a comment to T4083: gpgtar, Kleopatra: Unicode filenames that are not native 8 bit on Windows don't work.

Done for master and 2.2.22 - libgpg-error 1.39 (not yet released) is required for the actual fix.

Aug 22 2020, 2:39 PM · Bug Report, gpg4win, kleopatra, gpgtar
werner committed rG843890663b6c: gpgtar,w32: Handle Unicode file names. (authored by werner).
gpgtar,w32: Handle Unicode file names.
Aug 22 2020, 2:39 PM
werner committed rG364cef997c0a: common: Use gpgrt functions for mkdir and chdir if available (authored by werner).
common: Use gpgrt functions for mkdir and chdir if available
Aug 22 2020, 2:39 PM
werner committed rGbef68efd8da9: common,w32: Do not assume the ANSI codepage during string conversion. (authored by werner).
common,w32: Do not assume the ANSI codepage during string conversion.
Aug 22 2020, 2:39 PM
werner committed rG73b0fdabdb10: common: Strip trailing CR,LF from w32_strerror. (authored by werner).
common: Strip trailing CR,LF from w32_strerror.
Aug 22 2020, 2:39 PM
Laurent Montel <montel@kde.org> committed rLIBKLEOc816e21fb11e: GIT_SILENT: time to increase dependancy (authored by Laurent Montel <montel@kde.org>).
GIT_SILENT: time to increase dependancy
Aug 22 2020, 2:06 PM
Laurent Montel <montel@kde.org> committed rKLEOPATRA526234364b92: GIT_SILENT: time to increase dependancy (authored by Laurent Montel <montel@kde.org>).
GIT_SILENT: time to increase dependancy
Aug 22 2020, 2:04 PM
Laurent Montel <montel@kde.org> committed rLIBKLEO67bba0c3b652: GIT_SILENT: prepare 5.15.1 (authored by Laurent Montel <montel@kde.org>).
GIT_SILENT: prepare 5.15.1
Aug 22 2020, 1:22 PM
Laurent Montel <montel@kde.org> committed rKLEOPATRAffe9c68c24b3: GIT_SILENT: prepare 5.15.1 (authored by Laurent Montel <montel@kde.org>).
GIT_SILENT: prepare 5.15.1
Aug 22 2020, 1:06 PM

Aug 21 2020

werner committed rG34e7703a9628: gpgtar,w32: Handle Unicode file names. (authored by werner).
gpgtar,w32: Handle Unicode file names.
Aug 21 2020, 9:34 PM
werner committed rG5305ce17ff7a: common,w32: Do not assume the ANSI code during string conversion. (authored by werner).
common,w32: Do not assume the ANSI code during string conversion.
Aug 21 2020, 9:34 PM
werner committed rGeec70e539e44: common: Use gpgrt functions for mkdir and chdir. (authored by werner).
common: Use gpgrt functions for mkdir and chdir.
Aug 21 2020, 9:34 PM
werner committed rG33fd55ca6f3e: common: Strip trailing CR,LF from w32_strerror. (authored by werner).
common: Strip trailing CR,LF from w32_strerror.
Aug 21 2020, 9:34 PM
werner committed rEa68c1975bda4: core,w32: Add UTF-8 support to gpgrt_fopen, gpgrt_mkdir and gpgrt_chdir. (authored by werner).
core,w32: Add UTF-8 support to gpgrt_fopen, gpgrt_mkdir and gpgrt_chdir.
Aug 21 2020, 9:13 PM
bernhard added a comment to T4958: Document different use of pubring.gpg in newer versions.

Read through it, thanks for the updated description!

Aug 21 2020, 8:49 AM · gnupg (gpg22), Documentation
werner added a comment to rE87a6b28c0f3b: argparse: Handle a corner case of wrong ARGC..

Good catch

Aug 21 2020, 8:38 AM
gniibe committed rC65a2cd139e21: ecc: Fix an error path. (authored by gniibe).
ecc: Fix an error path.
Aug 21 2020, 5:51 AM
gniibe committed rCfd51bc523d09: tests: Fix basic.c. (authored by gniibe).
tests: Fix basic.c.
Aug 21 2020, 5:51 AM
gniibe committed rE87a6b28c0f3b: argparse: Handle a corner case of wrong ARGC. (authored by gniibe).
argparse: Handle a corner case of wrong ARGC.
Aug 21 2020, 4:02 AM

Aug 20 2020

werner committed rGba873216ff99: gpgtar: Add dummy option --tar (authored by werner).
gpgtar: Add dummy option --tar
Aug 20 2020, 4:13 PM
werner closed T3772: gpg-zip fails with recipient names that have whitespace in them as Wontfix.
Aug 20 2020, 4:01 PM · gpgtar, Bug Report
werner changed the status of T5027: gpgtar's "--files-from" should also handle a LF terminated list of file names. from Open to Testing.

The options now work as documented. More tests on Window are required and eventually we need to handle non-ascii characters in file names.

Aug 20 2020, 3:56 PM · gnupg (gpg22), Feature Request, gpgtar
werner committed rG1efe99f3d9e3: gpgtar: Make --files-from and --null work as described. (authored by werner).
gpgtar: Make --files-from and --null work as described.
Aug 20 2020, 3:53 PM
werner committed rGe276f63e4a80: gpgtar: Make --files-from and --null work as described. (authored by werner).
gpgtar: Make --files-from and --null work as described.
Aug 20 2020, 3:52 PM
ikloecker committed rKLEOPATRA3fa1d8bbfafe: Add basic generation of keys for PIV smartcards (authored by ikloecker).
Add basic generation of keys for PIV smartcards
Aug 20 2020, 2:39 PM
werner claimed T5027: gpgtar's "--files-from" should also handle a LF terminated list of file names..
Aug 20 2020, 12:42 PM · gnupg (gpg22), Feature Request, gpgtar
werner edited projects for T4879: GnuPG treats reordered OpenPGP certificates differently, added: gnupg (gpg23); removed gnupg (gpg22).
Aug 20 2020, 11:10 AM · gnupg24, gnupg (gpg23), OpenPGP, Bug Report
werner closed T4960: Disable tests if required components are disabled as Resolved.

Fixed for 2.2.22

Aug 20 2020, 11:06 AM · Bug Report, gnupg (gpg22)
werner committed rG829bc3bc60da: build: New configure option --disable-tests (authored by werner).
build: New configure option --disable-tests
Aug 20 2020, 11:06 AM