Page MenuHome GnuPG
Feed Advanced Search

Jul 30 2023

ikloecker committed rKLEOPATRAcbbb337f3882: Use list-initialization for QStringLists (authored by ikloecker).
Use list-initialization for QStringLists
Jul 30 2023, 10:51 PM
ikloecker committed rKLEOPATRA183a7b147e3a: Ensure order of includes after clang-format (authored by ikloecker).
Ensure order of includes after clang-format
Jul 30 2023, 10:51 PM
ikloecker committed rKLEOPATRAffd98dce67dd: GIT_SILENT Add .git-blame-ignore-revs (authored by ikloecker).
GIT_SILENT Add .git-blame-ignore-revs
Jul 30 2023, 10:48 PM
ikloecker committed rKLEOPATRAb5eca6c4ae21: Run clang-format (authored by ikloecker).
Run clang-format
Jul 30 2023, 10:48 PM
ikloecker committed rKLEOPATRA79076d88c100: Help clang-format giving nicer results (authored by ikloecker).
Help clang-format giving nicer results
Jul 30 2023, 10:48 PM
ikloecker committed rKLEOPATRA2cf3e6a5ad8f: Add clang-format git pre-commit hook (authored by ikloecker).
Add clang-format git pre-commit hook
Jul 30 2023, 10:48 PM
ikloecker committed rKLEOPATRAf52acd2d097d: Don't define multiple member variables together (authored by ikloecker).
Don't define multiple member variables together
Jul 30 2023, 10:48 PM
ikloecker committed rKLEOPATRAb52d55308573: Fix order of error message and window title (authored by ikloecker).
Fix order of error message and window title
Jul 30 2023, 10:48 PM
ikloecker committed rKLEOPATRAd5896e237357: Ensure order of includes after clang-format (authored by ikloecker).
Ensure order of includes after clang-format
Jul 30 2023, 10:48 PM
ikloecker committed rKLEOPATRA889fb3c24a78: Use list-initialization for QStringLists (authored by ikloecker).
Use list-initialization for QStringLists
Jul 30 2023, 10:48 PM
ikloecker committed rKLEOPATRAdd8d16df5e22: Replace ternary expression with if-statement (authored by ikloecker).
Replace ternary expression with if-statement
Jul 30 2023, 10:48 PM
ikloecker added a comment to T6577: KMail: delete all attachments option.

I agree that "Delete All" should use the same list of attachments as "Save All". Additionally, we should make sure that in both cases the list of attachments that are saved/deleted is identical to the list of attachments that is displayed as attachments in the viewer. Hopefully, KMime::Message::attachments() is also used for this.

Jul 30 2023, 3:10 PM · Restricted Project
ikloecker committed rKLEOPATRA23c31282baf9: Add the first two UI tests (authored by ikloecker).
Add the first two UI tests
Jul 30 2023, 12:36 PM

Jul 28 2023

ikloecker changed the status of T6095: Kleopatra: Fix accessibility of group configuration from Testing to Open.
Jul 28 2023, 5:47 PM · kleopatra, Restricted Project
ikloecker changed the status of T6095: Kleopatra: Fix accessibility of group configuration, a subtask of T5824: Kleopatra: Full accessibility support, from Testing to Open.
Jul 28 2023, 5:47 PM · a11y, kleopatra
ikloecker changed the status of T6073: Kleopatra: Fix issues with high contrast resp. inverted color scheme, a subtask of T5824: Kleopatra: Full accessibility support, from Testing to Open.
Jul 28 2023, 5:46 PM · a11y, kleopatra
ikloecker changed the status of T6073: Kleopatra: Fix issues with high contrast resp. inverted color scheme from Testing to Open.
Jul 28 2023, 5:46 PM · vsd33 (vsd-3.3.0), kleopatra, Restricted Project
ikloecker changed the status of T6622: Kleopatra: Misleading result when decrypting clear signed message followed by public key block in notepad from Open to Testing.

Should be fixed.

Jul 28 2023, 4:56 PM · gpgme (gpgme 1.23.x), Bug Report, Restricted Project, kleopatra
ikloecker committed rMa9b28c79e92f: core: Prevent wrong plaintext when verifying clearsigned signature (authored by ikloecker).
core: Prevent wrong plaintext when verifying clearsigned signature
Jul 28 2023, 4:15 PM
ikloecker added a comment to T6622: Kleopatra: Misleading result when decrypting clear signed message followed by public key block in notepad.

