Page MenuHome GnuPG
Feed All Stories

Aug 3 2021

werner created can't replicate.
Aug 3 2021, 11:51 AM
werner triaged T5539: Key generation on OpenPGP Version 3.4 card fails as Normal priority.
Aug 3 2021, 11:48 AM · can't replicate, OpenPGP, scd, Bug Report, gpg4win
werner added a comment to T5539: Key generation on OpenPGP Version 3.4 card fails.

I tried a fresh card reconfigured it to use 3 4k RSA keys:

Aug 3 2021, 11:46 AM · can't replicate, OpenPGP, scd, Bug Report, gpg4win
ikloecker added a comment to T5481: Kleopatra: Progress indication for large archives wrong.

Okay, the problem with run-encrypt (and maybe also Kleopatra if it also uses gpgme_data_... and sets a size hint) is that gpgme_data_seek casts the result of seek(..., 0, SEEK_END) which is of type gpgme_off_t to int to accommodate as tracing macro/function:

return TRACE_SYSRES ((int)offset);

Changing this line to a simple

return offset;

fixes the progress reporting of run-encrypt.

Aug 3 2021, 11:46 AM · Restricted Project
ikloecker added a comment to T5481: Kleopatra: Progress indication for large archives wrong.

Hmm, nope. gpg outputs

[GNUPG:] PROGRESS largefile5G ? 0 5120 MiB

if I run

$ gpg --symmetric --enable-progress-filter --status-fd 1 --output /dev/null largefile5G
Aug 3 2021, 11:34 AM · Restricted Project
fvogt added a comment to T3659: pinentry falls back to curses on wayland.

I gave it a try and it works here now with $DISPLAY unset, thanks!

Aug 3 2021, 11:03 AM · Restricted Project, Wayland, Feature Request, pinentry
ikloecker added a comment to T5481: Kleopatra: Progress indication for large archives wrong.

I have added some debug output to _gpgme_progress_status_handler. For the 5G file gpg seems to output

-&11 ? 0 1048576 KiB

for PROGRESS. So, the value of total is already wrong in gpg.

Aug 3 2021, 10:55 AM · Restricted Project
aheinecke added a comment to T5481: Kleopatra: Progress indication for large archives wrong.

Ah, of course, the solution for T2368 does not work for archives. So Kleo would need to stat all files first to get an idea of the size of the tar archive to set a size hint.

Aug 3 2021, 10:55 AM · Restricted Project
werner added a comment to T5481: Kleopatra: Progress indication for large archives wrong.

See T2368

Aug 3 2021, 10:46 AM · Restricted Project
ikloecker added a comment to T5481: Kleopatra: Progress indication for large archives wrong.

This can be easily reproduced with run-encrypt from gpgme/tests:

$ fallocate -l 1G largefile1G
$ fallocate -l 2G largefile2G
$ fallocate -l 3G largefile3G
$ fallocate -l 4G largefile4G
$ fallocate -l 5G largefile5G
$ ./run-encrypt --progress --loopback largefile1G >/dev/null
progress for '-&11' 0% (0 of 1048576)
progress for '-&11' 0% (64 of 1048576)
progress for '-&11' 6% (66816 of 1048576)
progress for '-&11' 16% (172928 of 1048576)
^C
$ ./run-encrypt --progress --loopback largefile2G >/dev/null
progress for '-&11' 0
progress for '-&11' 65536
progress for '-&11' 56896
progress for '-&11' 155776
progress for '-&11' 249344
^C
$ ./run-encrypt --progress --loopback largefile3G >/dev/null
progress for '-&11' 0
progress for '-&11' 65536
progress for '-&11' 105216
progress for '-&11' 212480
^C
$ ./run-encrypt --progress --loopback largefile4G >/dev/null
progress for '-&11' 0
progress for '-&11' 57856
progress for '-&11' 168768
^C
$ ./run-encrypt --progress --loopback largefile5G >/dev/null
progress for '-&11' 0% (0 of 1048576)
progress for '-&11' 0% (64 of 1048576)
progress for '-&11' 11% (115840 of 1048576)
^C

The progress callback of run-encrypt looks like this:

