Page MenuHome GnuPG
Feed All Stories

Jan 25 2022

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
thesamesam created T5796: libgcrypt-1.9.4 build failure on ARM without NEON.
Jan 22 2022, 5:02 AM · arm, libgcrypt, Gentoo, Bug Report

Jan 21 2022

werner triaged T5793: gpgsm: Wrong length when parsing octetstring in constructed encoding + definite length as Normal priority.
Jan 21 2022, 9:42 PM · Restricted Project, S/MIME, gnupg (gpg22)
ikloecker committed rKLEOPATRAc5d6bd1b73d6: Ensure that key stubs are created for all keys on a smartcard (authored by joeyberkovitz).
Ensure that key stubs are created for all keys on a smartcard
Jan 21 2022, 8:11 PM
thgoebel reopened T5793: gpgsm: Wrong length when parsing octetstring in constructed encoding + definite length as "Open".
Jan 21 2022, 4:11 PM · Restricted Project, S/MIME, gnupg (gpg22)
thgoebel added a comment to T5793: gpgsm: Wrong length when parsing octetstring in constructed encoding + definite length.

Sorry about that! Maybe consider adding a line "Check that the issue persists in the latest version" to the "How to file a bug". I was going through this list, so it would have caught me.

Jan 21 2022, 4:10 PM · Restricted Project, S/MIME, gnupg (gpg22)
werner claimed T5794: Cannot add ed25519 SSH key with empty comment.
Jan 21 2022, 1:09 PM · ssh, gnupg (gpg22), Bug Report
ikloecker added a comment to T5795: Kleopatra reader selection and quoting.

This looks like a missing escaping issue in the sender (scdaemon?) or an unwanted unescaping issue in the receiver of the string (which uses Kleo::hexdecode()).

Jan 21 2022, 12:22 PM · gnupg22, Restricted Project, kleopatra
werner triaged T5795: Kleopatra reader selection and quoting as High priority.
Jan 21 2022, 11:53 AM · gnupg22, Restricted Project, kleopatra
geigerzaehler changed Version from 2.2.21 to 2.2.32 on T5794: Cannot add ed25519 SSH key with empty comment.
Jan 21 2022, 11:04 AM · ssh, gnupg (gpg22), Bug Report
geigerzaehler created T5794: Cannot add ed25519 SSH key with empty comment.
Jan 21 2022, 11:04 AM · ssh, gnupg (gpg22), Bug Report

Jan 20 2022

werner triaged T5718: Provide list of supported/compliant key algorithms as Normal priority.
Jan 20 2022, 8:37 PM · gnupg24, gnupg (gpg23), Feature Request
werner committed rM5bb4174efa63: doc: Fixed type of an object member (authored by werner).
doc: Fixed type of an object member
Jan 20 2022, 8:36 PM
werner closed T5719: Notice an error of tofu_info_t introduction in gpgme document as Resolved.

Thanks

Jan 20 2022, 8:36 PM · Documentation, gpgme, Bug Report
werner closed T5738: The ref and unref operation is confusing while using gpg_key_t and gpg_xxx_result_t as Wontfix.

gpgme_key_t is a different kind of object than a gpgme_foo_result_t and thus has different properties.

Jan 20 2022, 8:33 PM · gpgme, Bug Report
werner closed T5793: gpgsm: Wrong length when parsing octetstring in constructed encoding + definite length as Resolved.

Please try again with a recent version of GnuPG (2.2.33 or 2.3.4) and libksba (1.6.0) and reopen this bug if the problem persists.

Jan 20 2022, 8:27 PM · Restricted Project, S/MIME, gnupg (gpg22)
werner renamed T5764: Broken umlauts in the new Windows Terminal from Broken umlauts to Broken umlauts in the new Windows Terminal.
Jan 20 2022, 8:23 PM · gnupg24, i18n, gnupg (gpg23), Bug Report, gpg4win
thgoebel created T5793: gpgsm: Wrong length when parsing octetstring in constructed encoding + definite length.
Jan 20 2022, 8:21 PM · Restricted Project, S/MIME, gnupg (gpg22)
werner triaged T5765: gnupg2 weird memory fault on NetBSD Loongson/mips64el N32 as Normal priority.
Jan 20 2022, 8:21 PM · MIPS, Bug Report
werner closed T5792: gpgtar Problem with utf8 string/length of filenames as Resolved.

The bug with the long filenames has been fixed but it is not yet released. Release will be in gpg4win 4.0.1 See T5754.

Jan 20 2022, 8:19 PM · gpgtar, Bug Report, gpg4win
ikloecker renamed T5791: Kleopatra: Make settings read-only if corresponding GnuPG config entries or KConfigXT entries are read-only from Kleopatra: Make settings read-only if corresponding GnuPG config entries are read-only to Kleopatra: Make settings read-only if corresponding GnuPG config entries or KConfigXT entries are read-only.
Jan 20 2022, 4:30 PM · Restricted Project, kleopatra
ikloecker committed rKLEOPATRA852439e5a4af: Do not change read-only settings when loading defaults (authored by ikloecker).
Do not change read-only settings when loading defaults
Jan 20 2022, 4:21 PM
ikloecker committed rKLEOPATRAa6550aec6bee: Do not change read-only settings when loading defaults (authored by ikloecker).
Do not change read-only settings when loading defaults
Jan 20 2022, 4:21 PM
ikloecker committed rKLEOPATRA9b0d60eb49ae: Convert missed copyright to SPDX format (authored by ikloecker).
Convert missed copyright to SPDX format
Jan 20 2022, 4:21 PM
ikloecker committed rKLEOPATRA24a43181585c: Disable UI elements if corresponding config entries are read-only (authored by ikloecker).
Disable UI elements if corresponding config entries are read-only
Jan 20 2022, 4:21 PM
ikloecker committed rKLEOPATRA4c026aea04bb: Use KConfigXT for getting/setting the default checksum definition (authored by ikloecker).
Use KConfigXT for getting/setting the default checksum definition
Jan 20 2022, 4:21 PM
Casa created T5792: gpgtar Problem with utf8 string/length of filenames.
Jan 20 2022, 10:56 AM · gpgtar, Bug Report, gpg4win
werner closed T5760: Kleopatra hangs loading certificate cache on Windows 11 as Resolved.
Jan 20 2022, 8:41 AM · Bug Report, gpg4win
werner triaged T5782: Kleopatra: Smartcard unusable secret key until used via command line as Normal priority.
Jan 20 2022, 8:40 AM · kleopatra, Bug Report, gpg4win