Page MenuHome GnuPG
Feed Advanced Search

Nov 15 2023

aheinecke added a comment to T6789: MSI: Update does not seem to be able to kill gpg-agent anymore.

b) Is explained by the following documentation from: https://wixtoolset.org/docs/v3/howtos/updates/major_upgrade/

Nov 15 2023, 1:32 PM · vsd32 (vsd-3.2.0), Restricted Project, gpgagent, gpg4win
aheinecke added a comment to T6789: MSI: Update does not seem to be able to kill gpg-agent anymore.

a) So with my current test upgrading from one beta to another it actually looks in the manifest and if you look there the beta230 of gnupg:

Nov 15 2023, 1:24 PM · vsd32 (vsd-3.2.0), Restricted Project, gpgagent, gpg4win
aheinecke added a comment to T6789: MSI: Update does not seem to be able to kill gpg-agent anymore.

So with verbose logging /l*v inst.log (note the v) I finally saw the issue. My killing code works just fine.

Nov 15 2023, 1:04 PM · vsd32 (vsd-3.2.0), Restricted Project, gpgagent, gpg4win
ebo closed T6754: Kleopatra: wrong success message for changing validity in case of not available card key as Resolved.

tested with VS-Desktop-3.1.90.277-Beta

Nov 15 2023, 12:31 PM · vsd32 (vsd-3.2.0), Restricted Project, kleopatra
aheinecke added a comment to T6344: Kleopatra, GPG: AboutData ctor on Windows takes too long.

The reason for this is that this still uses the libkleo::gpg4win class for the version info, the about data in GpgOLs help dialog should be similarly broken.

Nov 15 2023, 12:30 PM · vsd32 (vsd-3.2.0), kleopatra, Restricted Project
ikloecker changed the status of T6584: Kleopatra / Gpgtar: Cancel on encrypt leaves a broken archive behind from Open to Testing.

Hopefully fixed for good.

Nov 15 2023, 11:59 AM · vsd32 (vsd-3.2.0), Restricted Project, kleopatra
aheinecke moved T4066: Kleopatra, performance: Use icons as a resource from Backlog to QA on the vsd32 board.
Nov 15 2023, 11:46 AM · vsd32 (vsd-3.2.0), gpg4win, kleopatra
aheinecke changed the status of T6344: Kleopatra, GPG: AboutData ctor on Windows takes too long from Testing to Open.

Welcomewidget is broken now: Welcome to Kleopatra: [Kleopatra] instead of showing the version.

Nov 15 2023, 11:17 AM · vsd32 (vsd-3.2.0), kleopatra, Restricted Project
aheinecke changed the status of T6344: Kleopatra, GPG: AboutData ctor on Windows takes too long, a subtask of T6259: Kleopatra: Improve startup performance , from Testing to Open.
Nov 15 2023, 11:17 AM · vsd32 (vsd-3.2.0), gnupg, kleopatra, Restricted Project
aheinecke closed T6277: Kleopatra: Support NetKey v15 as Resolved.

I set the pin on my card, so this still works in kleo :)
When I had not set the pin, pinentry informed me correctly that the pin was not yet set and I got as an error "Nutzungsvorraussetzungen nicht erfüllt" so this works nicely.
With faked system time I was able to sign with a vs-nfd compliant brainpool key.

Nov 15 2023, 10:50 AM · vsd32 (vsd-3.2.0), kleopatra, Restricted Project
ebo moved T6344: Kleopatra, GPG: AboutData ctor on Windows takes too long from Backlog to QA on the vsd32 board.
Nov 15 2023, 10:44 AM · vsd32 (vsd-3.2.0), kleopatra, Restricted Project
ebo moved T6259: Kleopatra: Improve startup performance from Backlog to QA on the vsd32 board.
Nov 15 2023, 10:43 AM · vsd32 (vsd-3.2.0), gnupg, kleopatra, Restricted Project
ebo moved T6277: Kleopatra: Support NetKey v15 from Backlog to QA on the vsd32 board.
Nov 15 2023, 10:41 AM · vsd32 (vsd-3.2.0), kleopatra, Restricted Project
ebo moved T6721: QGpgME: Create archive as .part and rename on successful creation from QA to WiP on the vsd32 board.
Nov 15 2023, 10:36 AM · vsd32 (vsd-3.2.0), Restricted Project, gpgme, kleopatra
ebo moved T6654: gpgsm: p12 passphrase visible in debug output from QA to WiP on the vsd32 board.
Nov 15 2023, 10:36 AM · gnupg24 (gnupg-2.4.4), gnupg22 (gnupg-2.2.42), vsd32 (vsd-3.2.0), S/MIME, Restricted Project
ebo moved T6754: Kleopatra: wrong success message for changing validity in case of not available card key from Backlog to QA on the vsd32 board.
Nov 15 2023, 10:00 AM · vsd32 (vsd-3.2.0), Restricted Project, kleopatra
ebo added a comment to T6277: Kleopatra: Support NetKey v15.

