Page MenuHome GnuPG
Feed All Stories

Aug 5 2022

ikloecker committed rP0cb17ea14e53: qt4: Add recipe for container for testing build for Qt4 (authored by ikloecker).
qt4: Add recipe for container for testing build for Qt4
Aug 5 2022, 7:54 PM
ikloecker committed rP825819b754f5: qt4: Make it compile with Qt 4.8.7 and without C++11 (authored by ikloecker).
qt4: Make it compile with Qt 4.8.7 and without C++11
Aug 5 2022, 7:54 PM
ikloecker committed rP08a7391fc024: qt,qt4: Separate build of pinentry with Qt5 and Qt4 (authored by ikloecker).
qt,qt4: Separate build of pinentry with Qt5 and Qt4
Aug 5 2022, 7:54 PM
ikloecker committed rP70388f18958c: qt4: Add old copy of source code of pinentry-qt for building with Qt4 (authored by ikloecker).
qt4: Add old copy of source code of pinentry-qt for building with Qt4
Aug 5 2022, 7:54 PM
mlaurent committed rKLEOPATRA853d80b54a9d: Remove duplicate includes (authored by mlaurent).
Remove duplicate includes
Aug 5 2022, 7:42 PM
ikloecker added a comment to T6115: Kleopatra: On "revoke certification" do not offer keys which did not certify that certificate.

Note to self: T6100: Kleopatra: Make revocation of certifications accessible may be obsolete when the improvements are completed because then the dialog will most likely be gone.

Aug 5 2022, 4:21 PM · Restricted Project, kleopatra
ikloecker committed rKLEOPATRA4d0cdb960690: Add missing include (authored by ikloecker).
Add missing include
Aug 5 2022, 4:18 PM
ikloecker added a comment to T6115: Kleopatra: On "revoke certification" do not offer keys which did not certify that certificate.

If the user cannot revoke any of the certifications of the selected key or user IDs, then we now inform the user about this instead of showing the dilaog.

Aug 5 2022, 4:14 PM · Restricted Project, kleopatra
ikloecker committed rKLEOPATRAe3bdb94add48: Modernize the check that the user IDs belong to the key (authored by ikloecker).
Modernize the check that the user IDs belong to the key
Aug 5 2022, 4:08 PM
ikloecker committed rKLEOPATRA19286cc1d152: Check if there are any certifications the user can revoke (authored by ikloecker).
Check if there are any certifications the user can revoke
Aug 5 2022, 4:08 PM
ikloecker committed rKLEOPATRA82d5bbb89358: Add helper to check that a user ID belongs to a key (authored by ikloecker).
Add helper to check that a user ID belongs to a key
Aug 5 2022, 4:08 PM
ikloecker committed rKLEOPATRAddaf31d30632: Log a warning if the signatures are not available (authored by ikloecker).
Log a warning if the signatures are not available
Aug 5 2022, 4:08 PM
ikloecker committed rLIBKLEO2fa5e706bb8f: Bump library version (authored by ikloecker).
Bump library version
Aug 5 2022, 4:00 PM
ikloecker committed rLIBKLEO807d2eacd385: Add helper to check if all elements in a range satify a predicate (authored by ikloecker).
Add helper to check if all elements in a range satify a predicate
Aug 5 2022, 4:00 PM
ikloecker claimed T6115: Kleopatra: On "revoke certification" do not offer keys which did not certify that certificate.
Aug 5 2022, 2:37 PM · Restricted Project, kleopatra
werner added a comment to T6002: scute w/ gpg23: Support multiple cards/tokens, major update with KEYGRIP.

Firefox nicely shows the 3 NIST certificates from my Telesec card but not the important Brainpool certificate for eIDAS. It turns out that Firefox does not support Brainpool, despite that a patch has been provided 8 years ago. See https://bugzilla.mozilla.org/show_bug.cgi?id=943639 . Thus there is currently no way to use LibreOffice or Okular to signe PDFs because they rely on NSS.