Using -o signedtext.txt fixes the problem. Unfortunately, gpgme does

      err = add_arg (gpg, "--output");
      if (!err)
	err = add_arg (gpg, "-");
[...]
      if (!err)
	err = add_data (gpg, plaintext, 1, 1);

i.e. it tells gpg to write the output to stdout and then reads everything from stdout as plaintext.

Jul 28 2023, 4:15 PM · gpgme (gpgme 1.23.x), Bug Report, Restricted Project, kleopatra
ikloecker changed the status of T6617: General error when trying to decrypt a public key block in the notepad from Open to Testing.

The error was changed to "Bad data" which should be more appropriate.

Jul 28 2023, 2:32 PM · gpgme (gpgme 1.23.x), Restricted Project
ikloecker updated subscribers of T6622: Kleopatra: Misleading result when decrypting clear signed message followed by public key block in notepad.

What we have here is a clear text signature followed by a public key. If you run this with
gpg -o signedtext.txt --status-fd 2 signedtext.txt should only receive "bar" and not the key listing. If that is not the case something would be very wrong.

Jul 28 2023, 2:31 PM · gpgme (gpgme 1.23.x), Bug Report, Restricted Project, kleopatra
ikloecker triaged T6622: Kleopatra: Misleading result when decrypting clear signed message followed by public key block in notepad as Normal priority.
Jul 28 2023, 2:30 PM · gpgme (gpgme 1.23.x), Bug Report, Restricted Project, kleopatra
ikloecker committed rM777cf7f2d173: core: Return bad data error instead of general error on unexpected data (authored by ikloecker).
core: Return bad data error instead of general error on unexpected data
Jul 28 2023, 2:24 PM
ikloecker added a comment to T6519: Kleopatra: "change validity" allows to set an expiry date in the past.

This issue should be tested together with T6621: Kleopatra: Remove "in n days/weeks/months/years" input from Change Validity Period dialog.

Jul 28 2023, 1:01 PM · backport, kleopatra, Restricted Project
ikloecker changed the status of T6621: Kleopatra: Remove "in n days/weeks/months/years" input from Change Validity Period dialog from Open to Testing.

I have also further unified the handling of the expiration date when

  • generating a new OpenPGP certificate
  • changing the validity period of an OpenPGP certificate
  • certifying an OpenPGP certificate
Jul 28 2023, 12:57 PM · Restricted Project, kleopatra
ikloecker committed rKLEOPATRAfb8d970115ac: Check for valid expiration date when creating new OpenPGP certificate (authored by ikloecker).
Check for valid expiration date when creating new OpenPGP certificate
Jul 28 2023, 12:55 PM
ikloecker committed rKLEOPATRAd6ab68abf97e: Unify setup of expiration date selection (authored by ikloecker).
Unify setup of expiration date selection
Jul 28 2023, 12:55 PM
ikloecker committed rKLEOPATRAc30cedf713aa: Do not rely on maximum date of combo box for unlimited validity (authored by ikloecker).
Do not rely on maximum date of combo box for unlimited validity
Jul 28 2023, 12:54 PM
ikloecker committed rKLEOPATRA04ba26634573: Use the configured (or hard-coded) validity period also for certifications (authored by ikloecker).
Use the configured (or hard-coded) validity period also for certifications
Jul 28 2023, 12:54 PM
ikloecker committed rKLEOPATRAc9fb37509edc: Fix the check for a valid expiration date (authored by ikloecker).
Fix the check for a valid expiration date
Jul 28 2023, 12:54 PM
ikloecker committed rKLEOPATRA2d42d28c2a4d: Unify selection of expiration date in different dialogs (authored by ikloecker).
Unify selection of expiration date in different dialogs
Jul 28 2023, 12:54 PM
ikloecker committed rKLEOPATRA33555baaaeed: Connect to the overriding accept (authored by ikloecker).
Connect to the overriding accept
Jul 28 2023, 12:54 PM
ikloecker claimed T6621: Kleopatra: Remove "in n days/weeks/months/years" input from Change Validity Period dialog.
Jul 28 2023, 10:49 AM · Restricted Project, kleopatra
ikloecker added a project to T6621: Kleopatra: Remove "in n days/weeks/months/years" input from Change Validity Period dialog: Restricted Project.
Jul 28 2023, 10:49 AM · Restricted Project, kleopatra
ikloecker placed T6519: Kleopatra: "change validity" allows to set an expiry date in the past up for grabs.
Jul 28 2023, 9:42 AM · backport, kleopatra, Restricted Project