Well, the above mentioned cards are all with expired certificates and I did not use the cards. I could only check if some info about the certificates on the card is displayed in the smart card tab.
Is this is all necessary for the test if Kleopatra "accepts" those cards? That their contends are displayed? In that case you might count the ticket as resolved.
But I'm lacking a representative sample of testcards and don't feel comfortable declaring that all Netkey v15 cards are accepted on such cursory tests.

Nov 15 2023, 9:58 AM · vsd32 (vsd-3.2.0), kleopatra, Restricted Project
aheinecke moved T6480: Kleopatra: Change visibility of advanced options in the certification dialog from Backlog to QA on the vsd32 board.
Nov 15 2023, 9:50 AM · vsd32 (vsd-3.2.0), kleopatra, Restricted Project
aheinecke added a project to T6059: ntbtls: use of shorter hash for ECC: vsd32.

So the last thing to do here would be an NTBTLS release? Then we should make sure not to forget to do that?

Nov 15 2023, 9:46 AM · Feature Request, Restricted Project, ntbtls
aheinecke added a project to T6754: Kleopatra: wrong success message for changing validity in case of not available card key: vsd32.
Nov 15 2023, 9:45 AM · vsd32 (vsd-3.2.0), Restricted Project, kleopatra
aheinecke added a project to T6046: Kleopatra: Make certifying certificates accessible: vsd32.

This would of course all be also in vsd32

Nov 15 2023, 9:44 AM · kleopatra, Restricted Project
aheinecke added a project to T6277: Kleopatra: Support NetKey v15: vsd32.

So if you tested this with the signature cards this can be resolved? My signature card still has the nullpin. I should probably set that to test it myself but if you have one and tested this why not resolved?

Nov 15 2023, 9:43 AM · vsd32 (vsd-3.2.0), kleopatra, Restricted Project
aheinecke added a comment to T4066: Kleopatra, performance: Use icons as a resource.

The whole part with colorschemes and high contrast mode and dark mode I have already tested.

Nov 15 2023, 9:37 AM · vsd32 (vsd-3.2.0), gpg4win, kleopatra
aheinecke changed the status of T4066: Kleopatra, performance: Use icons as a resource, a subtask of T6259: Kleopatra: Improve startup performance , from Open to Testing.
Nov 15 2023, 9:36 AM · vsd32 (vsd-3.2.0), gnupg, kleopatra, Restricted Project
aheinecke changed the status of T4066: Kleopatra, performance: Use icons as a resource from Open to Testing.

For testing I would take procmon, filter for Kleopatra start Kleopatra from an older version. Save the log, take the current beta277 kleopatra and do the same and compare the number of lines in the log.

Nov 15 2023, 9:36 AM · vsd32 (vsd-3.2.0), gpg4win, kleopatra
aheinecke changed the status of T6259: Kleopatra: Improve startup performance from Open to Testing.

Same as with T6344 this is already in beta-277

Nov 15 2023, 9:35 AM · vsd32 (vsd-3.2.0), gnupg, kleopatra, Restricted Project
aheinecke changed the status of T6344: Kleopatra, GPG: AboutData ctor on Windows takes too long from Open to Testing.

This is in vsd32. But I am not sure what to test here. You could take a previous beta and look at the startup timining debug output which says "mainwindow shown" and compare that to beta-277? The mainwindow shown timing debug output is not part of 3.1.26

Nov 15 2023, 9:34 AM · vsd32 (vsd-3.2.0), kleopatra, Restricted Project
aheinecke added a project to T6480: Kleopatra: Change visibility of advanced options in the certification dialog: vsd32.