Aug 5 2022, 2:06 PM · Feature Request, scute
mlaurent committed rLIBKLEO1496aa438ae7: GIT_SILENT: prepare 5.21.0 (authored by mlaurent).
GIT_SILENT: prepare 5.21.0
Aug 5 2022, 1:38 PM
ikloecker changed the status of T6121: Kleopatra: add name suggestion for revocation certificate from Open to Testing.

We now propose "<fingerprint>.rev" in the last used export directory as file name. This is the same file name as for the revocation certificates that gpg automatically writes to the openpgp-revocs.d folder when a new OpenPGP key is generated.

Aug 5 2022, 12:55 PM · Restricted Project, kleopatra
ikloecker committed rKLEOPATRA16cf9a3b0b41: Make overwrite confirmation look more like the Qt one (authored by ikloecker).
Make overwrite confirmation look more like the Qt one
Aug 5 2022, 12:54 PM
ikloecker committed rKLEOPATRA6a79624cfea7: Do not ask twice for confirmation to overwrite existing file (authored by ikloecker).
Do not ask twice for confirmation to overwrite existing file
Aug 5 2022, 12:54 PM
ikloecker committed rKLEOPATRAfd3b57277708: Propose a file name for the generated revocation certificate (authored by ikloecker).
Propose a file name for the generated revocation certificate
Aug 5 2022, 12:54 PM
ikloecker committed rKLEOPATRA9994a362d621: Add/use common helper for persisting the last used export directory (authored by ikloecker).
Add/use common helper for persisting the last used export directory
Aug 5 2022, 12:54 PM
ikloecker committed rKLEOPATRA47e4f93d8280: Store last used export directory in state config (authored by ikloecker).
Store last used export directory in state config
Aug 5 2022, 12:54 PM
ikloecker committed rKLEOPATRA0479937b7a29: Store the full path if path references a directory (authored by ikloecker).
Store the full path if path references a directory
Aug 5 2022, 12:54 PM
aheinecke committed rW311b2e25648e: Update kleopatra (authored by aheinecke).
Update kleopatra
Aug 5 2022, 12:24 PM
aheinecke committed rKLEOPATRAe8c91dbd0914: Fix another c++20 initializer (authored by aheinecke).
Fix another c++20 initializer
Aug 5 2022, 12:23 PM
aheinecke committed rW17845573cf71: Update kde-l10n (authored by aheinecke).
Update kde-l10n
Aug 5 2022, 11:44 AM
aheinecke committed rWaba0445195aa: Update Kleopatra to latest master (authored by aheinecke).
Update Kleopatra to latest master
Aug 5 2022, 11:44 AM
aheinecke committed rKLEOPATRA1af932cfb542: Move c++20 initializers out of for statement (authored by aheinecke).
Move c++20 initializers out of for statement
Aug 5 2022, 11:41 AM
aheinecke committed rKLEOPATRA36cbbf748e52: Fix debug output for base directory detection (authored by aheinecke).
Fix debug output for base directory detection
Aug 5 2022, 11:41 AM
ikloecker claimed T6121: Kleopatra: add name suggestion for revocation certificate .
Aug 5 2022, 11:04 AM · Restricted Project, kleopatra
aheinecke triaged T6125: GpgOL: Print warning when incompatible Addins are detected as Normal priority.
Aug 5 2022, 8:21 AM · Restricted Project, gpgol
gniibe moved T5438: gpgme_op_keylist_from_data_start ignores GPGME_KEYLIST_MODE_SIGS from For a future release to QA for next release on the gpgme board.
Aug 5 2022, 8:12 AM · gpgme (gpgme 1.23.x), OpenPGP, Bug Report
gniibe moved T5825: [gpgme] [python] possible dangling reference to passphrase from Backlog to Python stuff on the gpgme board.
Aug 5 2022, 8:10 AM · patch, gpgme, Bug Report
gniibe moved T6060: segfault (NULL-pointer) when inspecting gpg Context after exception (python) from Backlog to Python stuff on the gpgme board.
Aug 5 2022, 8:10 AM · Python, gpgme, Bug Report
gniibe claimed T6060: segfault (NULL-pointer) when inspecting gpg Context after exception (python).

