Page MenuHome GnuPG
Feed All Stories

Feb 10 2022

gniibe added a comment to T5822: libgcrypt: Remove GCRYCTL_ENABLE_M_GUARD support (was: _gcry_private_malloc returns 4-byte alignment memory when use_m_guard==1).

It was addressed in rC04f325d8917d: released 1.1.4 as "(obsolete)" feature, in Aug 2001.

Feb 10 2022, 1:32 AM · Bug Report, libgcrypt
gniibe renamed T5822: libgcrypt: Remove GCRYCTL_ENABLE_M_GUARD support (was: _gcry_private_malloc returns 4-byte alignment memory when use_m_guard==1) from libgcrypt: _gcry_private_malloc returns 4-byte alignment memory when use_m_guard==1 to libgcrypt: Remove GCRYCTL_ENABLE_M_GUARD support (was: _gcry_private_malloc returns 4-byte alignment memory when use_m_guard==1).
Feb 10 2022, 1:19 AM · Bug Report, libgcrypt

Feb 9 2022

werner committed rG2f2130ff24fa: gpgconf: Do not show "quiet" as option. (authored by werner).
gpgconf: Do not show "quiet" as option.
Feb 9 2022, 8:11 PM
ametzler1 updated subscribers of T5816: mailing list address confusion (lists.gnupg.org shown, but does not work).

Try gcrypt-devel@gnupg.org, i.e. without the lists subdomain.

Recently, the gnupg.org mailing list manager started to prepend the lists. subdomain to the List-Id (which caused my email filters to fail) and to everything else. Probably due to an accidentally changed configuration.

Feb 9 2022, 6:34 PM · gpgweb, Bug Report
aheinecke committed rW40f59e799dfc: Update NEWS for 3.1.21 (authored by aheinecke).
Update NEWS for 3.1.21
Feb 9 2022, 4:10 PM
aheinecke committed rWe1cf3f9b9735: appimage: Fix doc installation (authored by aheinecke).
appimage: Fix doc installation
Feb 9 2022, 4:01 PM
aheinecke committed rW47a0695daa71: Fix kleopatra / libkleo download (authored by aheinecke).
Fix kleopatra / libkleo download
Feb 9 2022, 2:33 PM
aheinecke committed rWe1a79fa45c0a: Update kleopatra and libkleo (authored by aheinecke).
Update kleopatra and libkleo
Feb 9 2022, 2:23 PM
aheinecke committed rW64fcf8942583: Install dvipdf icon (authored by aheinecke).
Install dvipdf icon
Feb 9 2022, 2:23 PM
gniibe added a comment to T5822: libgcrypt: Remove GCRYCTL_ENABLE_M_GUARD support (was: _gcry_private_malloc returns 4-byte alignment memory when use_m_guard==1).

Instead, let us remove the feature.

Feb 9 2022, 12:33 PM · Bug Report, libgcrypt
gniibe added inline comments to rC90f41a1898e4: Fix memory allocation when GCRYCTL_ENABLE_M_GUARD..
Feb 9 2022, 12:32 PM
ikloecker changed the status of T5805: Kleopatra or GnuPG: Auto retrieve signers key from Open to Testing.

Optional automatic retrieval after import of new OpenPGP keys is now also possible.

