Page MenuHome GnuPG

kleopatraProject
ActivePublic

Details

Description

a GUI for GNU PG among other things

Recent Activity

Today

ikloecker changed the status of T7666: Kleopatra: Rework versioning from Open to Testing.
Mon, Jun 2, 11:13 AM · gpd5x, kleopatra
ikloecker updated the task description for T7666: Kleopatra: Rework versioning.
Mon, Jun 2, 11:12 AM · gpd5x, kleopatra
ikloecker updated the task description for T7666: Kleopatra: Rework versioning.
Mon, Jun 2, 11:10 AM · gpd5x, kleopatra

Fri, May 30

ikloecker added a comment to T7669: Kleopatra: Change result message of update check.

Yes, for GPD and VSD there probably should be version numbers in swdb.lst if the update check should actually be active in those distributions. I think for VSD the update check is usually deactivated because a) it accesses the public internet which some customers don't want and b) the software is usually not installed by the users themselves so that the update check doesn't make much sense.

Fri, May 30, 6:01 PM · Windows, gpd5x, kleopatra
werner triaged T7669: Kleopatra: Change result message of update check as Normal priority.
Fri, May 30, 5:32 PM · Windows, gpd5x, kleopatra
werner added a comment to T7669: Kleopatra: Change result message of update check.

So, what shall we do with vanilla kleopatra, or GPD or VSD? It will be easy to record current versions number in swdb.lst

Fri, May 30, 5:32 PM · Windows, gpd5x, kleopatra
ikloecker added projects to T7669: Kleopatra: Change result message of update check: kleopatra, gpd5x, Windows.

Tagging with Windows because the update check is a NOP except on Windows.

Fri, May 30, 11:33 AM · Windows, gpd5x, kleopatra
ikloecker changed the status of T7656: Kleopatra: Wrong update suggestion from 5.0.0 to 4.4.0 from Open to Testing.

Do I understand correctly that this bug is then automatically done/fixed?

It depends on how the version comparison works. We may have to change the code to extract the version number (e.g. 5.0.0) from the version string.

Fri, May 30, 11:30 AM · Bug Report, gpd5x, kleopatra
werner added a comment to T7656: Kleopatra: Wrong update suggestion from 5.0.0 to 4.4.0.

I forgot to mention that gpgrt has an API to compare version numbers in the same way gpgconf and all gnupg components do it; this should be somewhat similar to sort -V

Fri, May 30, 11:23 AM · Bug Report, gpd5x, kleopatra
werner added a comment to T7656: Kleopatra: Wrong update suggestion from 5.0.0 to 4.4.0.

BTW, if you append a beta string the thing works as well. Thus with an development version for 4.4.2 we would get a 'newer' state:

Fri, May 30, 11:19 AM · Bug Report, gpd5x, kleopatra
werner added a comment to T7656: Kleopatra: Wrong update suggestion from 5.0.0 to 4.4.0.

The version file is locally cached and updated from time to time unless that feature is disabled.
An update can be forced using

Fri, May 30, 11:15 AM · Bug Report, gpd5x, kleopatra
ikloecker added a comment to T7656: Kleopatra: Wrong update suggestion from 5.0.0 to 4.4.0.

By the way, Kleopatra uses GpgME::SwdbResult::query() which I expect to do what you propose.

Fri, May 30, 11:00 AM · Bug Report, gpd5x, kleopatra
ikloecker added a comment to T7656: Kleopatra: Wrong update suggestion from 5.0.0 to 4.4.0.

First, gpgconf doesn't help with parsing a version string like gpg4win-5.0.0-beta190 which is what I was talking about. Once we have extracted "gpg4win" and "5.0.0" we could use gpgconf. ...if it worked as documented in the man page. I don't understand this:

$ gpgconf --query-swdb gpg4win 4.3.0
gpg4win:4.3.0:-::32849:::::::
Fri, May 30, 10:56 AM · Bug Report, gpd5x, kleopatra
werner added a comment to T7656: Kleopatra: Wrong update suggestion from 5.0.0 to 4.4.0.