The SEGV was due to access to gpgme library after self.wrapped is set to None in the __del__ function.

Aug 5 2022, 8:04 AM · Python, gpgme, Bug Report
gniibe added a comment to T5825: [gpgme] [python] possible dangling reference to passphrase.

The commit is: rMb2f224a471fe: python: Reset passphrase callback correctly..

Aug 5 2022, 7:59 AM · patch, gpgme, Bug Report
gniibe committed rM180899c7c313: python: Don't access gpgme with wrapped=None. (authored by gniibe).
python: Don't access gpgme with wrapped=None.
Aug 5 2022, 7:59 AM
gniibe committed rMb2f224a471fe: python: Reset passphrase callback correctly. (authored by jap).
python: Reset passphrase callback correctly.
Aug 5 2022, 4:10 AM
gniibe claimed T5825: [gpgme] [python] possible dangling reference to passphrase.

Thank you for the patch. You are right.

Aug 5 2022, 4:09 AM · patch, gpgme, Bug Report

Aug 4 2022

werner added a project to T6123: Gpg Encryption and Signing - infinite Loop: Support.
Aug 4 2022, 9:01 PM · Support, gpgagent, gpg4win, Bug Report
werner awarded T6122: GnuPG: misleading error message keytocard a Cup of Joe token.
Aug 4 2022, 6:22 PM · Bug Report, gnupg (gpg22)
ikloecker added a comment to T5951: gpgme: Add support for refreshing OpenPGP keys.

I have kept a backup copy of a WKDRefreshJob locally. ;-) But that's stuff for a different task.

Aug 4 2022, 3:56 PM · gpgme, Restricted Project
aheinecke added a comment to T5951: gpgme: Add support for refreshing OpenPGP keys.

Thanks, the update button this is now more what I think is expected. Still I am not sure if removing it completely was neccessary, well we have it in the history now. Because I see the need to also update via WKD. Currently we only update from there if a key is expired but we would never see revocations. That is a problem that we will need some solution for at some point. But yeah in that case calling it "RefreshOpenPGPKeysJob" would be a misleading API Name anyhow. So its probably good that you removed it before the upcoming release.

Aug 4 2022, 3:34 PM · gpgme, Restricted Project
aheinecke lowered the priority of T6124: Gpg Encryption and Signing - infinite Loop from High to Low.

Still, the first thing you should do is to update to a recent version, the version you are on is about 3 years old. See https://gpg4win.org for the most recent version. Then add --verbose and --debug ipc to your command so we can maybe see more what it does.

Aug 4 2022, 3:29 PM · Info Needed
ikloecker added a comment to T6122: GnuPG: misleading error message keytocard.

Looks good. After entering a wrong passphrase three times Kleopatra now reports

Moving the key to the card failed: Bad passphrase
Aug 4 2022, 3:08 PM · Bug Report, gnupg (gpg22)
mariamihaela triaged T6124: Gpg Encryption and Signing - infinite Loop as High priority.
Aug 4 2022, 2:00 PM · Info Needed
mariamihaela added a comment to T6123: Gpg Encryption and Signing - infinite Loop.

Please reopen my issue. This is a serious issue that we encounter and do not have any explication.

Aug 4 2022, 1:55 PM · Support, gpgagent, gpg4win, Bug Report
mariamihaela added a comment to T6123: Gpg Encryption and Signing - infinite Loop.

Hi!
No, it's not waiting for the password. This was a 2 times error happening on our server.
We already provided the password but it was hung. We entered different things but it won't make anything.
I can tell you it doesn't wait for anything because we tested the same command on 2 different machines. On one machine it was hung, on another it worked.

Aug 4 2022, 1:54 PM · Support, gpgagent, gpg4win, Bug Report
ikloecker closed T6123: Gpg Encryption and Signing - infinite Loop as Invalid.

gpg was waiting for the passphrase for the signing key to be provided via stdin.

