Page MenuHome GnuPG
Feed All Stories

Jan 28 2022

werner closed T5794: Cannot add ed25519 SSH key with empty comment as Resolved.

Thanks for the report. To keep things easy the empty comment is now translated to "(none)".

Jan 28 2022, 8:03 PM · ssh, gnupg (gpg22), Bug Report
werner committed rG2331900d1cc0: ssh: Fix adding an ed25519 key with a zero length comment. (authored by werner).
ssh: Fix adding an ed25519 key with a zero length comment.
Jan 28 2022, 8:01 PM
werner committed rG934a60de6b88: ssh: Fix adding an ed25519 key with a zero length comment. (authored by werner).
ssh: Fix adding an ed25519 key with a zero length comment.
Jan 28 2022, 8:01 PM
werner closed T5800: gpgconf: Ignores keyserver option in gpgsm.conf as Resolved.
Jan 28 2022, 5:30 PM · Restricted Project, Bug Report, gnupg (gpg22)
werner closed T5800: gpgconf: Ignores keyserver option in gpgsm.conf, a subtask of T5732: Backport option reading in gpgconf to 2.2, as Resolved.
Jan 28 2022, 5:30 PM · Restricted Project, Bug Report, kleopatra, backport, gnupg (gpg22)
werner closed T5732: Backport option reading in gpgconf to 2.2 as Resolved.
Jan 28 2022, 5:30 PM · Restricted Project, Bug Report, kleopatra, backport, gnupg (gpg22)
werner committed rG34ea19aff99f: gpg: Allow --dearmor to decode all kinds of armor files. (authored by werner).
gpg: Allow --dearmor to decode all kinds of armor files.
Jan 28 2022, 12:17 PM
aheinecke triaged T5805: Kleopatra or GnuPG: Auto retrieve signers key as Normal priority.
Jan 28 2022, 9:28 AM · gnupg, kleopatra, Restricted Project
gniibe added a comment to T5797: New API for modern password hash function.

Pushed rC254fb14044cf: kdf: Change new KDF API.

Jan 28 2022, 9:08 AM · Feature Request, libgcrypt
gniibe committed rC254fb14044cf: kdf: Change new KDF API. (authored by gniibe).
kdf: Change new KDF API.
Jan 28 2022, 9:08 AM
aheinecke added a comment to T5777: Kleopatra: Remove all external links which would open a browser.

Wow! That is a great idea. Thanks!

Jan 28 2022, 9:03 AM · kleopatra, Restricted Project
werner lowered the priority of T5804: Using empty passphrase key pair, gpg2.3.4 fails to decrypt with error "No passphrase given" on a gpg1.4/2.0 keyring format even though the secret keys migration was successful from High to Normal.
Jan 28 2022, 7:20 AM · gnupg24, Bug Report
werner added projects to T5804: Using empty passphrase key pair, gpg2.3.4 fails to decrypt with error "No passphrase given" on a gpg1.4/2.0 keyring format even though the secret keys migration was successful : gnupg (gpg23), Bug Report.
Jan 28 2022, 7:20 AM · gnupg24, Bug Report
werner updated the task description for T5804: Using empty passphrase key pair, gpg2.3.4 fails to decrypt with error "No passphrase given" on a gpg1.4/2.0 keyring format even though the secret keys migration was successful .
Jan 28 2022, 7:20 AM · gnupg24, Bug Report
werner updated the task description for T5803: outlook restarts on adding a address to a new email.
Jan 28 2022, 7:17 AM · gpgol, Bug Report, gpg4win
gniibe committed rC6467287ba121: cipher: Implement variable-length hash function for Argon2. (authored by gniibe).
cipher: Implement variable-length hash function for Argon2.
Jan 28 2022, 6:51 AM
gniibe committed rC4cbbd87e2af0: kdf: Implement Argon2 KDF using blake2b_vl_hash function. (authored by gniibe).
kdf: Implement Argon2 KDF using blake2b_vl_hash function.
Jan 28 2022, 6:51 AM
engel97 updated the task description for T5804: Using empty passphrase key pair, gpg2.3.4 fails to decrypt with error "No passphrase given" on a gpg1.4/2.0 keyring format even though the secret keys migration was successful .
Jan 28 2022, 1:50 AM · gnupg24, Bug Report
engel97 renamed T5804: Using empty passphrase key pair, gpg2.3.4 fails to decrypt with error "No passphrase given" on a gpg1.4/2.0 keyring format even though the secret keys migration was successful from Using empty passphrase key pair, gpg2.3.4 fails to decrypt with error "No secret key" on a gpg1.4/2.0 keyring format even though the secret keys migration was successful to Using empty passphrase key pair, gpg2.3.4 fails to decrypt with error "No passphrase given" on a gpg1.4/2.0 keyring format even though the secret keys migration was successful .
Jan 28 2022, 1:50 AM · gnupg24, Bug Report
engel97 triaged T5804: Using empty passphrase key pair, gpg2.3.4 fails to decrypt with error "No passphrase given" on a gpg1.4/2.0 keyring format even though the secret keys migration was successful as High priority.
Jan 28 2022, 1:49 AM · gnupg24, Bug Report