This is in VSD32-beta277

Nov 15 2023, 9:31 AM · vsd32 (vsd-3.2.0), kleopatra, Restricted Project

Nov 14 2023

ebo closed T6742: Kleopatra: Encryption to group with expired key fails with unexpected message as Resolved.

ok, opened T6819 for the separate button.
The rest is ok, I think. As long as we display keypairs in a single entry, it can not be helped that they may appear valid in the certificate list but are invalid for signing or encryption subkeys.
We display that here correct for the respective contexts.
Therefore closing,

Nov 14 2023, 4:15 PM · vsd32 (vsd-3.2.0), Restricted Project, kleopatra
ebo closed T6788: Kleopatra: Signing with expired signing subkey shouldn't be possible as Resolved.

works as advertised, VS-Desktop-3.1.90.277-Beta

Nov 14 2023, 3:54 PM · vsd32 (vsd-3.2.0), Restricted Project, kleopatra
werner changed the status of T6654: gpgsm: p12 passphrase visible in debug output from Open to Testing.
Nov 14 2023, 3:10 PM · gnupg24 (gnupg-2.4.4), gnupg22 (gnupg-2.2.42), vsd32 (vsd-3.2.0), S/MIME, Restricted Project
werner changed the status of T6654: gpgsm: p12 passphrase visible in debug output from Testing to Open.
Nov 14 2023, 2:38 PM · gnupg24 (gnupg-2.4.4), gnupg22 (gnupg-2.2.42), vsd32 (vsd-3.2.0), S/MIME, Restricted Project
aheinecke updated subscribers of T6654: gpgsm: p12 passphrase visible in debug output.

Sorry @ebo tested this on Windows with 2.2. I myself should have tested it since the test is trivial and only took me about 30 seconds to type. Similar to T6701 this should have never reached the QA stage. I am including myself now that we have someone for QA that I test my own changes less. We need to talk / think about that in our whole team. We developers should test more before sending an issue into QA.

Nov 14 2023, 2:32 PM · gnupg24 (gnupg-2.4.4), gnupg22 (gnupg-2.2.42), vsd32 (vsd-3.2.0), S/MIME, Restricted Project
ikloecker added a comment to T6742: Kleopatra: Encryption to group with expired key fails with unexpected message.

What about the second part of https://dev.gnupg.org/T6742#176528? Should I make a separate a11y ticket for that with low prio?

Nov 14 2023, 2:16 PM · vsd32 (vsd-3.2.0), Restricted Project, kleopatra
ikloecker changed the status of T6575: gpgtar: General Error is emitted instead of more specific error codes from Open to Testing.
Nov 14 2023, 1:54 PM · gpgme (gpgme 1.23.x), vsd32 (vsd-3.2.0), Restricted Project
ikloecker renamed T6575: gpgtar: General Error is emitted instead of more specific error codes from gpgtar: General Error is emitted instead of more specific error codes when only signing to gpgtar: General Error is emitted instead of more specific error codes.
Nov 14 2023, 1:46 PM · gpgme (gpgme 1.23.x), vsd32 (vsd-3.2.0), Restricted Project
aheinecke changed the status of T6701: GpgOL: Use GPGME_ENCRYPT_ALWAYS_TRUST from Open to Testing.

Since I did not have a valid signing cert on that dev keyring I only tested with encrypt,...

Nov 14 2023, 1:37 PM · vsd32 (vsd-3.2.0), vsd, Restricted Project, gpgol
ikloecker moved T6575: gpgtar: General Error is emitted instead of more specific error codes from Backlog to WiP on the vsd32 board.
Nov 14 2023, 1:14 PM · gpgme (gpgme 1.23.x), vsd32 (vsd-3.2.0), Restricted Project
ikloecker moved T6575: gpgtar: General Error is emitted instead of more specific error codes from Backlog to WiP on the gpgme board.
Nov 14 2023, 1:14 PM · gpgme (gpgme 1.23.x), vsd32 (vsd-3.2.0), Restricted Project
ikloecker moved T6575: gpgtar: General Error is emitted instead of more specific error codes from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Nov 14 2023, 1:14 PM · gpgme (gpgme 1.23.x), vsd32 (vsd-3.2.0), Restricted Project
aheinecke added a comment to T6575: gpgtar: General Error is emitted instead of more specific error codes.