Aug 4 2022, 1:46 PM · Support, gpgagent, gpg4win, Bug Report
ikloecker changed the status of T5951: gpgme: Add support for refreshing OpenPGP keys from Open to Testing.

See T5903: Kleopatra: Add refresh button in certificatedetails for the corresponding Kleopatra task. Kleopatra now uses the good old ReceiveKeysJob for doing a key refresh from the configured key server. The RefreshOpenPGPKeysJob has been removed.

Aug 4 2022, 1:40 PM · gpgme, Restricted Project
ikloecker changed the status of T5951: gpgme: Add support for refreshing OpenPGP keys, a subtask of T5903: Kleopatra: Add refresh button in certificatedetails , from Open to Testing.
Aug 4 2022, 1:40 PM · backport, kleopatra, Restricted Project
ikloecker added a comment to T5903: Kleopatra: Add refresh button in certificatedetails .

For an OpenPGP key, Update now performs a simple "retrieve key" operation for the existing key, i.e. it refreshes the key with the public key found on the configured key server.

Aug 4 2022, 1:36 PM · backport, kleopatra, Restricted Project
mariamihaela created T6123: Gpg Encryption and Signing - infinite Loop.
Aug 4 2022, 1:25 PM · Support, gpgagent, gpg4win, Bug Report
werner added a project to T6122: GnuPG: misleading error message keytocard: Restricted Project.
Aug 4 2022, 12:46 PM · Bug Report, gnupg (gpg22)
werner committed rGf2a81e374501: gpg: Fix wrong error message for keytocard. (authored by werner).
gpg: Fix wrong error message for keytocard.
Aug 4 2022, 12:46 PM
werner added a comment to T6122: GnuPG: misleading error message keytocard.

With my patch I see the expected status message:

Aug 4 2022, 12:43 PM · Bug Report, gnupg (gpg22)
werner committed rG189102ac17dc: gpg: Fix wrong error message for keytocard. (authored by werner).
gpg: Fix wrong error message for keytocard.
Aug 4 2022, 12:43 PM
ikloecker committed rMc3b183831db5: qt: Remove job for refreshing OpenPGP keys (authored by ikloecker).
qt: Remove job for refreshing OpenPGP keys
Aug 4 2022, 12:32 PM
ikloecker committed rKLEOPATRA87d8b00d4b22: Use ReceiveKeysJob for refreshing OpenPGP keys (authored by ikloecker).
Use ReceiveKeysJob for refreshing OpenPGP keys
Aug 4 2022, 12:32 PM
werner added a comment to T6122: GnuPG: misleading error message keytocard.

The problem seems to be that we don't return a status code with the
actual error via the --command-fd interface:

Aug 4 2022, 12:23 PM · Bug Report, gnupg (gpg22)
werner triaged T6122: GnuPG: misleading error message keytocard as Normal priority.
Aug 4 2022, 12:07 PM · Bug Report, gnupg (gpg22)
gniibe committed rS40c50f8d8291: Support ECC, step 5 (fixing a bug). (authored by gniibe).
Support ECC, step 5 (fixing a bug).
Aug 4 2022, 8:48 AM
gniibe committed rS10795acc8daa: Support ECC, step 4. (authored by gniibe).
Support ECC, step 4.
Aug 4 2022, 8:48 AM
sylvain-spryker added a comment to T6070: Yubikey 5C 'not available: card error' regression.

@gniibe Perfect, I got the update during the night actually. Thanks a lot for your work 🙏 .

Aug 4 2022, 7:02 AM · gnupg (gpg23), scd, Bug Report
gniibe committed rSc6972c490b9f: Support ECC, step 3. (authored by gniibe).
Support ECC, step 3.
Aug 4 2022, 5:58 AM
gniibe added a comment to T6070: Yubikey 5C 'not available: card error' regression.

For the firmware 5.4.3, I confirmed that it works well with the changes:
https://dev.gnupg.org/T6070#160150