Feb 9 2022, 12:19 PM · gnupg, kleopatra, Restricted Project
ikloecker committed rKLEOPATRAe3ace7f6361f: GpgME and its bindings have been released as version 1.17.0 (authored by ikloecker).
GpgME and its bindings have been released as version 1.17.0
Feb 9 2022, 12:15 PM
ikloecker committed rKLEOPATRAe07be5fc73bb: The "ldapserver" option of dirmngr is available in 2.2.34 (authored by ikloecker).
The "ldapserver" option of dirmngr is available in 2.2.34
Feb 9 2022, 12:15 PM
ikloecker committed rKLEOPATRA5de89b2c97e0: Skip import of missing signer keys if QGpgME is too old (authored by ikloecker).
Skip import of missing signer keys if QGpgME is too old
Feb 9 2022, 12:15 PM
ikloecker committed rKLEOPATRAadc3a6067ae0: Add new "RetrieveSignerKeysAfterImport" setting to config dialog (authored by ikloecker).
Add new "RetrieveSignerKeysAfterImport" setting to config dialog
Feb 9 2022, 12:15 PM
ikloecker committed rKLEOPATRA30fe9e0119cb: Use the helpers that were moved to libkleo (authored by ikloecker).
Use the helpers that were moved to libkleo
Feb 9 2022, 12:15 PM
aheinecke committed rOe48126ebbd77: Auto update po files (authored by aheinecke).
Auto update po files
Feb 9 2022, 10:54 AM
aheinecke committed rO48e7229b6f84: Post release version bump (authored by aheinecke).
Post release version bump
Feb 9 2022, 10:54 AM
aheinecke committed rO2d69fca444e1: Update NEWS for todays release (authored by aheinecke).
Update NEWS for todays release
Feb 9 2022, 10:54 AM
aheinecke committed rD4f9aae40b993: swdb: GpgOL-2.5.2 (authored by aheinecke).
swdb: GpgOL-2.5.2
Feb 9 2022, 10:25 AM
aheinecke committed rW578ae4e8011f: Update GpgOL to 2.5.2 and latest l10n (authored by aheinecke).
Update GpgOL to 2.5.2 and latest l10n
Feb 9 2022, 10:24 AM
ikloecker committed rLIBKLEOd310a7daaa3f: Add helpers for collecting key ids of missing signer keys (authored by ikloecker).
Add helpers for collecting key ids of missing signer keys
Feb 9 2022, 10:14 AM
ikloecker committed rLIBKLEO4ae2329fee04: Bump library version (authored by ikloecker).
Bump library version
Feb 9 2022, 10:14 AM
ikloecker committed rKLEOPATRA24b40d8ac7b1: Optionally, fetch missing signer keys after importing keys (authored by ikloecker).
Optionally, fetch missing signer keys after importing keys
Feb 9 2022, 9:25 AM
ikloecker committed rKLEOPATRA702f05d21dbf: Try to make older and newer compilers happy (authored by ikloecker).
Try to make older and newer compilers happy
Feb 9 2022, 9:25 AM
ikloecker committed rKLEOPATRA6f32ff81de5a: Allow canceling all longer running imports (authored by ikloecker).
Allow canceling all longer running imports
Feb 9 2022, 9:25 AM
ikloecker committed rKLEOPATRAd38ca4818e07: Fix canceling of import command (authored by ikloecker).
Fix canceling of import command
Feb 9 2022, 9:25 AM
jukivili added inline comments to rC90f41a1898e4: Fix memory allocation when GCRYCTL_ENABLE_M_GUARD..
Feb 9 2022, 8:58 AM
aheinecke committed rW56572e5e13ca: Update Kleopatra (authored by aheinecke).
Update Kleopatra
Feb 9 2022, 7:46 AM
aheinecke committed rKLEOPATRAdb2bd79d448b: Capture this for QObject call (authored by aheinecke).
Capture this for QObject call
Feb 9 2022, 7:44 AM
gniibe added a comment to T5815: GPG-Agent randomly throwing "IPC connect call failed" .

FYI, if you can use backports, GnuPG 2.2 series is available
See : https://backports.debian.org/news/stretch-backports/

Feb 9 2022, 3:12 AM · Bug Report
gniibe added a project to T5817: libgcrypt: Add Balloon KDF: Restricted Project.
Feb 9 2022, 2:58 AM · libgcrypt, Feature Request
gniibe claimed T5822: libgcrypt: Remove GCRYCTL_ENABLE_M_GUARD support (was: _gcry_private_malloc returns 4-byte alignment memory when use_m_guard==1).
Feb 9 2022, 2:58 AM · Bug Report, libgcrypt
gniibe committed rC90f41a1898e4: Fix memory allocation when GCRYCTL_ENABLE_M_GUARD. (authored by gniibe).
Fix memory allocation when GCRYCTL_ENABLE_M_GUARD.
Feb 9 2022, 2:57 AM
gniibe committed rC6936f234220d: kdf: Prepare aligned memory in balloon_final. (authored by gniibe).
kdf: Prepare aligned memory in balloon_final.
Feb 9 2022, 2:30 AM
gniibe added a comment to rC59b2504df8f0: kdf: fix unaligned memory access in balloon_xor_block.