Jul 27 2023

ikloecker changed the status of T6519: Kleopatra: "change validity" allows to set an expiry date in the past, a subtask of T6553: Kleopatra: Expiry date issues and improvements, from Open to Testing.
Jul 27 2023, 6:54 PM · kleopatra
ikloecker changed the status of T6519: Kleopatra: "change validity" allows to set an expiry date in the past from Open to Testing.
Jul 27 2023, 6:54 PM · backport, kleopatra, Restricted Project
ikloecker created T6621: Kleopatra: Remove "in n days/weeks/months/years" input from Change Validity Period dialog.
Jul 27 2023, 6:54 PM · Restricted Project, kleopatra
ikloecker added a comment to T6519: Kleopatra: "change validity" allows to set an expiry date in the past.

We now show an error message when the user tries to set an invalid expiration date when changing the expiration date. Additionally,
the configured minimum and maximum validity period is now taken into account, i.e. for changing the expiration now the same rules are applied as for new certificates.

Jul 27 2023, 6:45 PM · backport, kleopatra, Restricted Project
ikloecker added a comment to T6379: Kleopatra: Brainpool key can not be moved to smart card.

Thanks for the pointer! I'll see how I can do what ecdh_param_str_from_pk does in gpgme.

Jul 27 2023, 6:34 PM · gnupg24 (gnupg-2.4.4), gnupg22 (gnupg-2.2.42), Restricted Project, kleopatra
ikloecker committed rKLEOPATRAc17ab82b9add: Show an error message when the user enters an invalid expiration date (authored by ikloecker).
Show an error message when the user enters an invalid expiration date
Jul 27 2023, 6:17 PM
ikloecker committed rKLEOPATRA887c68889877: Use same logic when changing expiration date as for new certificates (authored by ikloecker).
Use same logic when changing expiration date as for new certificates
Jul 27 2023, 6:17 PM
ikloecker committed rKLEOPATRAdef2829b42bb: Take allowed range into account for default expiration date (authored by ikloecker).
Take allowed range into account for default expiration date
Jul 27 2023, 6:17 PM
ikloecker committed rKLEOPATRA625aa531193a: Restrict the maximum allowed expiration date (authored by ikloecker).
Restrict the maximum allowed expiration date
Jul 27 2023, 6:17 PM
ikloecker committed rKLEOPATRA5356456df30f: Extract the setup of the expiration combo box (authored by ikloecker).
Extract the setup of the expiration combo box
Jul 27 2023, 6:17 PM
ikloecker claimed T6519: Kleopatra: "change validity" allows to set an expiry date in the past.
Jul 27 2023, 1:38 PM · backport, kleopatra, Restricted Project
ikloecker added a comment to T6379: Kleopatra: Brainpool key can not be moved to smart card.

The relevant logs are

2023-07-27 12:08:01 scdaemon[28156] opgp: ecdh parameters missing
2023-07-27 12:08:01 scdaemon[28156] operation writekey result: Invalid value
Jul 27 2023, 12:14 PM · gnupg24 (gnupg-2.4.4), gnupg22 (gnupg-2.2.42), Restricted Project, kleopatra
ikloecker added a comment to T6612: Kleopatra can't be started from the gpg shell of the AppImage.

I used dbus-monitor to monitor the session bus. I'm seeing the following logged by dbus-monitor when starting kleopatra in the AppImage shell.

method call time=1690445994.197305 sender=:1.141 -> destination=org.freedesktop.DBus serial=1 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=Hello
method return time=1690445994.197348 sender=org.freedesktop.DBus -> destination=:1.141 serial=1 reply_serial=1
   string ":1.141"
signal time=1690445994.197368 sender=org.freedesktop.DBus -> destination=(null destination) serial=93 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameOwnerChanged
   string ":1.141"
   string ""
   string ":1.141"
signal time=1690445994.197394 sender=org.freedesktop.DBus -> destination=:1.141 serial=2 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameAcquired
   string ":1.141"
method call time=1690445994.197919 sender=:1.141 -> destination=org.freedesktop.DBus serial=2 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
   string "type='signal',sender='org.freedesktop.DBus',path='/org/freedesktop/DBus',interface='org.freedesktop.DBus',member='NameAcquired'"