This is all done by gpgconf like here:

Fri, May 30, 9:22 AM · Bug Report, gpd5x, kleopatra

Wed, May 28

aheinecke added a comment to T6793: Cleanup temporary files / dirs with decrypted content.

To clarify. And what I think might still not work here. Windows has the problem that it does not remove the temp directory on restart or even attempts to. So whenever we work with temporary files we need to make an effort to remove them. Because the user does not expect a decrypted file in a temporary folder to stick around forever. There are options to do that on Windows. As a last resort one could even create a registry key like we did in the uninstaller for a while to remove files which were in used after next reboot.

Wed, May 28, 10:31 PM · vsd32 (vsd-3.2.0), Restricted Project, kleopatra
aheinecke added a comment to T6623: Kleopatra hangs "Loading certificate cache" on Windows 10.

Actually after looking at this post here I commented on https://dev.gnupg.org/T7434#201525 Since you are already debugging and seem to be able to reproduce this somewhat more often then others. (I hope even aftger all this time? :) ) Could you try running porcmon with the generic gnupg path filter as suggested there. Will slow everything down of course, but I would love to get my fingers of such a hang like you are seeing with such a filter enabled. You can export only the filtered lines and compress it. If it is still too large or private I guess we can get you an upload space somewhere. But some unexpected situation caused by a third party software messing at the right time with our files would really fit the bill, and I already noticed that standard windows defender, in a standard windows installation messes with our lock files. Maybe you have some even more agressive software running and see such issue more often, the important thing in the procmon log would be what kind of error / access pattern occurs to figure out if we handle something not correctly, or interpret it differently.

Wed, May 28, 9:55 PM · kleopatra
aheinecke added a comment to T7657: Kleopatra: Refresh OpenPGP Certificates doesn't respect WKD setting.

Just as a reminder, knowledge transfer, because this is easily overlooked in testing but at least one customer would have gotten very annoyed if we had ever deployed an "Update all certificates" function which "added" new certificates. Even with the update of a single cert, we had a "funny" issue, like if you had expired certificates from anywhere and not from WKD (which old keyrings have a lot, maybe with many uids). Suddenly an update would pull in new keys which come from WKD but maybe there they all only have one UID. Because for keyservers the identifier was the fingerprint and for WKD the identifier was the userid.
Or even worse, you explicitly threw out the OpenPGP keys from WKD because you wanted to use only S/MIME, then such a function may not search on any OpenPGP Sources.
When I worked at Kleopatra we didn't want such a feature in GnuPG. Our strategy was to update keys when they are used, about to be used or close to expiry. The whole locate-external-key thing.
I think the feature we had to update in the certificate details is good. But i recommend especially keeping the S/MIME / OpenPGP difference in mind. I would also call it "Search updated certificates" with a tooltip that it might also find "new" certificates for the user. And then an option to disable this either for S/MIME or for OpenPGP.

Wed, May 28, 9:45 PM · Feature Request, gpd5x, kleopatra
ikloecker added a comment to T7656: Kleopatra: Wrong update suggestion from 5.0.0 to 4.4.0.

Do I understand correctly that this bug is then automatically done/fixed?

Wed, May 28, 9:35 PM · Bug Report, gpd5x, kleopatra
aheinecke added a comment to T7434: Kleopatra: Initial keylisting hangs for ~60 seconds (gpg-agent: Socket ...S.gpg-agent cannot be bound).

The more I think of this, the more likely this appears to me as the source for all that random startup weirdness of GnuPG. Say you are on a large keyring and on a train, then that keyring is first passed through your enterprise malware protection for scanning or something like that. Then it works again until some metric, hash or something else changes.

Wed, May 28, 8:37 PM · gnupg, kleopatra
aheinecke added a comment to T7434: Kleopatra: Initial keylisting hangs for ~60 seconds (gpg-agent: Socket ...S.gpg-agent cannot be bound).