Jan 27 2022

permaBox created T5803: outlook restarts on adding a address to a new email.
Jan 27 2022, 10:20 PM · gpgol, Bug Report, gpg4win
ikloecker committed rLIBKLEOb49d0fb3a6b0: Also exclude deprecated gpgsm/keyserver option for GnuPG 2.2.34+ (authored by ikloecker).
Also exclude deprecated gpgsm/keyserver option for GnuPG 2.2.34+
Jan 27 2022, 4:53 PM
ikloecker changed the status of T5777: Kleopatra: Remove all external links which would open a browser from Open to Testing.

I have added a setting which can be used to block URLs with certain schemes.

Jan 27 2022, 4:27 PM · kleopatra, Restricted Project
ikloecker committed rKLEOPATRA333fe62582a9: Allow URLs with certain schemes to be blocked by Kleopatra (authored by ikloecker).
Allow URLs with certain schemes to be blocked by Kleopatra
Jan 27 2022, 4:06 PM
werner committed rGf2d1187fcde3: gpgsm: Retire the new --ldapserver. (authored by werner).
gpgsm: Retire the new --ldapserver.
Jan 27 2022, 3:24 PM
werner committed rGe1fc053dc1ad: gpgconf: Tweak the use of ldapserver. (authored by werner).
gpgconf: Tweak the use of ldapserver.
Jan 27 2022, 3:23 PM
werner committed rGed798a97f54f: gpgconf: Teach --show-config the legacy gpgconf.conf. (authored by werner).
gpgconf: Teach --show-config the legacy gpgconf.conf.
Jan 27 2022, 2:44 PM
werner committed rG977b61ddab0c: gpgconf: Return again "keyserver" for gpgsm. (authored by werner).
gpgconf: Return again "keyserver" for gpgsm.
Jan 27 2022, 2:44 PM
ikloecker claimed T5777: Kleopatra: Remove all external links which would open a browser.
Jan 27 2022, 10:47 AM · kleopatra, Restricted Project
ikloecker changed the status of T5755: Kleopatra: Export secret subkeys from Open to Testing.
Jan 27 2022, 10:44 AM · Restricted Project, Feature Request, kleopatra
werner committed rDece75b2bf564: swdb: Release gpgrt 1.44 (authored by werner).
swdb: Release gpgrt 1.44
Jan 27 2022, 10:34 AM
werner closed T5676: Release Libgpg-error 1.44 as Resolved.
Jan 27 2022, 10:32 AM · Release Info, gpgrt
ikloecker changed the status of T5791: Kleopatra: Make settings read-only if corresponding GnuPG config entries or KConfigXT entries are read-only from Open to Testing.
Jan 27 2022, 10:28 AM · Restricted Project, kleopatra
ikloecker added a comment to T5791: Kleopatra: Make settings read-only if corresponding GnuPG config entries or KConfigXT entries are read-only.

This should now work for all settings in Kleopatra's configuration dialog.

