In T5551#148510, @werner wrote:I would prefer to see a fix/hack in pinentry-qt instead.
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
Feed All Stories
All Stories
All Stories
Aug 8 2021
Aug 8 2021
Laurent Montel <montel@kde.org> committed rLIBKLEOc5adace28aba: GIT_SILENT: add build without deprecated method (authored by Laurent Montel <montel@kde.org>).
GIT_SILENT: add build without deprecated method
Laurent Montel <montel@kde.org> committed rKLEOPATRAe658a11ce010: GIT_SILENT: add build without deprecated method (authored by Laurent Montel <montel@kde.org>).
GIT_SILENT: add build without deprecated method
Aug 7 2021
Aug 7 2021
Laurent Montel <montel@kde.org> committed rKLEOPATRA6ca7d17d1add: We depend against 5.84 (authored by Laurent Montel <montel@kde.org>).
We depend against 5.84
Aug 6 2021
Aug 6 2021
I see. Thanks!
web: Add a website to gpgfrontend
• aheinecke committed rPe5d4738a76b4: qt: Mask caps lock toggle bit on windows (authored by • aheinecke).
qt: Mask caps lock toggle bit on windows
To minimize the risk of regressions.
Not to be bothersome, but why? DISPLAY seems like the universal method of selecting a display to put things on, where a lot of applications don't support --display or equivalent, especially now there's no equivalent for wayland. It's especially confusing to me when the keep-display option will pass DISPLAY instead of --display. This would also prevent other such scenarios with 3rd party qt/gtk plugins or alternative pinentry implementations.
I would prefer to see a fix/hack in pinentry-qt instead.
Proposed patch:
--- gnupg-2.2.27.orig/agent/call-pinentry.c +++ gnupg-2.2.27/agent/call-pinentry.c @@ -202,13 +202,14 @@
fips: Fix check_binary_integrity.
• gniibe renamed T5547: Single thread support with newer GNU C library (2.34 or later) from Single thread support with newer GNU C library (2.32 or later) to Single thread support with newer GNU C library (2.34 or later).
• gniibe committed rE67595e8244ed: posix-lock: Support GNU C library 2.34 or later. (authored by • gniibe).
posix-lock: Support GNU C library 2.34 or later.
• gniibe committed rE8538a83fd1b5: m4: Merge our local change for threadlib.m4. (authored by • gniibe).
m4: Merge our local change for threadlib.m4.
m4: Update m4/threadlib.m4 from gnulib.
Here is the documentation of the new way of single-threaded execution:
https://www.gnu.org/software/libc/manual/html_node/Single_002dThreaded.html
Aug 5 2021
Aug 5 2021
• ikloecker moved T5543: pinentry-qt: Accessibility switch to repeat on enter from Restricted Project Column to Restricted Project Column on the Restricted Project board.
build: Simplify configure.ac.
We also need to update m4/threadlib.m4.
Now, it's maintained in gnulib.
See the changes in:
https://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=commitdiff;h=12b5b00f93c6433c3df8176fc9674d7600f8b268
• gniibe edited projects for T5547: Single thread support with newer GNU C library (2.34 or later), added: gpgrt; removed libgcrypt.
• gniibe updated the task description for T5547: Single thread support with newer GNU C library (2.34 or later).
• gniibe added a project to T5547: Single thread support with newer GNU C library (2.34 or later): libgcrypt.
build: Simplify configure.ac.
Laurent Montel <montel@kde.org> committed rKLEOPATRA0491d470dd89: X-KDE-ParentComponents is not use now. (authored by Laurent Montel <montel@kde.org>).
X-KDE-ParentComponents is not use now.
Laurent Montel <montel@kde.org> committed rKLEOPATRAabbcac2fb7c8: Now we don't use X-KDE-CfgDlgHierarchy (authored by Laurent Montel <montel@kde.org>).
Now we don't use X-KDE-CfgDlgHierarchy
Laurent Montel <montel@kde.org> committed rKLEOPATRAf4d5d186da7b: Merge remote-tracking branch 'origin/release/21.08' (authored by Laurent Montel <montel@kde.org>).
Merge remote-tracking branch 'origin/release/21.08'
Laurent Montel <montel@kde.org> committed rKLEOPATRAd7858a786d1d: Drop X-KDE-Keywords entries from kcm desktop files (authored by Laurent Montel <montel@kde.org>).
Drop X-KDE-Keywords entries from kcm desktop files
build: Simplify checking headers.
core: Minor clean up.
Laurent Montel <montel@kde.org> committed rKLEOPATRA94bd63226c4b: Drop unused X-KDE-ParentApp entries from kcm desktop files (authored by Laurent Montel <montel@kde.org>).
Drop unused X-KDE-ParentApp entries from kcm desktop files
• gniibe committed rG29d58e9de783: build: Simplify for string.h and getopt.h. (authored by • gniibe).
build: Simplify for string.h and getopt.h.
build: Update checking headers.
sm: Fix pwri.
build: Update checking headers.
• gniibe committed rG3f33c7ffcca0: build: Remove duplication of AC_HEADER_TIME. (authored by • gniibe).
build: Remove duplication of AC_HEADER_TIME.
Heiko Becker <heiko.becker@kde.org> committed rKLEOPATRAb4447aa9fc1b: GIT_SILENT Update Appstream for new release (authored by Heiko Becker <heiko.becker@kde.org>).
GIT_SILENT Update Appstream for new release
Heiko Becker <heiko.becker@kde.org> committed rKLEOPATRA20df6668889c: GIT_SILENT Update Appstream for new release (authored by Heiko Becker <heiko.becker@kde.org>).
GIT_SILENT Update Appstream for new release
Heiko Becker <heiko.becker@kde.org> committed rKLEOPATRA149391c32e2c: GIT_SILENT Upgrade release service version to 21.08.0. (authored by Heiko Becker <heiko.becker@kde.org>).
GIT_SILENT Upgrade release service version to 21.08.0.
Aug 4 2021
Aug 4 2021
• aheinecke changed the status of T5533: Kleopatra: Raise window more agressively on Windows from Open to Testing.
AllowSetForegroundWindow did not work but the code from pinentry works even without the minimize / raise. The minimize raise is only required for the proper input focus and a nice animation for pinentry but the QWindowsWindowBehavior is already sufficient.
• aheinecke committed rKLEOPATRAfba38b9d27d8: W32: Change window behavior to always activate (authored by • aheinecke).
W32: Change window behavior to always activate
I am pretty sure that an AllowSetForegroundWindow in the kuniqueservice_win implementation in Kleopatra will alleviate this issue. Since we pass a double click on a file which has foreground window permissions to the existing process which at this point may not have foreground window permissions. If this still does not help we can do the minimize / maximize trick.
• aheinecke assigned T5535: Kleopatra: Check that accessibility is also supported for VS-NfD to • ikloecker.
Ingo, I have tested this on Windows with NV Access and was able to symmetrically encrypt and decrypt a file with closed eyes. I went through the windows explorer context menu to select sign & encrypt on selected files.
Can you also do some more tests on Linux ( I do not know how to properly enable a screenreader there ) and if you find anything ugly fix it.
• aheinecke added subtasks for T5535: Kleopatra: Check that accessibility is also supported for VS-NfD: T5545: Kleopatra: Select symmetric encryption by default if keyring is empty, T5544: Kleopatra: Ensure that file encryption dialogs has shortcuts on all actions, T5543: pinentry-qt: Accessibility switch to repeat on enter.
• aheinecke triaged T5546: Kleopatra: After importing the first pubkey for a card from LDAP the keylistview is not refreshed as Normal priority.
• aheinecke triaged T5545: Kleopatra: Select symmetric encryption by default if keyring is empty as Normal priority.
• aheinecke triaged T5544: Kleopatra: Ensure that file encryption dialogs has shortcuts on all actions as High priority.
As far as I understood, $WAYLAND_DISPLAY does not need to be set because there is a well-defined default, but I guess most of the time it's set anyway.
Laurent Montel <montel@kde.org> committed rKLEOPATRA86ef08ff6ab6: GIT_SILENT: Remove unused entry X-KDE-HasReadOnlyMode from plugin's desktop file (authored by Laurent Montel <montel@kde.org>).
GIT_SILENT: Remove unused entry X-KDE-HasReadOnlyMode from plugin's desktop file
Ah, I understand the point (at least, partially); My understanding is: With FIPS mode, at the module boundary (== libgcrypt), it ensures that all cipher/digest/etc. operations are done under the standard compliance, and it is considered wrong (violation) when non-FIPS mode operation (such as SHA-1) and FIPS mode operation are mixed.
Aug 3 2021
Aug 3 2021
QGuiApplication checks $XDG_SESSION_TYPE maybe to find out whether to use X11 or Wayland if $DISPLAY and $WAYLAND_DISPLAY are both set.
• ikloecker moved T5481: Kleopatra: Progress indication for large archives wrong from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Aug 3 2021, 2:55 PM · Restricted Project
The fix in gpgme fixes the progress when encrypting/decrypting large files with Kleopatra. At least, on Linux.
Aug 3 2021, 2:55 PM · Restricted Project
In RHEL, we do not have anything about PCT so the PCT requirement is not completely clear to me: https://git.centos.org/rpms/libgcrypt/blob/c8s/f/SOURCES
• aheinecke triaged T5542: w32: Values under HKLM ignored if HKCU entry for GnuPG exists as Normal priority.
• ikloecker committed rM7cfc93193d53: core: Fix results returned by gpgme_data_* functions (authored by • ikloecker).
core: Fix results returned by gpgme_data_* functions
• ikloecker moved T5481: Kleopatra: Progress indication for large archives wrong from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Aug 3 2021, 12:15 PM · Restricted Project
Aug 3 2021, 12:15 PM · Restricted Project
Cool
Aug 3 2021, 11:54 AM · Restricted Project
• werner added a project to T5539: Key generation on OpenPGP Version 3.4 card fails: can't replicate.
I tried a fresh card reconfigured it to use 3 4k RSA keys:
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
Hmm, nope. gpg outputs
[GNUPG:] PROGRESS largefile5G ? 0 5120 MiB
if I run
$ gpg --symmetric --enable-progress-filter --status-fd 1 --output /dev/null largefile5GAug 3 2021, 11:34 AM · Restricted Project
I gave it a try and it works here now with $DISPLAY unset, thanks!
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
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
See T2368
Aug 3 2021, 10:46 AM · Restricted Project
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.
• gniibe committed rC7ac72ebaf7f7: fips: Support LIBGCRYPT_FORCE_FIPS_MODE envvar. (authored by • gniibe).
fips: Support LIBGCRYPT_FORCE_FIPS_MODE envvar.
SUSE has patches and version 3235 of cavs_driver.pl, bud it seems that it doesn't support DSA with Q+HASHALGO yet.
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 2 2021
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
• ikloecker changed the status of T5517: Improvements for symmetric encryption from Open to Testing.
• ikloecker moved T5517: Improvements for symmetric encryption from Restricted Project Column to Restricted Project Column on the Restricted Project board.
• ikloecker closed T5532: pinentry: Add support for checking passphrase constraints to pinentry-qt, a subtask of T5517: Improvements for symmetric encryption, as Resolved.
• 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.
• ikloecker moved T3659: pinentry falls back to curses on wayland from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Should now work for pinentry-qt on Wayland even if DISPLAY is not set.
• 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
Fix typo.
• ikloecker moved T3659: pinentry falls back to curses on wayland from Restricted Project Column to Restricted Project Column on the Restricted Project board.
This has been fixed with rP9dd46926f8d5: qt: Fix showing of pinentry window on Wayland.