My recommendation would at this point be to use procmon with a file filter for just "If path contains gnupg then include" I mean maybe go only for the locking dirs but this way you will not only see what the GnuPG processes are doing but what everyone on the system is doing to the locks. So you will see when my old friends, third party security software might interfere.
For example: You will see on a default Windows which files are checked through telemetry. And here in this example you see directly that the Microsoft Malware Protection Engine is accessing the agents socket.

Wed, May 28, 8:16 PM · gnupg, kleopatra
werner added a comment to T7666: Kleopatra: Rework versioning.

Yes. If gpgconf could read that version directly from kleopatra it would be even better. Bit in cases of early crashes this might be sub-optimal; thus I will tell gpgconf to get some additional version info from an installed versioninfo.txt file (which gpg4win creates). Thanks.

Wed, May 28, 7:21 PM · gpd5x, kleopatra
ikloecker updated subscribers of T7666: Kleopatra: Rework versioning.

Is this what you had in mind @werner:

Wed, May 28, 5:19 PM · gpd5x, kleopatra
TobiasFella added a comment to T7656: Kleopatra: Wrong update suggestion from 5.0.0 to 4.4.0.

Note: The Kleopatra in upcoming versions of Gpg4win 5 will have AboutData::version set to gpg4win-5.0.0 (or gpg4win-5.0.0-beta190 for beta versions). See T7666: Kleopatra: Rework versioning.

Wed, May 28, 3:45 PM · Bug Report, gpd5x, kleopatra

Tue, May 27

ikloecker added a comment to T7656: Kleopatra: Wrong update suggestion from 5.0.0 to 4.4.0.

Note: The Kleopatra in upcoming versions of Gpg4win 5 will have AboutData::version set to gpg4win-5.0.0 (or gpg4win-5.0.0-beta190 for beta versions). See T7666: Kleopatra: Rework versioning.

Tue, May 27, 5:26 PM · Bug Report, gpd5x, kleopatra
ikloecker edited projects for T7657: Kleopatra: Refresh OpenPGP Certificates doesn't respect WKD setting, added: Feature Request; removed Bug Report.

Tools / Refresh OpenPGP certificates runs gpg --refresh-keys. I don't think that this command knows anything about WKD.

Tue, May 27, 5:20 PM · Feature Request, gpd5x, kleopatra
werner lowered the priority of T7040: Make it possible to install GnuPG VSD and GPD in parallel from High to Normal.

For vsd on Windows this will be solved due to the use of gnupg-vsd as default homedir. We already tested this with a beta MSI installer

Tue, May 27, 4:37 PM · kleopatra, Restricted Project
werner assigned T7656: Kleopatra: Wrong update suggestion from 5.0.0 to 4.4.0 to TobiasFella.

This should compare the gpg4win version number:

Tue, May 27, 4:34 PM · Bug Report, gpd5x, kleopatra
werner triaged T7657: Kleopatra: Refresh OpenPGP Certificates doesn't respect WKD setting as High priority.
Tue, May 27, 4:30 PM · Feature Request, gpd5x, kleopatra
TobiasFella set External Link to https://invent.kde.org/pim/kleopatra/-/merge_requests/386 on T7655: Kleopatra: show a progress window when updating a certificate.
Tue, May 27, 3:48 PM · gpd5x, kleopatra
TobiasFella moved T7655: Kleopatra: show a progress window when updating a certificate from Backlog to WIP on the gpd5x board.
Tue, May 27, 3:48 PM · gpd5x, kleopatra

Mon, May 26

ikloecker moved T7666: Kleopatra: Rework versioning from Backlog to WIP on the gpd5x board.
Mon, May 26, 5:13 PM · gpd5x, kleopatra
ikloecker updated the task description for T7666: Kleopatra: Rework versioning.
Mon, May 26, 11:09 AM · gpd5x, kleopatra
ikloecker updated the task description for T7666: Kleopatra: Rework versioning.
Mon, May 26, 11:05 AM · gpd5x, kleopatra
ikloecker triaged T7666: Kleopatra: Rework versioning as Normal priority.
Mon, May 26, 10:18 AM · gpd5x, kleopatra

Fri, May 23