Jan 27 2022, 10:28 AM · Restricted Project, kleopatra
ikloecker committed rLIBKLEOdbe78f2cd0eb: Explicitly exclude deprecated gpgsm/keyserver option from config UI (authored by ikloecker).
Explicitly exclude deprecated gpgsm/keyserver option from config UI
Jan 27 2022, 10:14 AM
werner committed rEf8cf25ee6b2e: build: Fixes for make distcheck (authored by werner).
build: Fixes for make distcheck
Jan 27 2022, 10:03 AM
werner committed rE663b91fe91af: Add Turkish translations (authored by Emir SARI <emir_sari@icloud.com>).
Add Turkish translations
Jan 27 2022, 10:03 AM
werner committed rEb4f0f809e126: Post release updates (authored by werner).
Post release updates
Jan 27 2022, 10:03 AM
werner committed rE54eff9cb9ac8: Release 1.44 (authored by werner).
Release 1.44
Jan 27 2022, 10:03 AM
werner triaged T5802: Release libgpg-error 1.45 as Low priority.
Jan 27 2022, 10:00 AM · Release Info, gpgrt
ikloecker changed the status of T5801: Kleopatra: Add support for the new dirmngr/ldapserver option to configure X.509 servers from Open to Testing.

This change adds support for the new "ldapserver" option of dirmngr.
The now deprecated "keyserver" option of gpgsm is still read, but
changes are always written to the new option (and the old option is
cleared). This change removes support for the ancient "LDAP Server"
pseudo-option which new versions of gpgconf no longer support.

Jan 27 2022, 9:21 AM · Restricted Project, kleopatra
ikloecker committed rKLEOPATRAf31a67fc9d07: Remove superfluous call of load() from configuration module c'tors (authored by ikloecker).
Remove superfluous call of load() from configuration module c'tors
Jan 27 2022, 9:05 AM
ikloecker committed rKLEOPATRA7a32d00fbadb: Pimpl DirectoryServicesConfigurationPage (authored by ikloecker).
Pimpl DirectoryServicesConfigurationPage
Jan 27 2022, 9:05 AM
ikloecker committed rKLEOPATRA7b08d57e6a45: Modernize code: Connect to the markAsChanged slot (authored by ikloecker).
Modernize code: Connect to the markAsChanged slot
Jan 27 2022, 9:05 AM
ikloecker committed rKLEOPATRA706da7c7202d: Remove never used config entry (authored by ikloecker).
Remove never used config entry
Jan 27 2022, 9:05 AM
ikloecker committed rKLEOPATRA318ff3a4e249: Add support for new dirmngr option to configure X.509 servers (authored by ikloecker).
Add support for new dirmngr option to configure X.509 servers
Jan 27 2022, 9:05 AM
ikloecker committed rKLEOPATRA9b38454cdb99: Fix invocation of the load() slot from KCModule::showEvent() (authored by ikloecker).
Fix invocation of the load() slot from KCModule::showEvent()
Jan 27 2022, 9:05 AM
gniibe added a comment to T5797: New API for modern password hash function.

@jukivili , thank you for your comment.

Jan 27 2022, 1:36 AM · Feature Request, libgcrypt

Jan 26 2022

jukivili added a comment to T5797: New API for modern password hash function.

I planned to reply to your email on mailing-list, but I just have too little time.

Jan 26 2022, 7:45 PM · Feature Request, libgcrypt
werner committed rGeefa2d19ee3f: gpgconf: Some more fixes for the backported stuff. (authored by werner).
gpgconf: Some more fixes for the backported stuff.
Jan 26 2022, 4:44 PM
werner committed rG85300587cc8a: gpgconf: Fix --list-options for forced options (authored by werner).
gpgconf: Fix --list-options for forced options
Jan 26 2022, 1:32 PM
werner committed rG8fb23094c2f5: gpgconf: Fix --list-options for forced options (authored by werner).
gpgconf: Fix --list-options for forced options
Jan 26 2022, 12:54 PM
werner added a comment to T5800: gpgconf: Ignores keyserver option in gpgsm.conf.

I added --ldapserver to gpgsm because of confusion of what a keyserver is. Right now we see a problem only with this alias but it is a more general problem with aliases. My patch to master was a for public testing - let's discuss this on the phone.

Jan 26 2022, 12:45 PM · Restricted Project, Bug Report, gnupg (gpg22)
ikloecker added a comment to T5800: gpgconf: Ignores keyserver option in gpgsm.conf.