Sorry, I looked wrong place. It is balloon_final which assumes user provided RESULT is aligned, which is wrong.

Feb 9 2022, 2:11 AM
gniibe created T5822: libgcrypt: Remove GCRYCTL_ENABLE_M_GUARD support (was: _gcry_private_malloc returns 4-byte alignment memory when use_m_guard==1).
Feb 9 2022, 2:09 AM · Bug Report, libgcrypt
gniibe added a comment to rC59b2504df8f0: kdf: fix unaligned memory access in balloon_xor_block.

I think that this patch should not be needed, if our implementation of _gcry_private_malloc is not buggy (ensuring same alignment condition as system malloc does).
I just realized that it is buggy unfortunately, so, I'm opening a task for that.

Feb 9 2022, 1:44 AM

Feb 8 2022

aneet_gpg added a comment to T5815: GPG-Agent randomly throwing "IPC connect call failed" .

@ikloecker,
Your response makes total sense but our restriction is the OS at the moment. This is the highest version of GPG available on Debian 9 so we cannot upgrade at the moment.

Feb 8 2022, 8:33 PM · Bug Report
ikloecker added a comment to T5816: mailing list address confusion (lists.gnupg.org shown, but does not work).

Try gcrypt-devel@gnupg.org, i.e. without the lists subdomain.

Feb 8 2022, 7:07 PM · gpgweb, Bug Report
ikloecker added a comment to T5813: Locating Keys via WKD with gpg4win fails with unknown error..

Add the following to dirmngr.conf:

debug ipc,dns,network,lookup

There are more debug flags but the above flags should cover anything related to the lookup.

Feb 8 2022, 6:55 PM · wkd, gpg4win, Bug Report
ametzler1 reopened T5816: mailing list address confusion (lists.gnupg.org shown, but does not work) as "Open".
Feb 8 2022, 6:49 PM · gpgweb, Bug Report
motp added a comment to T5494: gpg-agent doesn't support security-key (sk) key types.

It would be awesome if you could implement this \o/

Feb 8 2022, 4:40 PM · gnupg24, gnupg (gpg23), Feature Request, ssh
bernhard added a comment to T5813: Locating Keys via WKD with gpg4win fails with unknown error..

You may have to restart the dirmngr to see the log-file option be honored. The gpg request to dirmngr should be visible in the log.

Feb 8 2022, 4:37 PM · wkd, gpg4win, Bug Report
aheinecke committed rKLEOPATRA52c40ed07969: Add additional doc actions for official secops (authored by aheinecke).
Add additional doc actions for official secops
Feb 8 2022, 3:33 PM
aheinecke committed rW7a9dca19edf4: Complete boost removal (authored by aheinecke).
Complete boost removal
Feb 8 2022, 2:53 PM
mieth added a comment to T5813: Locating Keys via WKD with gpg4win fails with unknown error..

@mieth can you enable the dirmngr log and give it more message, you'll be able to diagnose the problem further. There have been problems in the past with the contents of the certificate store of Windows. It does not look like this is the problem you are facing, but the diagnostic messages should be helpful.