As discussed in chat has nothing to do with only signing. Only that signing makes it easier to get errors by cancelling pinentry or entering bad passwords.

Nov 14 2023, 11:28 AM · gpgme (gpgme 1.23.x), vsd32 (vsd-3.2.0), Restricted Project
ebo added a comment to T6742: Kleopatra: Encryption to group with expired key fails with unexpected message.

Works for the reported and important cases, Tested with VS-Desktop-3.1.90.277-Beta

Nov 14 2023, 11:16 AM · vsd32 (vsd-3.2.0), Restricted Project, kleopatra
werner lowered the priority of T6575: gpgtar: General Error is emitted instead of more specific error codes from High to Normal.
Nov 14 2023, 10:39 AM · gpgme (gpgme 1.23.x), vsd32 (vsd-3.2.0), Restricted Project
werner renamed T6575: gpgtar: General Error is emitted instead of more specific error codes from gpgtar: General Error instead of proper error codes to gpgtar: General Error is emitted instead of more specific error codes when only signing.
Nov 14 2023, 10:38 AM · gpgme (gpgme 1.23.x), vsd32 (vsd-3.2.0), Restricted Project
werner added a comment to T6575: gpgtar: General Error is emitted instead of more specific error codes.

You are creating a signed archiv? Why - gpgtar is used for encryption.

Nov 14 2023, 10:32 AM · gpgme (gpgme 1.23.x), vsd32 (vsd-3.2.0), Restricted Project
aheinecke added a comment to T6575: gpgtar: General Error is emitted instead of more specific error codes.

I reprodcued this with a simple: "gpgtar --status-fd 2 --verbose --create --sign -u foo@bar vimfiles > foo.tar.gpg" on the command line. Which gives me the proper status lines but then ends up in kleo with general error.

Nov 14 2023, 10:17 AM · gpgme (gpgme 1.23.x), vsd32 (vsd-3.2.0), Restricted Project
aheinecke reassigned T6575: gpgtar: General Error is emitted instead of more specific error codes from werner to ikloecker.

I tested it some more. Gpgtar reports proper erors like:

Nov 14 2023, 10:16 AM · gpgme (gpgme 1.23.x), vsd32 (vsd-3.2.0), Restricted Project
aheinecke added a comment to T6575: gpgtar: General Error is emitted instead of more specific error codes.

I edited the task description.

Nov 14 2023, 10:08 AM · gpgme (gpgme 1.23.x), vsd32 (vsd-3.2.0), Restricted Project
aheinecke renamed T6575: gpgtar: General Error is emitted instead of more specific error codes from Kleopatra: general error displayed instead of timeout error for directories to gpgtar: General Error instead of proper error codes.
Nov 14 2023, 10:08 AM · gpgme (gpgme 1.23.x), vsd32 (vsd-3.2.0), Restricted Project
aheinecke added a comment to T6575: gpgtar: General Error is emitted instead of more specific error codes.

Ok maybe because of the task description with timeout. But for a Cancel to report "General Error" that is unacceptable.

Nov 14 2023, 10:05 AM · gpgme (gpgme 1.23.x), vsd32 (vsd-3.2.0), Restricted Project
aheinecke raised the priority of T6575: gpgtar: General Error is emitted instead of more specific error codes from Low to High.

The same happens when the pinentry is canceled, i.e. General Error is reported although in this case the dialog should simply be closed (because the user canceled the operation).

Nov 14 2023, 10:04 AM · gpgme (gpgme 1.23.x), vsd32 (vsd-3.2.0), Restricted Project
ikloecker added a comment to T6584: Kleopatra / Gpgtar: Cancel on encrypt leaves a broken archive behind.

Some observations on Linux:

  • If I cancel sign&encrypt archive while the encryption is still running then Kleopatra removes the .part file. I didn't see a running gpgtar or gpg process after I canceled.
  • If I cancel sign&encrypt archive by canceling the pinentry (asking for the password of the signing key) then the gpgtar and gpg processes keep running for a short time and Kleopatra still shows the progress. Eventually Kleopatra shows an error (General Error) instead of simply closing the window (-> T6575: gpgtar: General Error is emitted instead of more specific error codes). In this case Kleopatra didn't (have to) remove the .part file because it was already gone.
