Page MenuHome GnuPG
Feed All Stories

Jan 27 2022

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
gniibe added a comment to T5512: Implement service indicators.

Thank you, applied both of two patches.

Jan 25 2022, 1:20 AM · Feature Request, FIPS, libgcrypt
gniibe added a comment to rPTHb5ecd8d2c6fd: posix: Add npth_poll/npth_ppoll..

Thanks, fixed.

Jan 25 2022, 1:12 AM

Jan 24 2022

werner committed rGaf2fbd9b01a1: agent: always use hexgrip when storing key password (authored by James Bottomley via Gnupg-devel <gnupg-devel@gnupg.org>).
agent: always use hexgrip when storing key password
Jan 24 2022, 10:55 PM
werner committed rGb7e1afe9a4ba: doc: Minor typo fixes (authored by werner).
doc: Minor typo fixes
Jan 24 2022, 10:55 PM
werner committed rWbdb805ce6c30: appimage: Use ~/.gnupg-vsd for GnuPG VS-Desktop (authored by werner).
appimage: Use ~/.gnupg-vsd for GnuPG VS-Desktop
Jan 24 2022, 8:26 PM
bernard_d created T5798: Empty emails in Outlook - conflict between gpgOl & ESET (antivirus add-in).
Jan 24 2022, 7:46 PM · Add-In-conflict, gpgol, gpg4win
werner edited projects for T5795: Kleopatra reader selection and quoting, added: gnupg (gpg22); removed gpgme.
Jan 24 2022, 7:10 PM · gnupg22, Restricted Project, kleopatra
werner claimed T5795: Kleopatra reader selection and quoting.

Yes, kleo always maps '+' -> ' '

Jan 24 2022, 7:10 PM · gnupg22, Restricted Project, kleopatra
werner raised a concern with rPTHb5ecd8d2c6fd: posix: Add npth_poll/npth_ppoll..
Jan 24 2022, 6:44 PM
ikloecker committed rKLEOPATRA3dbda42804c2: Adjust to interface changes (authored by ikloecker).
Adjust to interface changes
Jan 24 2022, 5:20 PM
ikloecker committed rKLEOPATRA8c455efc4de5: Read/write attribute order from/to configuration (authored by ikloecker).
Read/write attribute order from/to configuration
Jan 24 2022, 5:20 PM
ikloecker committed rKLEOPATRAfa3fe3e65b50: Do not change read-only tooltip settings when loading defaults (authored by ikloecker).
Do not change read-only tooltip settings when loading defaults
Jan 24 2022, 5:20 PM
ikloecker committed rKLEOPATRAd63a8c90be53: Disable UI elements if corresponding config entries are read-only (authored by ikloecker).
Disable UI elements if corresponding config entries are read-only
Jan 24 2022, 5:20 PM
ikloecker committed rKLEOPATRA2d651eed2346: Use KConfigXT for getting/setting the DN attribute order (authored by ikloecker).
Use KConfigXT for getting/setting the DN attribute order
Jan 24 2022, 5:20 PM
ikloecker committed rKLEOPATRA24d0cfcb622a: Actually save the changed UseTags setting (authored by ikloecker).
Actually save the changed UseTags setting
Jan 24 2022, 5:20 PM
ikloecker committed rKLEOPATRA7b5fcff79d11: Set configured DN attribute order on application start (authored by ikloecker).
Set configured DN attribute order on application start
Jan 24 2022, 5:20 PM
ikloecker committed rLIBKLEOaed0f051988c: Bump library version (authored by ikloecker).
Bump library version
Jan 24 2022, 5:07 PM
ikloecker committed rLIBKLEOd6b810aad543: Do not read/write DN attribute order from/to application config file (authored by ikloecker).
Do not read/write DN attribute order from/to application config file
Jan 24 2022, 5:07 PM
Laurent Montel <montel@kde.org> committed rLIBKLEOeb20ad10fab7: Fix install headers (authored by Laurent Montel <montel@kde.org>).
Fix install headers
Jan 24 2022, 2:14 PM
Jakuje added a comment to T5512: Implement service indicators.

Thanks. Looks good to me.

