Page MenuHome GnuPG
Feed All Stories

Aug 5 2022

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 (vsd-3.3.0), 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 (vsd-3.3.0), 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
werner committed rG5fb2306b9760: gpgconf: Add config file for Windows Registry dumps. (authored by werner).
gpgconf: Add config file for Windows Registry dumps.
Aug 3 2022, 10:50 AM
werner committed rGb067285d595a: dirmngr: Fix failed malloc error message. (authored by werner).
dirmngr: Fix failed malloc error message.
Aug 3 2022, 10:50 AM
ikloecker claimed T6101: Kleopatra: Make self-test accessible.
Aug 3 2022, 9:38 AM · kleopatra, Restricted Project
ikloecker edited projects for T6115: Kleopatra: On "revoke certification" do not offer keys which did not certify that certificate, added: Restricted Project; removed g10code.
Aug 3 2022, 9:35 AM · Restricted Project, kleopatra
gniibe committed rSd87da7d1c0a6: Support ECC, step 2. (authored by gniibe).
Support ECC, step 2.
Aug 3 2022, 9:32 AM
werner committed rGebb736b2c310: gpgconf: Add config file for Windows Registry dumps. (authored by werner).
gpgconf: Add config file for Windows Registry dumps.
Aug 3 2022, 9:29 AM
gniibe committed rSd3b1ea8387f5: Support ECC, step 1. (authored by gniibe).
Support ECC, step 1.
Aug 3 2022, 9:12 AM
gniibe committed rS6be00e5447ef: locate the places to support ECC. (authored by gniibe).
locate the places to support ECC.
Aug 3 2022, 6:29 AM
l10n daemon script <scripty@kde.org> committed rKLEOPATRAef06a5ee49d4: 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
Aug 3 2022, 4:51 AM
gniibe committed rSb704864cf72b: Add constants in pkcs11.h. (authored by gniibe).
Add constants in pkcs11.h.
Aug 3 2022, 3:42 AM

Aug 2 2022

werner added a project to T6119: GnuPG: Compliance mode status omitted when decrypting combined symmetric and asymmetric data: Restricted Project.

Fixed in 2.2 and master. Did a couple of manual tests using 2.2 on Linux. gpgsplit comes handy to add a couple more tag-3 packets (same algos or one patched to camellia for the negative test)

Aug 2 2022, 6:55 PM · gnupg, Restricted Project
werner committed rG171725c9717c: g13: Remove unused variable. (authored by werner).
g13: Remove unused variable.
Aug 2 2022, 6:46 PM
werner committed rGea7aba6e605d: gpgconf: Improve registry dumping. (authored by werner).
gpgconf: Improve registry dumping.
Aug 2 2022, 6:46 PM
werner committed rGe542c4af182d: gpg: Make symmetric + pubkey encryption de-vs compliant. (authored by werner).
gpg: Make symmetric + pubkey encryption de-vs compliant.
Aug 2 2022, 6:46 PM
werner committed rGe8011a7ceca7: gpg: Make symmetric + pubkey encryption de-vs compliant. (authored by werner).
gpg: Make symmetric + pubkey encryption de-vs compliant.
Aug 2 2022, 6:37 PM
jukivili committed rC97e2c237f15d: tests/basic: Add ifdefs for SM4 and CAMELLIA tests (authored by neverpanic).
tests/basic: Add ifdefs for SM4 and CAMELLIA tests
Aug 2 2022, 6:04 PM