Feb 8 2022, 1:37 PM · wkd, gpg4win, Bug Report
aheinecke committed rKLEOPATRA03d1ac361c66: Fix Kleopatra version (authored by aheinecke).
Fix Kleopatra version
Feb 8 2022, 1:36 PM
aheinecke committed rWa96c7a200bbe: Remove update artifacts from packages.common (authored by aheinecke).
Remove update artifacts from packages.common
Feb 8 2022, 11:52 AM
aheinecke committed rW8df529bdfb2f: Update kde-l10n (authored by aheinecke).
Update kde-l10n
Feb 8 2022, 11:51 AM
aheinecke committed rWb4f49c532edf: Update Kleopatra package (authored by aheinecke).
Update Kleopatra package
Feb 8 2022, 11:51 AM
aheinecke committed rKLEOPATRA7dc605e8d34f: Bump Kleopatra Version (authored by aheinecke).
Bump Kleopatra Version
Feb 8 2022, 11:49 AM
bernhard added a comment to T5813: Locating Keys via WKD with gpg4win fails with unknown error..

@mieth can you enable the dirmngr log and give it more message, you'll be able to diagnose the problem further. There have been problems in the past with the contents of the certificate store of Windows. It does not look like this is the problem you are facing, but the diagnostic messages should be helpful.

Feb 8 2022, 11:41 AM · wkd, gpg4win, Bug Report
aheinecke committed rKLEOPATRA0e0197da43e0: Use help-contextual instead of help-hint for doc (authored by aheinecke).
Use help-contextual instead of help-hint for doc
Feb 8 2022, 11:39 AM
aheinecke committed rKLEOPATRA1c6ba8df2403: Bump kleopatra.rc version after change (authored by aheinecke).
Bump kleopatra.rc version after change
Feb 8 2022, 11:39 AM
aheinecke committed rKLEOPATRA0dd4d45beb7e: Unify conversion of gpgconf dirinfo output (authored by aheinecke).
Unify conversion of gpgconf dirinfo output
Feb 8 2022, 11:39 AM
aheinecke committed rW66ebaf5d0955: Fix make dist with missing patch (authored by aheinecke).
Fix make dist with missing patch
Feb 8 2022, 11:37 AM
aheinecke committed rW2b3df974c726: MSI: Do not install gpg4win README and versioninfo (authored by aheinecke).
MSI: Do not install gpg4win README and versioninfo
Feb 8 2022, 11:37 AM
aheinecke committed rW6aace3e83478: Remove boost cross compile dependency (authored by aheinecke).
Remove boost cross compile dependency
Feb 8 2022, 11:05 AM
netchild added a comment to T5814: gpg-agent can't find existing 'pinentry', searches 'Pinentry' (uppercase'P') instead.