The above change now also makes gpgconf from master ignore the keyserver option in gpgsm.conf.

$ gpgconf --version
gpgconf (GnuPG) 2.3.5-beta17
Jan 26 2022, 10:35 AM · Restricted Project, Bug Report, gnupg (gpg22)
ikloecker added a comment to T5800: gpgconf: Ignores keyserver option in gpgsm.conf.

For what it's worth: I suggest to remove the ldapserver alias of gpgsm's keyserver option in GnuPG 2.2 and 2.3 again. It was added not too long ago (in June 2021) and it was added after the new dirmngr/ldapserver option was added. The alias is causing regressions and trouble with its only benefit (as far as I can see) being that dirmngr has an option of the same name for the same purpose.

Jan 26 2022, 9:47 AM · Restricted Project, Bug Report, gnupg (gpg22)
ikloecker claimed T5801: Kleopatra: Add support for the new dirmngr/ldapserver option to configure X.509 servers.
Jan 26 2022, 9:39 AM · Restricted Project, kleopatra
ikloecker added a comment to T5800: gpgconf: Ignores keyserver option in gpgsm.conf.

For X.509 servers Kleopatra currently looks at gpgsm/keyserver with a fallback to dirmngr/LDAP Server. The gpgconf interface change

* tools/gpgconf-comp.c (known_options_gpgsm): Rename "keyserver" to
"ldapserver" and set level to invisible.

in rG0b4fdbd5f41e: gpgconf: Return --ldapserver and --keyserver from dirmngr. breaks configuration of X.509 servers with existing versions of Kleopatra. I suggest to revert this change to unbreak Kleopatra.

Jan 26 2022, 9:38 AM · Restricted Project, Bug Report, gnupg (gpg22)
ikloecker created T5801: Kleopatra: Add support for the new dirmngr/ldapserver option to configure X.509 servers.
Jan 26 2022, 9:37 AM · Restricted Project, kleopatra
jukivili added a comment to T5785: libgcrypt-1.9.4 build failure on ppc64le.