method call time=1690445994.198591 sender=:1.141 -> destination=org.freedesktop.DBus serial=3 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=RequestName
   string "org.kde.kleopatra"
   uint32 0
signal time=1690445994.198656 sender=org.freedesktop.DBus -> destination=(null destination) serial=94 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameOwnerChanged
   string "org.kde.kleopatra"
   string ""
   string ":1.141"
signal time=1690445994.198680 sender=org.freedesktop.DBus -> destination=:1.141 serial=3 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameAcquired
   string "org.kde.kleopatra"
[...]

and when quitting Kleopatra I see

method call time=1690446001.636935 sender=:1.141 -> destination=org.freedesktop.DBus serial=21 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=ReleaseName
   string "org.kde.kleopatra"
signal time=1690446001.636978 sender=org.freedesktop.DBus -> destination=:1.141 serial=10 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameLost
   string "org.kde.kleopatra"
signal time=1690446001.636991 sender=org.freedesktop.DBus -> destination=(null destination) serial=97 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameOwnerChanged
   string "org.kde.kleopatra"
   string ":1.141"
   string ""
Jul 27 2023, 10:22 AM · gpd5x, AppImage

Jul 26 2023

ikloecker added a comment to T6612: Kleopatra can't be started from the gpg shell of the AppImage.

I have just started kleopatra in the shell. Moved it to the background (Ctrl+Z bg). Then started okular. Then opened certificate of signed PDF in kleopatra. Everything works. (Except "Show Signatures Panel" doesn't really work if the side panel is not visible, but that's a completely different issue.) I also tried first starting okular and then kleopatra in the same shell. This also worked.

Jul 26 2023, 7:57 PM · gpd5x, AppImage
ikloecker added a comment to T6612: Kleopatra can't be started from the gpg shell of the AppImage.

I cannot reproduce this. Neither with the official AppImage nor with my self-built AppImage. The error message suggests that some process is still registered with DBUS. Maybe a process left over from a previous run?

Jul 26 2023, 5:58 PM · gpd5x, AppImage
ikloecker added a comment to T6115: Kleopatra: On "revoke certification" do not offer keys which did not certify that certificate.

I had a quick look. gpg --quick-revoke-sig [...] doesn't emit a status message that would tell Kleopatra that the signatures had already been revoked. It just emits a status message telling Kleopatra which key was considered. (Run gpg with --status-fd 2 to see which status messages gpg emits.)

Jul 26 2023, 5:40 PM · Restricted Project, kleopatra
ikloecker updated subscribers of T6617: General error when trying to decrypt a public key block in the notepad.

I had a look at this. gpg emits the following status messages:

[GNUPG:] UNEXPECTED 0<LF>
[GNUPG:] FAILURE decrypt 38<LF>
Jul 26 2023, 5:26 PM · gpgme (gpgme 1.23.x), Restricted Project
ikloecker added a comment to T6152: Allow giving context to gpg-agent.

Currently, Kleopatra cannot do anything about this. get_passphrase in protect-tool.c asks those questions and doesn't support a way to give the user more context (e.g. by providing the file name). Once gpg-agent allows giving context, Kleopatra can add for example the file name to the data to import.

Jul 26 2023, 11:51 AM · gnupg26, Feature Request, S/MIME
ikloecker added a comment to T6115: Kleopatra: On "revoke certification" do not offer keys which did not certify that certificate.

I could be wrong, but I think initially we load OpenPGP certificates without signatures, so that we don't know whether the user has certified or revoked a key. Therefore, in the certificate list we cannot decide whether offering the "Revoke" action makes sense. We load the signatures, when the details or the certification dialog is opened.

Jul 26 2023, 11:35 AM · Restricted Project, kleopatra

Jul 10 2023

ikloecker committed rLIBKLEO6b9cb7077d26: Require 23.04 version of kpimtextedit (authored by ikloecker).
Require 23.04 version of kpimtextedit
Jul 10 2023, 3:32 PM
ikloecker committed rKLEOPATRA8f47fdeb8a89: Require KMime 5.23.0 (authored by ikloecker).
Require KMime 5.23.0
Jul 10 2023, 3:24 PM
ikloecker committed rKLEOPATRA495c5c2940a9: Require 23.04 version of kmime, don't require optional dependencies (authored by ikloecker).
Require 23.04 version of kmime, don't require optional dependencies
Jul 10 2023, 3:24 PM
ikloecker committed rKLEOPATRA25dc541df26f: Fix import from notepad (authored by ikloecker).
Fix import from notepad
Jul 10 2023, 3:08 PM
ikloecker added a comment to T6587: GpgME++ / QGpgME MSVC build.