Aug 4 2022, 1:40 AM · gnupg (gpg23), scd, Bug Report
Heiko Becker <heiko.becker@kde.org> committed rKLEOPATRA15cf04bff7b0: GIT_SILENT Upgrade release service version to 22.07.90. (authored by Heiko Becker <heiko.becker@kde.org>).
GIT_SILENT Upgrade release service version to 22.07.90.
Aug 4 2022, 1:07 AM

Aug 3 2022

ikloecker added a comment to T6073: Kleopatra: Fix issues with high contrast resp. inverted color scheme.

Did you restart Kleopatra after enabling the high contrast mode? I have implemented that Kleopatra doesn't change/set any background or foreground colors if high contrast mode is detected. Maybe the detection (in SystemInfo::isHighContrastModeActive) doesn't work.

Aug 3 2022, 5:34 PM · vsd33, kleopatra, Restricted Project
ikloecker changed the status of T6101: Kleopatra: Make self-test accessible from Open to Testing.

All issues were addressed.

Aug 3 2022, 5:27 PM · kleopatra, Restricted Project
ikloecker changed the status of T6101: Kleopatra: Make self-test accessible, a subtask of T5824: Kleopatra: Full accessibility support, from Open to Testing.
Aug 3 2022, 5:27 PM · kleopatra
ikloecker committed rKLEOPATRAc7f4cacff3c4: Update column sizes if all tests are shown (authored by ikloecker).
Update column sizes if all tests are shown
Aug 3 2022, 5:21 PM
ikloecker committed rKLEOPATRA45d1f6b39c9c: Ensure that the current item stays visible (authored by ikloecker).
Ensure that the current item stays visible
Aug 3 2022, 5:21 PM
ikloecker committed rKLEOPATRAf674388913fd: Set accessible name for the test results tree (authored by ikloecker).
Set accessible name for the test results tree
Aug 3 2022, 5:21 PM
ikloecker committed rKLEOPATRA6ca6a3a23776: Announce current item when test results tree gets focus (authored by ikloecker).
Announce current item when test results tree gets focus
Aug 3 2022, 5:21 PM
ikloecker committed rKLEOPATRA5cf3c582d9b2: Initially, give keyboard input focus to the tree view (authored by ikloecker).
Initially, give keyboard input focus to the tree view
Aug 3 2022, 5:21 PM
ikloecker committed rKLEOPATRA5ca701a5f8cf: Simplify interface of SelfTestDialog (authored by ikloecker).
Simplify interface of SelfTestDialog
Aug 3 2022, 5:21 PM
ikloecker committed rKLEOPATRA36c233441742: Remove unused c'tor (authored by ikloecker).
Remove unused c'tor
Aug 3 2022, 5:21 PM
ikloecker committed rKLEOPATRAd7f9d806d9d9: Prevent scroll areas from receiving focus (authored by ikloecker).
Prevent scroll areas from receiving focus
Aug 3 2022, 5:21 PM
ikloecker committed rKLEOPATRA4df977116a49: Move Show all check box next to other check box (authored by ikloecker).
Move Show all check box next to other check box
Aug 3 2022, 5:21 PM
ikloecker committed rKLEOPATRA5ef5ad2f2885: In automatic mode, do not show passed tests initially (authored by ikloecker).
In automatic mode, do not show passed tests initially
Aug 3 2022, 5:21 PM
ikloecker committed rKLEOPATRA051bdf81b7d1: Allow the labels to receive keyboard input focus (authored by ikloecker).
Allow the labels to receive keyboard input focus
Aug 3 2022, 5:21 PM
ikloecker committed rKLEOPATRA0743a81ee85b: Create UI of Self Test dialog in code (authored by ikloecker).
Create UI of Self Test dialog in code
Aug 3 2022, 5:21 PM
ikloecker committed rKLEOPATRA5898bdda3987: Modernize signal-slot connections (authored by ikloecker).
Modernize signal-slot connections
Aug 3 2022, 5:21 PM
ikloecker committed rKLEOPATRA04095babdf1b: Make test results tree view navigatable column by column (authored by ikloecker).
Make test results tree view navigatable column by column
Aug 3 2022, 5:21 PM
ebo created T6122: GnuPG: misleading error message keytocard.
Aug 3 2022, 3:57 PM · Bug Report, gnupg (gpg22)
sylvain-spryker added a comment to T6070: Yubikey 5C 'not available: card error' regression.