Nov 14 2023, 9:30 AM · vsd32 (vsd-3.2.0), Restricted Project, kleopatra
werner placed T6802: Trying to sign with a brainpool X509 key results in non-compliance error up for grabs.
Nov 14 2023, 9:26 AM · gnupg24 (gnupg-2.4.4), gnupg22 (gnupg-2.2.42), Bug Report
aheinecke moved T6789: MSI: Update does not seem to be able to kill gpg-agent anymore from Backlog to WiP on the vsd32 board.
Nov 14 2023, 8:29 AM · vsd32 (vsd-3.2.0), Restricted Project, gpgagent, gpg4win
aheinecke added a comment to T6584: Kleopatra / Gpgtar: Cancel on encrypt leaves a broken archive behind.

Then we need to kill it with fire! :) Or maybe some context is still open at the time that keeps the process alive? I could investigate on windows. But on linux it might be easier to just breakpoint kleo right before the delete and do an lsof on the file? even though on linux the deletion would likely succeed.

Nov 14 2023, 8:05 AM · vsd32 (vsd-3.2.0), Restricted Project, kleopatra

Nov 13 2023

ebo moved T6701: GpgOL: Use GPGME_ENCRYPT_ALWAYS_TRUST from vsd-3.2.0 to WiP on the vsd32 board.
Nov 13 2023, 4:35 PM · vsd32 (vsd-3.2.0), vsd, Restricted Project, gpgol
werner moved T6802: Trying to sign with a brainpool X509 key results in non-compliance error from WiP to QA on the gnupg22 board.
Nov 13 2023, 3:50 PM · gnupg24 (gnupg-2.4.4), gnupg22 (gnupg-2.2.42), Bug Report
werner moved T6654: gpgsm: p12 passphrase visible in debug output from WiP to QA on the gnupg22 board.
Nov 13 2023, 3:49 PM · gnupg24 (gnupg-2.4.4), gnupg22 (gnupg-2.2.42), vsd32 (vsd-3.2.0), S/MIME, Restricted Project
ebo closed T6744: Kleopatra and key resolver: Use the blue symbol for non-compliant keys as Resolved.

Ok. With a simple group with one valid and one expired certificate it looks fine:

Nov 13 2023, 3:40 PM · vsd32 (vsd-3.2.0), vsd, Restricted Project, kleopatra
ikloecker added a comment to T6584: Kleopatra / Gpgtar: Cancel on encrypt leaves a broken archive behind.

Exactly. If possible. Kleopatra tries, but it's not able to remove the file. Because some process in the background keeps it open.

Nov 13 2023, 3:17 PM · vsd32 (vsd-3.2.0), Restricted Project, kleopatra
ebo changed the status of T6584: Kleopatra / Gpgtar: Cancel on encrypt leaves a broken archive behind from Testing to Open.
Nov 13 2023, 3:14 PM · vsd32 (vsd-3.2.0), Restricted Project, kleopatra
aheinecke added a comment to T6584: Kleopatra / Gpgtar: Cancel on encrypt leaves a broken archive behind.

We now use a temporary .part files when creating the archive. On success, they are renamed. Otherwise, they are removed (if possible).

Nov 13 2023, 2:07 PM · vsd32 (vsd-3.2.0), Restricted Project, kleopatra
ebo added a comment to T6584: Kleopatra / Gpgtar: Cancel on encrypt leaves a broken archive behind.

With VS-Desktop-3.1.90.277-Beta the temporary file ends with .part now and is renamed properly when the job ends successfully.
But it is not removed when the job is aborted.

Nov 13 2023, 1:55 PM · vsd32 (vsd-3.2.0), Restricted Project, kleopatra
ebo closed T6701: GpgOL: Use GPGME_ENCRYPT_ALWAYS_TRUST as Resolved.

works better than I expected. With VS-Desktop-3.1.90.277-Beta now there is no delay any more, neither after nor before the new message window

Nov 13 2023, 1:33 PM · vsd32 (vsd-3.2.0), vsd, Restricted Project, gpgol
aheinecke added a comment to T6793: Cleanup temporary files / dirs with decrypted content.