One complication comes from the fact that gpgmepp and qgpgme include the global config.h that is generated by configure. This needs to be replaced. I'll attach two files where I grepped for usage of the config.h's #defines (generated on Linux) in lang/cpp and lang/qt. The files probably contain false positives.


Jul 10 2023, 2:07 PM · gpgme
ikloecker committed rWef6b5e098640: Add upstreamed patch for Okular (authored by ikloecker).
Add upstreamed patch for Okular
Jul 10 2023, 12:11 PM
ikloecker changed the status of T6586: Kleopatra: Automatic suggestion of new name for signed/encrypted archive doesn't respect file name extension from Open to Testing.

With the added MIME types Kleopatra now suggests archive (1).tar.gpg as new file name, at least on Linux. Needs to be checked on Windows.

Jul 10 2023, 11:11 AM · kleopatra, Restricted Project
ikloecker committed rKLEOPATRA5ddb7b2861ff: Add MIME types for signed and encrypted archives (authored by ikloecker).
Add MIME types for signed and encrypted archives
Jul 10 2023, 11:09 AM
ikloecker claimed T6586: Kleopatra: Automatic suggestion of new name for signed/encrypted archive doesn't respect file name extension.
Jul 10 2023, 10:47 AM · kleopatra, Restricted Project
ikloecker created T6586: Kleopatra: Automatic suggestion of new name for signed/encrypted archive doesn't respect file name extension.
Jul 10 2023, 10:47 AM · kleopatra, Restricted Project

Jul 8 2023

ikloecker committed rMbe0e653ce303: qt: Fix DLL version in cmake config files (authored by ikloecker).
qt: Fix DLL version in cmake config files
Jul 8 2023, 9:52 PM
ikloecker committed rMe3defc0adf68: qt: Ensure that we check the correct paths (authored by ikloecker).
qt: Ensure that we check the correct paths
Jul 8 2023, 9:52 PM
ikloecker committed rMad34fcbbec3f: qt: Fix check for required files (authored by ikloecker).
qt: Fix check for required files
Jul 8 2023, 9:52 PM

Jul 6 2023

ikloecker added a comment to T6199: Kleopatra: MIME viewer support.

I see little value in viewing emails in Okular. People often want to reply to emails so they need an email client anyway. Or shall Okular get a composer and save the composed email (of course with signing and encryption) to disk so that people can give their reply to their correspondents on a USB stick because that's more secure than using an email server? I suppose it makes sense for spies. ;-)

Jul 6 2023, 5:52 PM · mimetreeparser, Restricted Project, kleopatra
ikloecker added a comment to rKLEOPATRAd523249631de: Change default expiry to three years in Kleo, too.

Thanks! I thought about that when I saw Werner's change in gpg, but would probably have forgotten to actually change it in Kleopatra.

Jul 6 2023, 5:47 PM
ikloecker added a comment to T6532: Kleopatra: X509 import needs to be offline.

Note: The gpgsm engine of GpgME supports the offline flag (which maps to --disable-dirmngr) only for keylist operations. gpgsm_import doesn't even have an engine_flags argument.

Jul 6 2023, 4:10 PM · kleopatra, Restricted Project
ikloecker added a comment to T6584: Kleopatra / Gpgtar: Cancel on encrypt leaves a broken archive behind.

Note that Kleopatra has code that should take care of removing a left-over file. See also T6530#172608.

Jul 6 2023, 2:26 PM · vsd32 (vsd-3.2.0), Restricted Project, kleopatra
ikloecker added a comment to T6530: GPGME / QGpgME Extend Archivejobs to accept input / output from a filename.

I'm wondering why I don't see something like

org.kde.pim.kleopatra: slotResult Removing output file ... after error or cancel

in the debug output. It should be output whenever the signing and/or encryption job ended with a non-zero error code and the output file exists. (See commit on 22 June).

Jul 6 2023, 11:23 AM · gpgme, Restricted Project, kleopatra

Jul 5 2023