static void
progress_cb (void *opaque, const char *what, int type, int current, int total)
{
  (void)opaque;
  (void)type;
Aug 3 2021, 10:33 AM · Restricted Project
gniibe committed rC8bf9ade071b8: tests: Fix values for DSA with larger key length. (authored by gniibe).
tests: Fix values for DSA with larger key length.
Aug 3 2021, 6:37 AM
gniibe committed rC7ac72ebaf7f7: fips: Support LIBGCRYPT_FORCE_FIPS_MODE envvar. (authored by gniibe).
fips: Support LIBGCRYPT_FORCE_FIPS_MODE envvar.
Aug 3 2021, 6:21 AM
gniibe triaged T5541: Envvar LIBGCRYPT_FORCE_FIPS_MODE as Normal priority.
Aug 3 2021, 4:53 AM · Feature Request, FIPS, libgcrypt
gniibe added a comment to T5540: Update fipsdrv and cavs_driver.pl.

SUSE has patches and version 3235 of cavs_driver.pl, bud it seems that it doesn't support DSA with Q+HASHALGO yet.

Aug 3 2021, 4:48 AM · FIPS, libgcrypt
gniibe triaged T5540: Update fipsdrv and cavs_driver.pl as Normal priority.
Aug 3 2021, 4:46 AM · FIPS, libgcrypt
l10n daemon script <scripty@kde.org> committed rKLEOPATRA094388ba1fd2: GIT_SILENT made messages (after extraction) (authored by l10n daemon script <scripty@kde.org>).
GIT_SILENT made messages (after extraction)
Aug 3 2021, 3:43 AM

Aug 2 2021

ikloecker committed rG94d18320b2b0: common: Pass XDG_SESSION_TYPE and QT_QPA_PLATFORM envvars to pinentry (authored by ikloecker).
common: Pass XDG_SESSION_TYPE and QT_QPA_PLATFORM envvars to pinentry
Aug 2 2021, 5:45 PM
ikloecker changed the status of T5517: Improvements for symmetric encryption from Open to Testing.
Aug 2 2021, 5:43 PM · pinentry, Restricted Project
ikloecker moved T5517: Improvements for symmetric encryption from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Aug 2 2021, 5:42 PM · pinentry, Restricted Project
ikloecker closed T5532: pinentry: Add support for checking passphrase constraints to pinentry-qt, a subtask of T5517: Improvements for symmetric encryption, as Resolved.
Aug 2 2021, 5:41 PM · pinentry, Restricted Project
ikloecker closed T5532: pinentry: Add support for checking passphrase constraints to pinentry-qt as Resolved.
Aug 2 2021, 5:41 PM · pinentry, Restricted Project
ikloecker moved T5532: pinentry: Add support for checking passphrase constraints to pinentry-qt from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Aug 2 2021, 5:41 PM · pinentry, Restricted Project
ikloecker moved T3659: pinentry falls back to curses on wayland from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Aug 2 2021, 5:41 PM · Restricted Project, Wayland, Feature Request, pinentry
ikloecker closed T3659: pinentry falls back to curses on wayland as Resolved.

Should now work for pinentry-qt on Wayland even if DISPLAY is not set.

Aug 2 2021, 5:38 PM · Restricted Project, Wayland, Feature Request, pinentry
ikloecker committed rP956ee260f541: qt: Try harder to find out whether we are running in a GUI session (authored by ikloecker).
qt: Try harder to find out whether we are running in a GUI session
Aug 2 2021, 5:32 PM
ikloecker committed rP0735afa87e90: Fix typo. (authored by ikloecker).
Fix typo.
Aug 2 2021, 5:32 PM
ikloecker moved T3659: pinentry falls back to curses on wayland from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Aug 2 2021, 5:08 PM · Restricted Project, Wayland, Feature Request, pinentry
ikloecker added a project to T3659: pinentry falls back to curses on wayland: Restricted Project.
Aug 2 2021, 5:08 PM · Restricted Project, Wayland, Feature Request, pinentry
ikloecker claimed T3659: pinentry falls back to curses on wayland.
Aug 2 2021, 5:08 PM · Restricted Project, Wayland, Feature Request, pinentry
ikloecker closed T5377: pinentry-qt dialog cannot be raised under Linux/Wayland as Resolved.

This has been fixed with rP9dd46926f8d5: qt: Fix showing of pinentry window on Wayland.

Aug 2 2021, 3:29 PM · pinentry, Bug Report
ikloecker committed rPfefd730651b6: qt: Improve message shown if passphrase does not satisfy constraints (authored by ikloecker).
qt: Improve message shown if passphrase does not satisfy constraints
Aug 2 2021, 12:32 PM
ikloecker committed rP6191d4f06c8b: qt: Ensure that malloced strings are free'd (authored by ikloecker).
qt: Ensure that malloced strings are free'd
Aug 2 2021, 12:32 PM
ikloecker committed rPf622321df5bb: qt: Cancel timeout on more user interactions (authored by ikloecker).
qt: Cancel timeout on more user interactions
Aug 2 2021, 12:32 PM
ikloecker moved T5532: pinentry: Add support for checking passphrase constraints to pinentry-qt from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Aug 2 2021, 10:26 AM · pinentry, Restricted Project
ikloecker added a comment to T5532: pinentry: Add support for checking passphrase constraints to pinentry-qt.

Notification when trying to enter empty passphrase:


Notification when trying to enter passphrase that does not satisfy multiple constraints:

Notification when trying to enter passphrase that is too short:

Aug 2 2021, 9:55 AM · pinentry, Restricted Project
ikloecker added a comment to T2749: gpg --secret-keyring is silently ignored.

I propose the following patch to inform the user about the obsolete --secret-keyring option. The same is done for many other obsolete options.

Aug 2 2021, 9:36 AM · Support, gnupg
JW-D added a comment to T5539: Key generation on OpenPGP Version 3.4 card fails.

Thank you! But let me mention, that my older smart cards (Version 2,2) holding also RSA-4096 keys. They could be generated on card without any problem. I had the problem only with OpenPGP cards version 3,4. This I would like to strenghten.

Aug 2 2021, 8:35 AM · can't replicate, OpenPGP, scd, Bug Report, gpg4win
gniibe added a comment to T5539: Key generation on OpenPGP Version 3.4 card fails.

Thank you for the information.

Aug 2 2021, 8:08 AM · can't replicate, OpenPGP, scd, Bug Report, gpg4win
JW-D added a comment to T5539: Key generation on OpenPGP Version 3.4 card fails.

My setting is RSA-4096 key. Also it showed "pipe was broken", but it disappeared too quickly, so I do not have a screenshot from that.

Aug 2 2021, 7:40 AM · can't replicate, OpenPGP, scd, Bug Report, gpg4win
gniibe added a comment to T5539: Key generation on OpenPGP Version 3.4 card fails.

I checked with my OpenPGP card v3.4.
It works for me with GnuPG 2.2.x and 2.3.x.
My setting is for RSA-2048 key.

Aug 2 2021, 7:14 AM · can't replicate, OpenPGP, scd, Bug Report, gpg4win

Aug 1 2021

JW-D created T5539: Key generation on OpenPGP Version 3.4 card fails.
Aug 1 2021, 9:57 PM · can't replicate, OpenPGP, scd, Bug Report, gpg4win
tari3x reopened T2749: gpg --secret-keyring is silently ignored as "Open".
Aug 1 2021, 9:02 PM · Support, gnupg
tari3x added a comment to T2749: gpg --secret-keyring is silently ignored.

This is very saddening and alarming from a respected member of the community whose opinion matters.

Aug 1 2021, 9:02 PM · Support, gnupg
werner committed rDc5436b32ca75: faq: Explictly indicate that --secret-keyring has no more effect. (authored by werner).
faq: Explictly indicate that --secret-keyring has no more effect.
Aug 1 2021, 11:11 AM
werner added a comment to T5490: gcry_pk_get_param aborts program with error on "Curve25519".

Hmm, do we need a backport?

Aug 1 2021, 10:59 AM · libgcrypt, Bug Report
werner triaged T5433: libgcrypt: Do not use SHA1 by default as Normal priority.
Aug 1 2021, 10:57 AM · FIPS, libgcrypt, Bug Report
werner triaged T5411: After upgrading from gpg4win 3.1.13 to gpg4win 3.1.15 GpgOL does not load, Outlook crashes. as Normal priority.

Please try 3.1.16 and make sure that you don't have other variants of gpg4win installed or Outlook plugins also using parts of gpg4win or its libraries.

Aug 1 2021, 10:56 AM · gpg4win, Support
werner closed T2749: gpg --secret-keyring is silently ignored as Resolved.

You should have read the release notes of 2.1 (first point). We can't keep a bug open because you had a wrong understanding of GnuPG properties. Sorry.

Aug 1 2021, 10:50 AM · Support, gnupg

Jul 31 2021

tari3x raised the priority of T2749: gpg --secret-keyring is silently ignored from Low to Needs Triage.
Jul 31 2021, 11:45 PM · Support, gnupg
tari3x reopened T2749: gpg --secret-keyring is silently ignored as "Open".
Jul 31 2021, 11:44 PM · Support, gnupg
Denisov23 added a comment to T4197: Can't change language of Kleopatra.

Hi, I have the same problem, in Italian Language becouse this is the system language!
Kleopatra 3.1.16 on Windows 10

Jul 31 2021, 1:29 PM · kleopatra, Bug Report, gpg4win
jukivili claimed T4486: Add AEAD mode AES-SIV to libgcrypt (RFC 5297).
Jul 31 2021, 12:36 PM · Feature Request, libgcrypt
Laurent Montel <montel@kde.org> committed rLIBKLEOe47afe415b87: GIT_SILENT: prepare 5.18.0 (authored by Laurent Montel <montel@kde.org>).
GIT_SILENT: prepare 5.18.0
Jul 31 2021, 12:09 PM
Laurent Montel <montel@kde.org> committed rKLEOPATRAb407dcd32f50: GIT_SILENT: prepare 5.18.0 (authored by Laurent Montel <montel@kde.org>).
GIT_SILENT: prepare 5.18.0
Jul 31 2021, 12:07 PM

Jul 30 2021

bernhard added a comment to T4393: GnuPG should always accept key updates even if the update does not contain UIDs.

bug has been closed as Wontfix [..] I see no reason to continue the discussion in the bugtracker.

Jul 30 2021, 5:23 PM · gnupg (gpg23), Feature Request
Laurent Montel <montel@kde.org> committed rLIBKLEO0608fbe45bc2: GIT_SILENT: allow to use specific installdir in cmakepreset (authored by Laurent Montel <montel@kde.org>).
GIT_SILENT: allow to use specific installdir in cmakepreset
Jul 30 2021, 3:32 PM
Laurent Montel <montel@kde.org> committed rKLEOPATRA9de140ce41fc: GIT_SILENT: allow to use specific installdir in cmakepreset (authored by Laurent Montel <montel@kde.org>).
GIT_SILENT: allow to use specific installdir in cmakepreset
Jul 30 2021, 3:31 PM
Laurent Montel <montel@kde.org> committed rLIBKLEO07693946bff1: GIT_SILENT: prepare 5.18.0 (authored by Laurent Montel <montel@kde.org>).
GIT_SILENT: prepare 5.18.0
Jul 30 2021, 2:45 PM
werner triaged T5538: gpg-agent's keytocard cmd should use a better default creation time. as Normal priority.
Jul 30 2021, 1:24 PM · gpgagent, gnupg (gpg23)
trooper added a comment to T4197: Can't change language of Kleopatra.

Can confirm this problem still exists in version 3.1.16. The context menu in Windows Explorer and some menu entries in Kleopatra are in the wrong language, while most of the application is in the correct language. This looks very messy.
Gpg4win and Kleopatra should not look at the date/format locale settings for the language, but at the actual Windows display language.

Jul 30 2021, 1:08 PM · kleopatra, Bug Report, gpg4win
werner triaged T5537: Use CSIDL_LOCAL_APPDATA for the socketdir as High priority.
Jul 30 2021, 12:50 PM · Windows, Restricted Project, gnupg (gpg22)
werner added a comment to T4393: GnuPG should always accept key updates even if the update does not contain UIDs.

This bug has been closed as Wontfix more than a year ago. I see no reason to continue the discussion in the bugtracker.

Jul 30 2021, 9:20 AM · gnupg (gpg23), Feature Request
werner closed T5534: Public key block with Signature Key generates expired NIIBE Yutaka (GnuPG Release Key) as Resolved.

Well, the keys are not generated but public keys are imported. @gniibe's key has meanwhile expired but we keep it because it will allow users to verify some older source packages. An expired signature key is not an error but merely means that one should evaluate the meaning of the signature with more diligence.

Jul 30 2021, 9:17 AM · www.gnupg.org, Support
werner created www.gnupg.org.
Jul 30 2021, 9:16 AM
l10n daemon script <scripty@kde.org> committed rLIBKLEO39c10dd81d7f: SVN_SILENT made messages (.desktop file) - always resolve ours (authored by l10n daemon script <scripty@kde.org>).
SVN_SILENT made messages (.desktop file) - always resolve ours
Jul 30 2021, 3:11 AM
l10n daemon script <scripty@kde.org> committed rKLEOPATRAace1bb63403c: GIT_SILENT made messages (after extraction) (authored by l10n daemon script <scripty@kde.org>).
GIT_SILENT made messages (after extraction)
Jul 30 2021, 2:17 AM

Jul 29 2021

dkg added a comment to T4393: GnuPG should always accept key updates even if the update does not contain UIDs.

I share your concerns about centralization of keyserver infrastructure. Rejecting this security fix doesn't help keep keyservers decentralized, though.

Jul 29 2021, 9:27 PM · gnupg (gpg23), Feature Request
werner triaged T5536: Backport the extended gpg-check-pattern to 2.2 as Normal priority.
Jul 29 2021, 12:37 PM · gnupg (gpg22)
werner committed rG7cdd06af4792: sm,w32: Fix Unicode problem on key box creation. (authored by werner).
sm,w32: Fix Unicode problem on key box creation.
Jul 29 2021, 11:51 AM
werner committed rG73c03e023228: tools: Extend gpg-check-pattern. (authored by werner).
tools: Extend gpg-check-pattern.
Jul 29 2021, 11:36 AM
aheinecke triaged T5535: Kleopatra: Check that accessibility is also supported for VS-NfD as High priority.
Jul 29 2021, 11:09 AM · Restricted Project, kleopatra
Laurent Montel <montel@kde.org> committed rKLEOPATRAbcf717ebc8c8: GIT_SILENT: Prepare 21.08 rc (authored by Laurent Montel <montel@kde.org>).
GIT_SILENT: Prepare 21.08 rc
Jul 29 2021, 10:34 AM
Laurent Montel <montel@kde.org> committed rLIBKLEO195ecc4c51e5: GIT_SILENT: Prepare 21.08 rc (authored by Laurent Montel <montel@kde.org>).
GIT_SILENT: Prepare 21.08 rc
Jul 29 2021, 10:28 AM
DC0 updated the task description for T5534: Public key block with Signature Key generates expired NIIBE Yutaka (GnuPG Release Key).
Jul 29 2021, 8:50 AM · www.gnupg.org, Support
DC0 created T5534: Public key block with Signature Key generates expired NIIBE Yutaka (GnuPG Release Key).
Jul 29 2021, 8:48 AM · www.gnupg.org, Support
gniibe added a comment to T5520: Fix tests in FIPS mode.

As a start, I applied your patches.

Jul 29 2021, 7:38 AM · FIPS, libgcrypt, Bug Report
gniibe committed rC0ab4e8063729: tests: Verify unsupported KDF tests fail in FIPS mode (authored by Jakuje).
tests: Verify unsupported KDF tests fail in FIPS mode
Jul 29 2021, 7:38 AM
gniibe committed rC0f118c2dfb8e: cipher: Do not use of non-approved digests in FIPS mode (authored by Jakuje).
cipher: Do not use of non-approved digests in FIPS mode
Jul 29 2021, 7:38 AM
gniibe committed rCd2a26b30b5db: tests: Expect the 192b ECDSA tests to fail in fips mode (authored by Jakuje).
tests: Expect the 192b ECDSA tests to fail in fips mode
Jul 29 2021, 7:38 AM
gniibe committed rC6df523bfb095: tests: Skip secmem overflow test in FIPS mode (authored by Jakuje).
tests: Skip secmem overflow test in FIPS mode
Jul 29 2021, 7:38 AM
gniibe committed rC83893f3f77da: tests: Transient DSA keys work in FIPS mode (authored by Jakuje).
tests: Transient DSA keys work in FIPS mode
Jul 29 2021, 7:38 AM
gniibe committed rCa93d678fa5a3: tests: Generating DSA from domain should fail in FIPS mode (authored by Jakuje).
tests: Generating DSA from domain should fail in FIPS mode
Jul 29 2021, 7:38 AM
gniibe committed rC302614833152: tests: Expect curves 25519/448 to fail in FIPS mode (authored by Jakuje).
tests: Expect curves 25519/448 to fail in FIPS mode
Jul 29 2021, 7:38 AM
gniibe committed rCf56a33df60dc: tests: Do not expect GCM work in FIPS (authored by Jakuje).
tests: Do not expect GCM work in FIPS
Jul 29 2021, 7:38 AM
gniibe committed rCaa1e9ebf8bdb: mac: Disable AES GMAC in FIPS mode (authored by Jakuje).
mac: Disable AES GMAC in FIPS mode
Jul 29 2021, 7:38 AM
gniibe committed rC55dbac435c5b: tests: Skip unsupported mechanisms in FIPS mode (authored by Jakuje).
tests: Skip unsupported mechanisms in FIPS mode
Jul 29 2021, 7:38 AM
gniibe claimed T5508: Allow hardware optimizations in FIPS.
Jul 29 2021, 7:25 AM · FIPS, libgcrypt, Bug Report
gniibe changed the status of T5508: Allow hardware optimizations in FIPS from Open to Testing.
Jul 29 2021, 7:25 AM · FIPS, libgcrypt, Bug Report
gniibe committed rC70e6cec07d86: hwfeatures: Enable hardware support also in FIPS mode. (authored by gniibe).
hwfeatures: Enable hardware support also in FIPS mode.
Jul 29 2021, 7:25 AM
gniibe committed rC4a3e71403225: cipher: Support internal hashing for DSA and ECDSA signing. (authored by gniibe).
cipher: Support internal hashing for DSA and ECDSA signing.
Jul 29 2021, 5:24 AM
gniibe changed the status of T5530: Add "prehash" support to DSA and ECDSA signing from Open to Testing.
Jul 29 2021, 5:00 AM · Restricted Project, FIPS, libgcrypt, Feature Request
gniibe changed the status of T5530: Add "prehash" support to DSA and ECDSA signing, a subtask of T4894: FIPS: RSA/DSA/ECDSA are missing hashing operation, from Open to Testing.
Jul 29 2021, 5:00 AM · FIPS, libgcrypt, Feature Request

Jul 28 2021

aheinecke triaged T5533: Kleopatra: Raise window more agressively on Windows as High priority.
Jul 28 2021, 6:43 PM · kleopatra, Restricted Project
ikloecker committed rPb0969ef692ac: qt: Check passphrase constraints before accepting passphrase (authored by ikloecker).
qt: Check passphrase constraints before accepting passphrase
Jul 28 2021, 4:00 PM
ikloecker committed rP8f5d4532fbd6: Add support for passphrase constraints options and checkpin inquiry (authored by ikloecker).
Add support for passphrase constraints options and checkpin inquiry
Jul 28 2021, 4:00 PM
bernhard added a comment to T4393: GnuPG should always accept key updates even if the update does not contain UIDs.

It is now over 10 months that the proponents of these additions have not followed up on the discussion.

Jul 28 2021, 3:42 PM · gnupg (gpg23), Feature Request
werner closed T4791: Switch between PIV and OpenPGP app w/o reentering the PIN as Resolved.

Works for a long time now (unless we broke it again;-)

Jul 28 2021, 3:21 PM · scd, yubikey
werner removed a parent task for T4694: manage first-party attestations: Unknown Object (Maniphest Task).
Jul 28 2021, 3:20 PM · Keyserver, Feature Request
bernhard added a comment to T5250: macOS: gpgconf SIGSEGV when run via gpgme from the GUI application.

dlopen'ing of gpgme is NOT SUPPORTED. It is in general not a good idea to do this on standard Unix systems.

Jul 28 2021, 11:08 AM · gpgme, MacOS, Bug Report
ikloecker triaged T5532: pinentry: Add support for checking passphrase constraints to pinentry-qt as Normal priority.
Jul 28 2021, 10:10 AM · pinentry, Restricted Project