My Idea is now that we will will write the file, Then open it natively with CreateFile https://learn.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-createfilea (With FILE_SHARE_READ | FILE_SHARE_DELETE) then store the Handle. Call QDesktopServices::openURL on it. And if we are closed we call DeleteFile on all our open Handles.

Nov 13 2023, 12:58 PM · vsd32 (vsd-3.2.0), Restricted Project, kleopatra
ebo closed T6805: GpgOL: RSA 2048 Key generated in VSD as Resolved.

Ok closing, remaining issue is in T6813

Nov 13 2023, 12:27 PM · gpgme, vsd32 (vsd-3.2.0), gpgol, Restricted Project
aheinecke assigned T6566: GpgOL: newly generated key not loaded in the security confirmation dialog to ikloecker.

This can be also reproduced easily on Linux with test_keyresolver from libkleo:

Nov 13 2023, 12:18 PM · vsd32 (vsd-3.2.0), gpgol, Restricted Project
aheinecke added a comment to T6805: GpgOL: RSA 2048 Key generated in VSD.

After reading the initial description of this, I think that might even be a yet a different bug. For which we then would not yet have a ticket. :)

Nov 13 2023, 12:11 PM · gpgme, vsd32 (vsd-3.2.0), gpgol, Restricted Project
aheinecke added a comment to T6805: GpgOL: RSA 2048 Key generated in VSD.

The issue for that is: https://dev.gnupg.org/T6566 so I think this can be resolved here?

Nov 13 2023, 12:09 PM · gpgme, vsd32 (vsd-3.2.0), gpgol, Restricted Project
aheinecke added a comment to T6805: GpgOL: RSA 2048 Key generated in VSD.

No it is just not properly selected after generation but it is there. I think there might even be an issue for that already. But definitely not something related to vsd 3.2

Nov 13 2023, 11:55 AM · gpgme, vsd32 (vsd-3.2.0), gpgol, Restricted Project
ebo added a comment to T6805: GpgOL: RSA 2048 Key generated in VSD.

With VS-Desktop-3.1.90.277-Beta the generated key is the default RSA 3072.

Nov 13 2023, 11:49 AM · gpgme, vsd32 (vsd-3.2.0), gpgol, Restricted Project
aheinecke moved T6654: gpgsm: p12 passphrase visible in debug output from WiP to QA on the vsd32 board.

Yes it is in the gnupg beta235 which is part of vsd-beta 277

Nov 13 2023, 11:45 AM · gnupg24 (gnupg-2.4.4), gnupg22 (gnupg-2.2.42), vsd32 (vsd-3.2.0), S/MIME, Restricted Project
aheinecke added a comment to T6793: Cleanup temporary files / dirs with decrypted content.

I don't see how it removes the file immediately. Only on job->error(), or am I missing something? It also leaves write permission so that is something that I would not do.

Nov 13 2023, 10:58 AM · vsd32 (vsd-3.2.0), Restricted Project, kleopatra
CarlSchwan added a comment to T6793: Cleanup temporary files / dirs with decrypted content.

Btw. what does KMail do? It remove them afaik when you close the message.

Nov 13 2023, 10:30 AM · vsd32 (vsd-3.2.0), Restricted Project, kleopatra
aheinecke added a comment to T6654: gpgsm: p12 passphrase visible in debug output.

Need to check if this is in the beta or not before moving it to the QA board.

Nov 13 2023, 10:15 AM · gnupg24 (gnupg-2.4.4), gnupg22 (gnupg-2.2.42), vsd32 (vsd-3.2.0), S/MIME, Restricted Project
aheinecke moved T6654: gpgsm: p12 passphrase visible in debug output from QA to WiP on the vsd32 board.
Nov 13 2023, 10:13 AM · gnupg24 (gnupg-2.4.4), gnupg22 (gnupg-2.2.42), vsd32 (vsd-3.2.0), S/MIME, Restricted Project
aheinecke moved T6654: gpgsm: p12 passphrase visible in debug output from Backlog to QA on the vsd32 board.
Nov 13 2023, 10:09 AM · gnupg24 (gnupg-2.4.4), gnupg22 (gnupg-2.2.42), vsd32 (vsd-3.2.0), S/MIME, Restricted Project
aheinecke added a project to T6654: gpgsm: p12 passphrase visible in debug output: vsd32.
Nov 13 2023, 10:08 AM · gnupg24 (gnupg-2.4.4), gnupg22 (gnupg-2.2.42), vsd32 (vsd-3.2.0), S/MIME, Restricted Project
aheinecke raised the priority of T6793: Cleanup temporary files / dirs with decrypted content from Normal to High.