Hi lovely people,

Aug 3 2022, 3:38 PM · gnupg (gpg23), scd, Bug Report
aheinecke added a comment to T5951: gpgme: Add support for refreshing OpenPGP keys.

I thought "Update" would do a key server refresh by fingerprint. Maybe I looked at the wrong job? In testing we noticed this because we suddenly had additional keys after using "update". "Update" in the certificate details should only search by fingerprint. Maybe when we know that the key source is WKD we could also look by mail address?

Aug 3 2022, 3:32 PM · gpgme, Restricted Project
aheinecke added a comment to T6073: Kleopatra: Fix issues with high contrast resp. inverted color scheme.

Most things look good to me, it was automatically enabled when I switched Windows to high contrast mode. The only thing I noticed is that the fields where we explicitly set the background may not look to readable. Especially the Sign&Encrypt buttons because there we don't set the text color.

Aug 3 2022, 3:29 PM · vsd33, kleopatra, Restricted Project
ikloecker added a comment to T5951: gpgme: Add support for refreshing OpenPGP keys.

Okay. I do a KeyListJob with key list mode GpgME::LocateExternal which does the equivalent of --locate-external-keys and that depends on the auto-key-locate mechanisms which could include keyserver and other mechanisms besides WKD.

Aug 3 2022, 3:20 PM · gpgme, Restricted Project
ikloecker added a comment to T5951: gpgme: Add support for refreshing OpenPGP keys.

The lookup by email address is supposed to be done via WKD. Obviously, a lookup by fingerprint wouldn't work. And yes, obviously this may import additional key via WKD.

Aug 3 2022, 3:08 PM · gpgme, Restricted Project
aheinecke triaged T6121: Kleopatra: add name suggestion for revocation certificate as Normal priority.
Aug 3 2022, 2:54 PM · Restricted Project, kleopatra
ebo created T6121: Kleopatra: add name suggestion for revocation certificate .
Aug 3 2022, 2:43 PM · Restricted Project, kleopatra
aheinecke reopened T5951: gpgme: Add support for refreshing OpenPGP keys, a subtask of T5903: Kleopatra: Add refresh button in certificatedetails , as Open.
Aug 3 2022, 2:41 PM · backport, kleopatra, Restricted Project
aheinecke reopened T5951: gpgme: Add support for refreshing OpenPGP keys as "Open".

I am reopening this as the current behavior is strange in my opinion and should be changed before a release.
Currently the refreshopenpgpkeysjob does not refresh the OpenPGP Key by fingerprint but instead imports all keys with a similar e-mail address. This does not work for keys with no email. Also in case of public keyservers it can pull in keys that not belong to the user or are expired and so on.

Aug 3 2022, 2:41 PM · gpgme, Restricted Project
kusyka911 added a comment to T6082: Failed to decrypt with YubiKey on m1 mac.

@gniibe thanks for help.

Aug 3 2022, 2:14 PM · Bug Report
aheinecke committed rW505cdfd3ebb8: Update libkleo, kleopatra and kde-l10n (authored by aheinecke).
Update libkleo, kleopatra and kde-l10n
Aug 3 2022, 12:52 PM
werner committed rG6583abedf3f0: common: Silence warnings from AllowSetForegroundWindow. (authored by werner).
common: Silence warnings from AllowSetForegroundWindow.
Aug 3 2022, 11:15 AM
werner committed rG94908857e1f5: dirmngr: Fix failed malloc error message. (authored by werner).
dirmngr: Fix failed malloc error message.
Aug 3 2022, 11:15 AM
werner committed rG4ef8516a79f9: common: Silence warnings from AllowSetForegroundWindow. (authored by werner).
common: Silence warnings from AllowSetForegroundWindow.
Aug 3 2022, 11:11 AM