Yes, this is in a jail. But the output above was from the same shell session inside the jail. So gpg-agent was forked from gpg which I executed in the same shell (same process) as the ls. As you can see from the output of ls, /dev/pts is mounted there. The link you provided tells to mount the devfs inside the jail. This is the case here (that's basics, it needs to be there for a lot of things to work inside a jail).

Feb 8 2022, 9:07 AM · Not A Bug, Bug Report
werner triaged T5820: Slow symmetric decryption speed as High priority.

Let's try this for 2.3

Feb 8 2022, 8:20 AM · gnupg (gpg23), Bug Report
werner closed T5703: Release GnuPG 2.2.34 as Resolved.
Feb 8 2022, 8:16 AM · Release Info, gnupg (gpg22)
werner set External Link to https://lists.gnupg.org/pipermail/gnupg-announce/2022q1/000470.html on T5703: Release GnuPG 2.2.34.
Feb 8 2022, 8:16 AM · Release Info, gnupg (gpg22)
jukivili committed rC59b2504df8f0: kdf: fix unaligned memory access in balloon_xor_block (authored by jukivili).
kdf: fix unaligned memory access in balloon_xor_block
Feb 8 2022, 8:13 AM
gniibe added a comment to T5817: libgcrypt: Add Balloon KDF.

Tested on a big endian machine.

$ uname -a
Linux perotto 5.15.0-2-powerpc64 #1 SMP Debian 5.15.5-2 (2021-12-18) ppc64 GNU/Linux
Feb 8 2022, 4:00 AM · libgcrypt, Feature Request
gniibe committed rC26bfa41e2413: kdf: Extend original Balloon to other digest algos. (authored by gniibe).
kdf: Extend original Balloon to other digest algos.
Feb 8 2022, 2:45 AM
gniibe added a comment to T5814: gpg-agent can't find existing 'pinentry', searches 'Pinentry' (uppercase'P') instead.

FYI: When you have a problem with pinentry, possible workaround is using gpg with --pinentry-mode=loopback, which redirects pinentry queries to the caller (instead of invoking pinentry session).

Feb 8 2022, 1:37 AM · Not A Bug, Bug Report
gniibe added a comment to T5814: gpg-agent can't find existing 'pinentry', searches 'Pinentry' (uppercase'P') instead.

Thank you for the debug information.

Feb 8 2022, 1:21 AM · Not A Bug, Bug Report
tmz created T5821: gpgsm "certificate not found" error handling should use gpg_err_code() instead of -1.
Feb 8 2022, 12:05 AM · Restricted Project, gnupg (gpg23), Bug Report

Feb 7 2022

werner updated the task description for T5703: Release GnuPG 2.2.34.
Feb 7 2022, 10:06 PM · Release Info, gnupg (gpg22)
werner committed rW156accd5cf69: appimage: Make the run-gpgconf script executable (authored by werner).
appimage: Make the run-gpgconf script executable
Feb 7 2022, 10:05 PM
werner committed rW098a40473cf4: Update gpgme to 1.17.0 and gnupg to 2.2.34 (authored by werner).
Update gpgme to 1.17.0 and gnupg to 2.2.34
Feb 7 2022, 10:00 PM
werner committed rDecfa659b58ba: swdb: GnuPG 2.2.34 (authored by werner).
swdb: GnuPG 2.2.34
Feb 7 2022, 9:45 PM
werner committed rG5f3e857ef6a8: Post release updates (authored by werner).
Post release updates
Feb 7 2022, 9:45 PM
werner committed rG04d40a680baa: Release 2.2.34 (authored by werner).
Release 2.2.34
Feb 7 2022, 9:45 PM
werner committed rGce6e0b172ebe: Update copyright notices. (authored by werner).
Update copyright notices.
Feb 7 2022, 9:45 PM
werner committed rG3c79ff34c417: dirmngr: Changes to the linking order. (authored by werner).
dirmngr: Changes to the linking order.
Feb 7 2022, 9:45 PM
werner committed rGcd6a165d6117: po: msgmerge introduced indenting for ja.po (authored by werner).
po: msgmerge introduced indenting for ja.po
Feb 7 2022, 9:45 PM
jukivili added a comment to T5820: Slow symmetric decryption speed.

Benchmarking blog post that I linked tested GnuPG in symmetric mode, gpg --symmetric. I think symmetric case is important too from performance point of view, there is tools that use gpg --symmetric as bulk encryption/decryption backend (for example duplicity backup tool). Such encrypted files have tag3 (symmetric-key ESK) packet followed tag18 (encrypted and MDC) packet. Could existence of Tag18 packet in input be used as marker for input being rfc4880 and allow disabling those extra hash contexts? As I understand those hashes should not be needed with rfc4880 input (but I don't know all the historical details).

Feb 7 2022, 9:24 PM · gnupg (gpg23), Bug Report
werner added a comment to T5820: Slow symmetric decryption speed.

Breaking the flawless decryption of existing old data is unfortunately a highly controversy topic. Recall the no-more-v3 packet support or the required MDC. It was technically okay and 99.99% of the users didn't even notice it. But some were very vocational.

Feb 7 2022, 7:23 PM · gnupg (gpg23), Bug Report
werner committed rM72bb46b34f51: Release 1.17.0 (authored by werner).
Release 1.17.0
Feb 7 2022, 6:13 PM
werner committed rMfb5369161f9d: Post release updates (authored by werner).
Post release updates
Feb 7 2022, 6:13 PM
werner committed rM451a42f0d21c: qt: Fix build for older Qt versions. (authored by werner).
qt: Fix build for older Qt versions.
Feb 7 2022, 6:13 PM
werner committed rD1e73143bfac3: swdb: GPGME 1.17.0 (authored by werner).
swdb: GPGME 1.17.0
Feb 7 2022, 6:11 PM
werner committed rG5a7ed6dd8f1b: gpgconf: Make gpgconf --launch dirmngr work again (authored by werner).
gpgconf: Make gpgconf --launch dirmngr work again
Feb 7 2022, 6:08 PM
werner committed rG32b364b99b49: gpgconf: Print the used code pages on Windows with --show-configs (authored by werner).
gpgconf: Print the used code pages on Windows with --show-configs
Feb 7 2022, 6:08 PM
werner committed rG7d1215cb9cba: common: Fix creation of Windows socket directories. (authored by werner).
common: Fix creation of Windows socket directories.
Feb 7 2022, 6:08 PM
jukivili created T5820: Slow symmetric decryption speed.
Feb 7 2022, 5:05 PM · gnupg (gpg23), Bug Report
enno added a comment to T3020: Lock files not compatible between Windows and Linux (invalid size).

Yes, it would be convenient to use the same $GNUPGHOME in Git Bash (using /usr/bin/gpg) as in PowerShell / Cmd (using gpg.exe in %PATH%)

Feb 7 2022, 3:44 PM · Bug Report, gnupg
werner triaged T5819: Release GPGME 1.17.0 as Low priority.
Feb 7 2022, 12:08 PM · Release Info, gpgme
netchild added a comment to T5814: gpg-agent can't find existing 'pinentry', searches 'Pinentry' (uppercase'P') instead.

% export GPG_TTY=$(tty)

Feb 7 2022, 12:03 PM · Not A Bug, Bug Report
aheinecke committed rW3fb2483fa993: Update Kleo + deps, ntbtls and libgcrypt (authored by aheinecke).
Update Kleo + deps, ntbtls and libgcrypt
Feb 7 2022, 12:01 PM
aheinecke committed rWdfb1bdd84568: appimage: Package gnupg-vsd help files (authored by aheinecke).
appimage: Package gnupg-vsd help files
Feb 7 2022, 12:01 PM
mieth added a comment to T5813: Locating Keys via WKD with gpg4win fails with unknown error..

Might be an issue with matching ciphersuites? There was a problem with this before when GnuPG didn't support AES-GCM yet (https://dev.gnupg.org/T4597). That was added in 2020, maybe it's not rolled out far enough yet?

Either way, I hadn't considered this for the WKD relay. I'll look into enabling AES-CBC there, at least for backwards compatibility.

Feb 7 2022, 11:41 AM · wkd, gpg4win, Bug Report
gniibe changed the status of T5721: gpg22: Update *.m4 to prefer use of gpgrt-config and *.pc to *-config, a subtask of T5034: dev: Deprecate libassuan-config, libgcrypt-config, ksba-config, ntbtls-config, npth-config, and gpg-error-config, from Open to Testing.
Feb 7 2022, 11:33 AM
gniibe changed the status of T5721: gpg22: Update *.m4 to prefer use of gpgrt-config and *.pc to *-config from Open to Testing.

Done by rGc8cd66ae7e60: m4: Update our library m4 files from master.

Feb 7 2022, 11:33 AM · gnupg (gpg22)
gniibe committed rG8021fe7670c7: po: Update Japanese Translation. (authored by gniibe).
po: Update Japanese Translation.
Feb 7 2022, 11:30 AM
gniibe added a comment to T5814: gpg-agent can't find existing 'pinentry', searches 'Pinentry' (uppercase'P') instead.

The change of pinentry-tty rP7f7fd8bcfd74: tty: Fix error return paths and its resource leaks. fixes SEGV, but the problem of your case is that access to the device file (/dev/pts/2 in the case of your log with pinentry-tty) failed.

Feb 7 2022, 10:57 AM · Not A Bug, Bug Report
aheinecke committed rD5c7510b68f77: swdb: Add Gpg4win-4 (authored by aheinecke).
swdb: Add Gpg4win-4
Feb 7 2022, 10:47 AM