Yeah we should fix that before a release. Otherwise we might get disgruntled customers that will notice that their VS-NfD files are lying around unencrypted. First step IMO should be to make the files write protected. And then CloseFile on them when the viewer window closes. Btw. what does KMail do? It remove them afaik when you close the message.

Nov 13 2023, 9:53 AM · vsd32 (vsd-3.2.0), Restricted Project, kleopatra
aheinecke changed the status of T6701: GpgOL: Use GPGME_ENCRYPT_ALWAYS_TRUST from Open to Testing.
Nov 13 2023, 9:12 AM · vsd32 (vsd-3.2.0), vsd, Restricted Project, gpgol
aheinecke moved T6805: GpgOL: RSA 2048 Key generated in VSD from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Nov 13 2023, 9:12 AM · gpgme, vsd32 (vsd-3.2.0), gpgol, Restricted Project

Nov 12 2023

aheinecke added a comment to T6789: MSI: Update does not seem to be able to kill gpg-agent anymore.

Ok closeapplication will not work because:

Nov 12 2023, 3:24 PM · vsd32 (vsd-3.2.0), Restricted Project, gpgagent, gpg4win

Nov 10 2023

aheinecke added a comment to T6789: MSI: Update does not seem to be able to kill gpg-agent anymore.

Note to self.

Nov 10 2023, 8:19 PM · vsd32 (vsd-3.2.0), Restricted Project, gpgagent, gpg4win
aheinecke raised the priority of T6800: Kleopatra Mailviewer: S/MIME decryption / verification leaves gpgsm server processes hanging around from Normal to High.

@CarlSchwan I think this one should be fairly easy to fix and I would really like to see it gone before the release, so I am tagging it for the release and raising the prio.

Nov 10 2023, 7:43 PM · vsd32 (vsd-3.2.0), Restricted Project, kleopatra
aheinecke added a project to T6789: MSI: Update does not seem to be able to kill gpg-agent anymore: vsd32.

So some research led me to believe that using taskkill from MSI is not uncommon. But most stackoverflow solutions did not work for me. I have one solution that works, though but that opens a terminal window for each process we try to kill. I don't want to use wscript to avoid that, since an installer that executes visual basic is IMO even more evil then an installer that executes taskkill. Both are not really the MSI way, but while we could fix our processes without a WindowMessage loop to die nicely this will not work for an upgrade to vsd32.

Nov 10 2023, 7:09 PM · vsd32 (vsd-3.2.0), Restricted Project, gpgagent, gpg4win
aheinecke moved T6584: Kleopatra / Gpgtar: Cancel on encrypt leaves a broken archive behind from WiP to QA on the vsd32 board.
Nov 10 2023, 7:02 PM · vsd32 (vsd-3.2.0), Restricted Project, kleopatra
aheinecke moved T6721: QGpgME: Create archive as .part and rename on successful creation from WiP to QA on the vsd32 board.
Nov 10 2023, 7:02 PM · vsd32 (vsd-3.2.0), Restricted Project, gpgme, kleopatra
aheinecke moved T6742: Kleopatra: Encryption to group with expired key fails with unexpected message from Backlog to QA on the vsd32 board.
Nov 10 2023, 7:02 PM · vsd32 (vsd-3.2.0), Restricted Project, kleopatra
aheinecke moved T6788: Kleopatra: Signing with expired signing subkey shouldn't be possible from Backlog to QA on the vsd32 board.
Nov 10 2023, 7:02 PM · vsd32 (vsd-3.2.0), Restricted Project, kleopatra
aheinecke moved T6805: GpgOL: RSA 2048 Key generated in VSD from WiP to QA on the vsd32 board.
Nov 10 2023, 7:02 PM · gpgme, vsd32 (vsd-3.2.0), gpgol, Restricted Project
aheinecke added a comment to T6701: GpgOL: Use GPGME_ENCRYPT_ALWAYS_TRUST.