ikloecker added a comment to T6199: Kleopatra: MIME viewer support.

Kleopatra should autodetect email messages if passed on the command line or opened via the file dialog. I think Kleopatra should accept any email even if not encrypted. I'm not so sure whether Kleopatra should become an application that offers its service for any email messages if there are proper MIME types for MIME-encrypted or MIME-signed emails.

Jul 5 2023, 9:38 PM · mimetreeparser, Restricted Project, kleopatra
ikloecker added a comment to T6199: Kleopatra: MIME viewer support.

This will still more work to bring back the massive amount of unit tests. I'm also seriously considering to instead of moving this code to libkleo to instead create a new library with this and then have Kleopatra, kalendar, kube use it (and kmail too in the future but that would require a lot more work).

Jul 5 2023, 9:29 PM · mimetreeparser, Restricted Project, kleopatra
ikloecker committed rWa77e5ef6b322: Ignore *.exe and *.wixlib packages (authored by ikloecker).
Ignore *.exe and *.wixlib packages
Jul 5 2023, 5:56 PM
ikloecker changed the status of T6517: Update AppImage and include Okular from Open to Testing.

Ready for testing. I could view a signed PDF and verify the signature with the gpg backend, but other things may not work because of missing dependencies.

Jul 5 2023, 5:51 PM · AppImage, okular, kleopatra, Restricted Project
ikloecker committed rW5c6cd79b6c32: Add Okular to the AppImage (authored by ikloecker).
Add Okular to the AppImage
Jul 5 2023, 5:47 PM
ikloecker added a comment to T5755: Kleopatra: Export secret subkeys.

It turned out that my pinentry reported "fully canceled" on Cancel (see T6491: Pinentry-Qt: Password prompt for each subkey if password change is cancelled) which made gpg output nothing.

Jul 5 2023, 3:49 PM · Restricted Project, Feature Request, kleopatra
ikloecker committed rKLEOPATRAfa6ff398912a: Tell the command that it's finished (authored by ikloecker).
Tell the command that it's finished
Jul 5 2023, 3:09 PM
ikloecker added a comment to T5755: Kleopatra: Export secret subkeys.

gpg --export-secret-subkeys --armor 704769B8D5C15319A27C74BBB47052506607DA6E confirms that gpg 2.4.1-beta21 outputs nothing if the password entry is canceled.

Jul 5 2023, 1:40 PM · Restricted Project, Feature Request, kleopatra
ikloecker changed the status of T5755: Kleopatra: Export secret subkeys from Open to Testing.

Of course, it's about right clicking the encryption subkey. That's what I tested. Anyway, cancel wasn't handled properly. Now it is.

Jul 5 2023, 1:36 PM · Restricted Project, Feature Request, kleopatra
ikloecker added a comment to T6577: KMail: delete all attachments option.

Just a quick caveat: Save all attachments works really bad with complex message structures. If we now offer the option to delete all attachments after saving them this could have desastrous effects, i.e. the user could end up with unusable MIME-parts on their disk. I don't remember when I noticed this. Maybe with attached email messages, maybe with signed/encrypted messages, maybe with a combination of both.

Jul 5 2023, 11:11 AM · Restricted Project
ikloecker added a comment to T6198: KMail: Port to keyresolver from libkleo.

The expiry checker checks for expiry. It doesn't and shouldn't do anything else.

Jul 5 2023, 11:01 AM · libkleo, KMail, Feature Request, KDE
ikloecker committed rKLEOPATRAb82492b44a0c: Handle canceling of secret subkey export (authored by ikloecker).
Handle canceling of secret subkey export
Jul 5 2023, 10:58 AM
ikloecker added a comment to T5755: Kleopatra: Export secret subkeys.

I cannot reproduce the problem with Cancel. When I try this, I get the error "The result of the export is empty." and nothing is written to disk. I'm using GnuPG 2.4.

Jul 5 2023, 10:57 AM · Restricted Project, Feature Request, kleopatra

Jun 30 2023

ikloecker added a comment to T6569: unusable secret key selectable for crypto operations.

I don't think that Kleopatra allows to select an encrypt-only key for signing because I have fixed exactly this issue a couple of months: T6456: Kleopatra: Offers encryption-only OpenPGP keys as signing key.

Jun 30 2023, 6:31 PM · gpgol, kleopatra

Jun 29 2023