Jan 24 2022, 1:38 PM · Feature Request, FIPS, libgcrypt
gniibe updated the task description for T5797: New API for modern password hash function.
Jan 24 2022, 10:54 AM · Feature Request, libgcrypt
gniibe added a comment to T5797: New API for modern password hash function.
struct thread_creation {
  void (*compute) (void *arg);
  void *arg;
  void (*create_done) (gcry_kdf_handle_t *hd, void *tid);
};
Jan 24 2022, 10:54 AM · Feature Request, libgcrypt
gniibe updated the task description for T5797: New API for modern password hash function.
Jan 24 2022, 10:53 AM · Feature Request, libgcrypt
gniibe triaged T5797: New API for modern password hash function as Normal priority.
Jan 24 2022, 10:52 AM · Feature Request, libgcrypt
Laurent Montel <montel@kde.org> committed rLIBKLEOb76c3fa0b0ab: GIT_SILENT: compile without deprecated methods (authored by Laurent Montel <montel@kde.org>).
GIT_SILENT: compile without deprecated methods
Jan 24 2022, 8:33 AM
Laurent Montel <montel@kde.org> committed rKLEOPATRA14c805f86e2d: GIT_SILENT: compile without deprecated methods (authored by Laurent Montel <montel@kde.org>).
GIT_SILENT: compile without deprecated methods
Jan 24 2022, 8:33 AM

Jan 22 2022

werner closed T5724: gpgconf --show-configs does not show the registry values as Resolved.
Jan 22 2022, 6:33 PM · Windows, gnupg (gpg22), Bug Report
werner changed the edit policy for T5625: 'GPG -v --ver', 'GPG --verify' and 'GPG -v --verify' commands output show on screen error messages without proper 'è' Italian accented letter.
Jan 22 2022, 6:33 PM · i18n, Bug Report, gpg4win
werner placed T5593: Gpg4Win displayed 'PATH env variable too big' error during setup up for grabs.
Jan 22 2022, 6:32 PM · Bug Report, gpg4win
werner triaged T5593: Gpg4Win displayed 'PATH env variable too big' error during setup as Wishlist priority.
Jan 22 2022, 6:31 PM · Bug Report, gpg4win
werner changed the edit policy for T5593: Gpg4Win displayed 'PATH env variable too big' error during setup.
Jan 22 2022, 6:30 PM · Bug Report, gpg4win
Policy assigned T5593: Gpg4Win displayed 'PATH env variable too big' error during setup to werner.
Jan 22 2022, 6:30 PM · Bug Report, gpg4win
werner closed T5586: Please add dane lookup to --auto-key-retrieve as Wontfix.

DANE has been an experimental thing and is imho dead.

Jan 22 2022, 6:21 PM · gnupg (gpg14), Feature Request
jukivili committed rCa35ac62ee7b5: Fix building GCM when GCM_USE_ARM_NEON defined but GCM_USE_ARM_PMULL not (authored by jukivili).
Fix building GCM when GCM_USE_ARM_NEON defined but GCM_USE_ARM_PMULL not
Jan 22 2022, 6:21 PM
jukivili committed rCe9e723d5e320: tests/t-kdf: fix format string argument type mismatch (authored by jukivili).
tests/t-kdf: fix format string argument type mismatch
Jan 22 2022, 6:21 PM
werner closed T5588: GnuPG 2.3.2 --disable-tofu --disable-sqlite unusable as Resolved.
Jan 22 2022, 6:19 PM · gnupg (gpg23), Gentoo, Bug Report
werner triaged T5492: Kleopatra does not report error when calculating checksums and checksum file can not be written as Normal priority.
Jan 22 2022, 6:18 PM · kleopatra, gpgex, Bug Report, gpg4win
werner closed T5754: gpgtar needs to support longer filenames. as Resolved.

Implemented extended headers for filenames and linknames (on Unix).

Jan 22 2022, 6:17 PM · gnupg (gpg22), gpgtar
werner triaged T5796: libgcrypt-1.9.4 build failure on ARM without NEON as Normal priority.
Jan 22 2022, 6:15 PM · arm, libgcrypt, Gentoo, Bug Report
werner added projects to T5796: libgcrypt-1.9.4 build failure on ARM without NEON: libgcrypt, arm.
Jan 22 2022, 6:15 PM · arm, libgcrypt, Gentoo, Bug Report
jukivili claimed T5796: libgcrypt-1.9.4 build failure on ARM without NEON.

Thanks for report. I got similar report earlier this week from gentoo user through email and made following patch for them to test. I'll push it to master soon.

Jan 22 2022, 6:03 PM · arm, libgcrypt, Gentoo, Bug Report