That it takes so long the first time is to be expected since we are hitting the dirmngr timeouts. I wonder though why it would be much faster in 3.1.26, if anything i would have expected that the timeouts are now shorter.

Nov 10 2023, 6:04 PM · vsd32 (vsd-3.2.0), vsd, Restricted Project, gpgol
aheinecke added a project to T6788: Kleopatra: Signing with expired signing subkey shouldn't be possible: vsd32.

Since this is a bugfix and it was related to 6742 with some commits having overlap i decided to also pick this for the 32 release branch.

Nov 10 2023, 5:07 PM · vsd32 (vsd-3.2.0), Restricted Project, kleopatra
aheinecke added a project to T6742: Kleopatra: Encryption to group with expired key fails with unexpected message: vsd32.

Discussed this with ebo. This is a bugfix that should be in the release even though it is multiple changes I will cherry pick them over to the release branches.

Nov 10 2023, 4:21 PM · vsd32 (vsd-3.2.0), Restricted Project, kleopatra
ebo added a comment to T6701: GpgOL: Use GPGME_ENCRYPT_ALWAYS_TRUST.

When testing with the viktor-gnupg testcertificate I get the new warning message instead of the not very helpful "no name" error in 3.1.26.
But it takes at least 30 seconds to get to that message (the error message in 3.1.26 came up much faster). And when acknowledging the warning it again takes almost as long as before until the message is sent. And in 2 out of 3 tries the Compose Window remained open, so that it looked like the message was not send. Clicking again on Send did not make anything happen, though. And checking the mailbox showed that the mail was sent already.

Nov 10 2023, 3:12 PM · vsd32 (vsd-3.2.0), vsd, Restricted Project, gpgol
werner moved T6805: GpgOL: RSA 2048 Key generated in VSD from Backlog to WiP on the vsd32 board.

That sounds very good.

Nov 10 2023, 2:31 PM · gpgme, vsd32 (vsd-3.2.0), gpgol, Restricted Project
ikloecker changed the status of T6805: GpgOL: RSA 2048 Key generated in VSD from Open to Testing.

We are now generating a key with whatever defaults gpg uses.

Nov 10 2023, 2:28 PM · gpgme, vsd32 (vsd-3.2.0), gpgol, Restricted Project
aheinecke moved T6701: GpgOL: Use GPGME_ENCRYPT_ALWAYS_TRUST from Backlog to QA on the vsd32 board.
Nov 10 2023, 1:55 PM · vsd32 (vsd-3.2.0), vsd, Restricted Project, gpgol
aheinecke added a comment to T6701: GpgOL: Use GPGME_ENCRYPT_ALWAYS_TRUST.

We discussed this at length again. I would not veto a change that would allow users to encrypt to expired S/MIME certificates but the main use case I had in mind here was with regards to "Some error" happening when encrypting ( like T6545 T6398 ) . So that in the keyresolver everything is green but you cannot encrypt. Or that you have an incomplete certificate chain or an untrusted root certificate and it will take your administration some weeks to mark that as trusted. That makes this feature a bit hard to test so ebo mostly tested with expired certificates. (And I know that technically you can't verify if a cert is expired or not if you have an incomplete chain). A better test will be with a fully valid cert that has an unreachable CRL distribution point. I have such a cert and will give it to ebo. So she can test again and if that works as intended -> Key resolver green -> Error -> Allow to encrypt anyway but not vs-nfd compliant. I think we can set this issue to resolved.
The whole question regarding expired / non expired is a different topic on which, as I said, I changed my mind. You can easily explain to users "You cannot encrypt to expired certificates" but you cannot easily explain "you cannot encrypt to support@greenbone.com because they have unsupported cert extensions in their certitifcate"

Nov 10 2023, 12:00 PM · vsd32 (vsd-3.2.0), vsd, Restricted Project, gpgol
ebo moved T6584: Kleopatra / Gpgtar: Cancel on encrypt leaves a broken archive behind from QA to WiP on the vsd32 board.
Nov 10 2023, 11:11 AM · vsd32 (vsd-3.2.0), Restricted Project, kleopatra
ebo moved T6584: Kleopatra / Gpgtar: Cancel on encrypt leaves a broken archive behind from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Nov 10 2023, 11:11 AM · vsd32 (vsd-3.2.0), Restricted Project, kleopatra