ikloecker added a comment to T6567: Kleopatra: gpg-agent does not restart when trying to access smart card.

I think that's a known issue (or a known non-issue). I ran into this some time ago and therefore added the possibility to start gpg-agent explicitly instead of relying on a keylisting to start the agent implicitly. My guess is that gpg doesn't start gpg-agent because if there are no public keys then it makes little sense to ask gpg-agent for private keys.

Jun 29 2023, 4:42 PM · vsd33 (vsd-3.3.0), Restricted Project, kleopatra

Jun 26 2023

ikloecker merged T6560: Kleopatra: Cancel does not kill GnuPG into T6524: Kleopatra / Gpgtar: Cancel does not kill the job.
Jun 26 2023, 12:18 PM · Restricted Project, kleopatra
ikloecker merged task T6560: Kleopatra: Cancel does not kill GnuPG into T6524: Kleopatra / Gpgtar: Cancel does not kill the job.
Jun 26 2023, 12:18 PM · kleopatra
ikloecker changed the status of T6524: Kleopatra / Gpgtar: Cancel does not kill the job from Open to Testing.

Finally, canceling decrypt/verify should also work properly.

Jun 26 2023, 12:16 PM · Restricted Project, kleopatra
ikloecker closed T6558: gpgtar: Does not stop spawned gpg process when exiting as Invalid.

Closing since the problem doesn't seem to occur if the operation is canceled properly.

Jun 26 2023, 12:15 PM · gnupg24, Restricted Project, gpgtar, Bug Report
ikloecker committed rKLEOPATRA20405b699261: Actually cancel the job when the task is canceled (authored by ikloecker).
Actually cancel the job when the task is canceled
Jun 26 2023, 12:13 PM
ikloecker added a comment to T6558: gpgtar: Does not stop spawned gpg process when exiting.

Sorry about that. I tested an old build which didn't call gpgme_cancel_async and therefore probably didn't properly close the channels. It seems to work if gpgme_cancel_async is called to cancel the operation.

Jun 26 2023, 12:03 PM · gnupg24, Restricted Project, gpgtar, Bug Report
ikloecker added a comment to T6558: gpgtar: Does not stop spawned gpg process when exiting.

This option is already used. Running pgrep -a gpg in a loop (and ignoring gpg-agent processes) I get:

Mo 26. Jun 11:29:11 CEST 2023
19111 gpgtar --batch --status-fd 60 --gpg-args --no-tty --gpg-args --charset=utf8 --gpg-args --enable-progress-filter --gpg-args --exit-on-status-write-error --gpg-args --display=:0 --gpg-args --ttyname=/dev/pts/37 --gpg-args --ttytype=xterm-256color --decrypt --directory /tmp/kleopatra-JqIiXu/src -- /home/ingo/dev/g10/src.tar.gpg
19112 gpg --batch --status-fd=60 --output - --decrypt --no-tty --charset=utf8 --enable-progress-filter --exit-on-status-write-error --display=:0 --ttyname=/dev/pts/37 --ttytype=xterm-256color -- /home/ingo/dev/g10/src.tar.gpg
Jun 26 2023, 11:34 AM · gnupg24, Restricted Project, gpgtar, Bug Report
ikloecker changed the status of T6524: Kleopatra / Gpgtar: Cancel does not kill the job from Testing to Open.
Jun 26 2023, 10:00 AM · Restricted Project, kleopatra
ikloecker added a comment to T6560: Kleopatra: Cancel does not kill GnuPG.

Argh:

void DecryptVerifyTask::cancel()
{
Jun 26 2023, 9:57 AM · kleopatra

Jun 23 2023

ikloecker changed the status of T6479: Kleopatra: "change validity" dialog shows unreasonable default for extension, a subtask of T6553: Kleopatra: Expiry date issues and improvements, from Open to Testing.
Jun 23 2023, 5:52 PM · kleopatra
ikloecker changed the status of T6479: Kleopatra: "change validity" dialog shows unreasonable default for extension from Open to Testing.

The proposed new expiration date is now the same as for the generation of new certificates, i.e. today + configured default validity.

Jun 23 2023, 5:52 PM · kleopatra, Restricted Project
ikloecker committed rKLEOPATRA4c1de4fa434f: Propose same expiry as for new certificates when changing validity (authored by ikloecker).
Propose same expiry as for new certificates when changing validity
Jun 23 2023, 5:47 PM