ebo moved T7600: Kleopatra: gpg.exe hangs on trying to exportably certify an already locally signed certificate with multiple UIDs from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Fri, May 23, 10:14 AM · Restricted Project, vsd33 (vsd-3.3.1), gpgme, gpd5x, kleopatra
ebo added a project to T7600: Kleopatra: gpg.exe hangs on trying to exportably certify an already locally signed certificate with multiple UIDs: Restricted Project.
Fri, May 23, 10:13 AM · Restricted Project, vsd33 (vsd-3.3.1), gpgme, gpd5x, kleopatra

Thu, May 22

ebo updated the task description for T7579: Draft: Kleopatra: improve menu items.
Thu, May 22, 5:44 PM · kleopatra, gpd5x
ebo removed a project from T7448: Draft: Kleopatra: Unify the information given on certificate import: gpd5x.
Thu, May 22, 4:33 PM · kleopatra
ebo closed T7448: Draft: Kleopatra: Unify the information given on certificate import as Wontfix.

In light of the ticket T7630 this one is obsolete

Thu, May 22, 3:53 PM · kleopatra
ebo renamed T7503: Kleopatra: change to secret key import window from Kleopatra: change secret key import behavior when importing more than one to Kleopatra: change to secret key import window.
Thu, May 22, 3:50 PM · gpd5x, kleopatra
ebo renamed T7503: Kleopatra: change to secret key import window from Draft: Kleopatra: change secret key import behavior when importing more than one to Kleopatra: change secret key import behavior when importing more than one.
Thu, May 22, 3:49 PM · gpd5x, kleopatra
ebo added a comment to T7503: Kleopatra: change to secret key import window.

We decided to

  • remove the "Cancel" Button in case only one secret key is imported (as this does the same as "No")
  • in case of importing more than one secret key we want to change the text from "Cancel" to "No for all".
Thu, May 22, 3:47 PM · gpd5x, kleopatra
ebo added a comment to T7630: Kleopatra: Get rid of the imported certificates tabs.

When you've implemented the link solution here, do the same for T5006

Thu, May 22, 3:37 PM · kleopatra, gpd5x
ebo added a project to T5006: Kleopatra: Display Names and Key-IDs for certificates after any attempt to import them.: gpd5x.
Thu, May 22, 3:35 PM · gpd5x, kleopatra, Feature Request
ebo added a comment to T5006: Kleopatra: Display Names and Key-IDs for certificates after any attempt to import them..

Please solve this the same as our solution in T7630: add a button in the results window to open a new window with all the imported certificates.

Thu, May 22, 3:35 PM · gpd5x, kleopatra, Feature Request
ebo added a comment to T7630: Kleopatra: Get rid of the imported certificates tabs.

Possibilities for the button text:
"Show import window"
"Show import tab" (I know it is no tab but its shorter)

Thu, May 22, 3:24 PM · kleopatra, gpd5x
ebo renamed T7630: Kleopatra: Get rid of the imported certificates tabs from Draft: Kleopatra: Make tabs for imported certificates configurable or obsolete to Kleopatra: Get rid of the imported certificates tabs.
Thu, May 22, 3:21 PM · kleopatra, gpd5x
ebo renamed T7582: Kleopatra: Make default backup location for secret keys configurable from Draft: Kleopatra: make storage location configurable to Kleopatra: Make default backup location for secret keys configurable.
Thu, May 22, 3:05 PM · Feature Request, gpd5x, kleopatra

Tue, May 20

ikloecker edited projects for T7297: Kleopatra: Improve support for V5 fingerprints, added: gpd5x; removed Restricted Project.

The changes have only been implemented for the upcoming Qt 6 based Kleopatra, i.e. Gpg4win 5. I have updated the project tags accordingly.

Tue, May 20, 9:20 PM · gpd5x, kleopatra
ebo added a comment to T7557: Draft: Kleopatra: Sign/encrypt result window improvements (KF6).

After completion of T7553, the result for one file looks like this:

Tue, May 20, 5:02 PM · gpd5x, kleopatra