Thanks for report. Those powerpc vector implementations expect that compiler optimizations are enabled and here provided CFLAGS did not have '-Ox' parameter. This could be worked around by introducing -O2 always when building those files (confiugre.ac & cipher/Makefile.am change) or using 'optimize' attributes to required functions (cipher/*-ppc*.c change).

Jan 26 2022, 8:19 AM · Gentoo, Bug Report
jukivili claimed T5785: libgcrypt-1.9.4 build failure on ppc64le.
Jan 26 2022, 8:14 AM · Gentoo, Bug Report
gniibe committed rCf21871e241e9: kdf: Improve new KDF API. (authored by gniibe).
kdf: Improve new KDF API.
Jan 26 2022, 6:46 AM

Jan 25 2022

werner updated the task description for T5305: Release Libgcrypt 1.9.3.
Jan 25 2022, 11:03 PM · Release Info, libgcrypt
werner triaged T5800: gpgconf: Ignores keyserver option in gpgsm.conf as High priority.
Jan 25 2022, 8:31 PM · Restricted Project, Bug Report, gnupg (gpg22)
werner committed rG0b4fdbd5f41e: gpgconf: Return --ldapserver and --keyserver from dirmngr. (authored by werner).
gpgconf: Return --ldapserver and --keyserver from dirmngr.
Jan 25 2022, 8:24 PM
werner added a comment to T5800: gpgconf: Ignores keyserver option in gpgsm.conf.

Turns out that the aliasing is a problem; if we allow keyserver as an alias for ldapserver in gpgsm.conf we are not able to get the value unless we add dedicated handling for this. Test in 2.3 but we will have the same problem the other way around in 2.2.

Jan 25 2022, 8:15 PM · Restricted Project, Bug Report, gnupg (gpg22)
werner added a comment to T5800: gpgconf: Ignores keyserver option in gpgsm.conf.

What does kleopatra use to get the list of ldap servers - gpgsm or dirmngr?

Jan 25 2022, 7:58 PM · Restricted Project, Bug Report, gnupg (gpg22)
werner added a comment to T5800: gpgconf: Ignores keyserver option in gpgsm.conf.

The problem comes from the way we handle an alias. That actually depends on the order the options are specified.

Jan 25 2022, 7:56 PM · Restricted Project, Bug Report, gnupg (gpg22)
werner committed rE5ab088aba9f0: core: Fix returning of option attributes for options with args. (authored by werner).
core: Fix returning of option attributes for options with args.
Jan 25 2022, 7:16 PM
werner closed T5799: GnuPG: No change is not set for all [force] option entries as Resolved.

Thanks for debugging. Unfortunately I doubled your effort 'cause I didn't looked into the report anymore. (System test done with GPA ;-)

Jan 25 2022, 7:07 PM · Restricted Project, kleopatra
werner committed rG38c666ec3fdb: scd: Also prefer Yubikeys if no reader port is given. (authored by werner).
scd: Also prefer Yubikeys if no reader port is given.
Jan 25 2022, 7:05 PM
werner committed rGd8e6d1e9ed7d: common: Fix returning of option attributes for options with args. (authored by werner).
common: Fix returning of option attributes for options with args.
Jan 25 2022, 7:05 PM
gniibe committed rC5e2d792eb8d9: random: Include sys/random.h when available. (authored by gniibe).
random: Include sys/random.h when available.
Jan 25 2022, 4:53 PM
gniibe committed rCbafdb90d97b6: cipher: Add new API for modern KDF function. (authored by gniibe).
cipher: Add new API for modern KDF function.
Jan 25 2022, 4:38 PM
ikloecker created T5800: gpgconf: Ignores keyserver option in gpgsm.conf.
Jan 25 2022, 4:09 PM · Restricted Project, Bug Report, gnupg (gpg22)
ikloecker added a comment to T5799: GnuPG: No change is not set for all [force] option entries.

Without the above patch the ARGPARSE_ATTR_IGNORE, ARGPARSE_ATTR_FORCE, and ARGPARSE_OPT_IGNORE flags in arg->r_type are never set for a not-ignored option with argument.

Jan 25 2022, 4:01 PM · Restricted Project, kleopatra
ikloecker added a comment to T5799: GnuPG: No change is not set for all [force] option entries.

The following experimental patch (which may be complete non-sense and/or may have undesired side effects) seems to fix it

diff --git a/src/argparse.c b/src/argparse.c
index a144881..7cd8ba7 100644
--- a/src/argparse.c
+++ b/src/argparse.c
@@ -1874,6 +1874,7 @@ _gpgrt_argparse (estream_t fp, gpgrt_argparse_t *arg, gpgrt_opt_t *opts_orig)
                         xfree (buffer);
                       else
                         gpgrt_annotate_leaked_object (buffer);
+                      prepare_arg_return (arg, opts, idx, 0, 1);
                     }
                 }
               goto leave;
Jan 25 2022, 3:56 PM · Restricted Project, kleopatra
ikloecker added a comment to T5799: GnuPG: No change is not set for all [force] option entries.

I think in the block below

else if (state == Acopyarg)

there is a prepare_arg_return missing.

Jan 25 2022, 3:36 PM · Restricted Project, kleopatra
ikloecker added a comment to T5799: GnuPG: No change is not set for all [force] option entries.

I think the no change flag is wrong for all options that have arguments.

Jan 25 2022, 2:55 PM · Restricted Project, kleopatra
werner added a comment to T5799: GnuPG: No change is not set for all [force] option entries.

Tip: Use -v to get a human readable list of flags.

Jan 25 2022, 2:49 PM · Restricted Project, kleopatra
aheinecke renamed T5799: GnuPG: No change is not set for all [force] option entries from GnuPG: Read only is not set for all [force] option entries to GnuPG: No change is not set for all [force] option entries.
Jan 25 2022, 2:37 PM · Restricted Project, kleopatra
aheinecke triaged T5799: GnuPG: No change is not set for all [force] option entries as High priority.
Jan 25 2022, 2:36 PM · Restricted Project, kleopatra
ikloecker committed rLIBKLEO19e4f2f506a4: Add a test for the hexdecode helpers (authored by ikloecker).
Add a test for the hexdecode helpers
Jan 25 2022, 12:03 PM
ikloecker changed the status of T5795: Kleopatra reader selection and quoting from Open to Testing.
Jan 25 2022, 11:52 AM · gnupg22, Restricted Project, kleopatra
ikloecker committed rKLEOPATRAc7be8cf847fc: Use the hexdecode/hexencode helpers provided by libkleo (authored by ikloecker).
Use the hexdecode/hexencode helpers provided by libkleo
Jan 25 2022, 11:52 AM
ikloecker added a comment to T5795: Kleopatra reader selection and quoting.

Doh! gpgme already performs the unescaping of data retrieved via the Assuan protocol for us in llass_status_handler. Doing it again in Kleo::SCDaemon::getReaders was simply wrong.

Jan 25 2022, 11:51 AM · gnupg22, Restricted Project, kleopatra
ikloecker committed rLIBKLEOc894f0c65918: Fix erroneous unescaping of reader names (authored by ikloecker).
Fix erroneous unescaping of reader names
Jan 25 2022, 11:48 AM
Jakuje added a comment to T5692: New entropy gatherer using the genentropy system call..

For the record, there is a new report on the mailing list about this module on MacOS:

Jan 25 2022, 10:43 AM · libgcrypt, FIPS
ikloecker committed rLIBKLEOc65fdfbe04f3: Bump library version (authored by ikloecker).
Bump library version
Jan 25 2022, 10:16 AM
ikloecker committed rLIBKLEO671f2bbf2059: Export the hexdecode/hexencode helpers (authored by ikloecker).
Export the hexdecode/hexencode helpers
Jan 25 2022, 10:16 AM
werner added a comment to T5712: Yubikey 5 NFC only recognized immediately after it is inserted.

There are reasons why we don't used pcsc-shared by default; for example: Not all OpenPGP cards support reading the current verification state (whether a PIN has already been entered) and thus we use a local cache for this. Other shared applications may change the state behind our back or even switch to another application on the card. Thus we use the safe way.

Jan 25 2022, 10:15 AM · Documentation, Bug Report
werner committed rG1cf0c407bf2f: doc: Add comments on the legacy status of gpgconf.conf. (authored by werner).
doc: Add comments on the legacy status of gpgconf.conf.
Jan 25 2022, 10:11 AM
werner committed rGb64cae5abba2: doc: Add comments on the legacy status of gpgconf.conf. (authored by werner).
doc: Add comments on the legacy status of gpgconf.conf.
Jan 25 2022, 10:10 AM
ikloecker moved T5795: Kleopatra reader selection and quoting from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Jan 25 2022, 9:43 AM · gnupg22, Restricted Project, kleopatra
ikloecker claimed T5795: Kleopatra reader selection and quoting.
Jan 25 2022, 9:43 AM · gnupg22, Restricted Project, kleopatra
ikloecker added a comment to T5795: Kleopatra reader selection and quoting.

Hmm, I looked at the gpg-side a bit. assuan_send_data that's used for returning GETINFO reader_list only does escaping "as required by the Assuan protocol", i.e. percent escaping of certain characters but no plus escaping.

Jan 25 2022, 9:40 AM · gnupg22, Restricted Project, kleopatra
gniibe committed rC99642f18ccbe: tests: Fix variable initialization for tests. (authored by gniibe).
tests: Fix variable initialization for tests.
Jan 25 2022, 3:02 AM
gniibe committed rC3d353782d84b: Prefer uint64_t for the definition of u64. (authored by gniibe).
Prefer uint64_t for the definition of u64.
Jan 25 2022, 3:02 AM
gniibe committed rPTH0e16575e69a3: Fix npth_ppoll when !HAVE_PPOLL. (authored by gniibe).
Fix npth_ppoll when !HAVE_PPOLL.
Jan 25 2022, 1:53 AM
gniibe committed rC1f299cb16afd: doc: Update more information about FIPS selftests and algorithms (authored by Jakuje).
doc: Update more information about FIPS selftests and algorithms
Jan 25 2022, 1:21 AM
gniibe committed rC08f3e0909f8c: mpi: Add missing header file to the tarball (authored by Jakuje).
mpi: Add missing header file to the tarball
Jan 25 2022, 1:21 AM