was tested already by timegrid
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
Advanced Search
Mon, Jan 12
Jan 9 2026
Looks good to me on gpg4win-5.0.0-beta479 @ win11:
I assume, that testing the functionality is the only thing I can do here.
Given that the 2.2 fix has been tested and resolved and we don't have another ticket for 2.6, we can close this one.
Looks good to me on gpg4win-5.0.0-beta479 @ win11
Jan 8 2026
What I did wrong was that I did not include the global trustlist.txt (which is not read by default in Gpg4win) in the user trustlist.
This can be done by putting "include-default" at the beginning of the trustlist.txt in the users GNUPGHOME.
Okay. Confirmed and understood. The problem is that file system watcher doesn't watch the trustdb.gpg file because the file did not yet exist when the watcher was initialized. And during the import we disable the file system watcher so that it doesn't notice the creation of the file and therefore doesn't start watching it.
Looks good to me on gpg4win-5.0.0-beta479 @ win11.
Ebo was also able to reproduce it like this:
this was resolved
Jan 7 2026
In Gpg4win-5.0.0-beta479 the dialog no longer exists. Problem solved ;-)
Gpg4win-5.0.0-beta479: works, no crash any more
I have verified (by looking at QTextEdit's code) that, on paste, QTextEdit splits the text for the internal representation into lines and discards any CR and LF characters.
It turns out that Kleopatra's notepad converts the CR characters of the spoofed file to LF characters when pasting the text so that Kleopatra doesn't really verify the content of the spoofed file but different content. And this results in a bad signature. The confusing bit is that Kleopatra also says "Successfully verified the notepad" and that it shows the claimed-to-be-signed text although the signature is bad which could lead an inattentive user to the assumption that the signature of the displayed text was actually good (because "Successfully verified").
works, with Gpg4win-5.0.0-beta479 on Win11.
Now after hitting "save" a dialog is shown asking under which name the file shall be saved. Saving works with both options.
There is always a warning about bad signature.
I think we are all wrong here. We were tricked by the fact that regardless of the outcome of the signature verification the signed content is shown. That is surprising for a cleartext signature because that one can be viewed anyway. Thus I propose to not update the clipboard unless the signature checks out.
I originally uploaded a wrong copy of the file. Now fixed; the correct checksum is 8d830a2dd7e1e14ecbc47b8cdc61d393e9d3f62c
On Linux, Kleopatra (master) with GnuPG 2.5 (master) shows a BAD signature. It shows the same output as running gpg --verify --output bla.txt in Konsole and pasting the file content (by maybe the copy paste changes some control characters). If I run gpg --verify --output bla.txt <payload.spoofed.asc then bla.txt also contains the same data.
Looks good to me on gpg4win-5.0.0-beta479 @ win11.
Both without and with DeviceInfoWatcher (via configuration as shown in https://dev.gnupg.org/T7045#186162 ):
- Removal of smart card -> smart card is removed in smart card view
- Insertion of smart card + gpg-card -> smart card is added in smart card view
Note that with gnupg 2.2 that file produces a BAD signature error due to internal changes in the armor parsing. You would need to spoof it a bit different with 2.2
I'm not sure, how to reproduce this. On gpg4win-5.0.0-beta479 @ win11 I quit Kleopatra with a smartcard inserted, the process exits with code 0, so it looks fine and I'm setting this to resolved.
Does not work on gpg4win-5.0.0-beta479 @ win11:
- Open encrypted mail and open attachments in outlook + reboot
- All temporary files in "C:\Users\g10\AppData\Local\Microsoft\Windows\INetCache\Content.Outlook\ODXPL3A9" are still present after reboot (files with 002 ending additionally opened)
- Temporary files are still present after opening and closing Kleopatra and Outlook
- Open encrypted attachment in kleopatra/mailviewer (via .eml file) + reboot
- All temporary files in "C:\Users\g10\AppData\Local\Temp\kleopatra.XXXXXX" are still present after reboot (one folder per opened file)
- Temporary files are still present after opening and closing Kleopatra
- Decrypt archive in kleopatra + reboot during the success dialog with the save button
- Temporary folder "C:\Users\g10\AppData\Local\Temp\kleopatra.XXXXXX" with extracted tarball still present after reboot
- Temporary files are still present after opening and closing Kleopatra
Verification results for a few more cases (to help with the correct implementation):
The imported cert was berta`s in this case.
In T8015#210735, @timegrid wrote:In T8015#210727, @ikloecker wrote:Also: What happens if you cancel the ownership question and then change the owner trust of the key on the command line?
after gpg --lsign berta, the status value in kleopatra was updated automatically.
Jan 6 2026
Oh, I just noticed that gpg doesn't say anything about the trust of the key if the key is expired. Compare this to the following output of gpg in case of a not-expired signing key without trusted certifications.
[GNUPG:] NEWSIG
gpg: Signature made Di 06 Jan 2026 16:35:20 CET
gpg: using EDDSA key 98FB8E8F8E5F58FA653E17A6FC9B2EF2C62AC7BE
[GNUPG:] KEY_CONSIDERED 98FB8E8F8E5F58FA653E17A6FC9B2EF2C62AC7BE 0
[GNUPG:] SIG_ID mmuLNgiB0C7AfTaVYpNjZbcVQok 2026-01-06 1767713720
[GNUPG:] GOODSIG FC9B2EF2C62AC7BE t7790-expired
gpg: Good signature from "t7790-expired" [unknown]
[GNUPG:] VALIDSIG 98FB8E8F8E5F58FA653E17A6FC9B2EF2C62AC7BE 2026-01-06 1767713720 0 4 0 22 10 00 98FB8E8F8E5F58FA653E17A6FC9B2EF2C62AC7BE
[GNUPG:] TRUST_UNDEFINED 0 pgp
gpg: WARNING: This key is not certified with a trusted signature!
gpg: There is no indication that the signature belongs to the owner.
98FB8E8F8E5F58FA653E17A6FC9B2EF2C62AC7BEHow I reproduced this:
- Create new test key
- Detached-sign some text with the new test key
- Change trust of test key to "unknown"
- Expire the test key (e.g. with gpg --quick-set-expire FPR seconds=1)
Other observations:
- after removing the smartcard reader again it's still not reproducible
- after win restart it's not always reproducible
- best chances to reproduce by killing all gpg related processes and deleting gnupghome and Gpg4Win folders first, then import
after attaching a smartcard reader with a smartcard, i can't reproduce this issue anymore
In T8015#210727, @ikloecker wrote:Also: What happens if you cancel the ownership question and then change the owner trust of the key on the command line?
Interesting. I also wasn't able to reproduce this anymore, although I even created a new VM to make sure this is reproducible in a clean setup (and it was reproducible every time).
After restart of windows, it is reproducible again. This is the debugview output for an import without status update:
Looks good to me on gpg4win-5.0.0-beta479 @ win11.
I cannot reproduce this on Linux. Here I see that the file system watcher notices that trustdb.gpg was changed and triggers a keylisting.
Also: What happens if you cancel the ownership question and then change the owner trust of the key on the command line?
Please attach the log output of Kleopatra
Done
- progress/busy indicator shown (probably also read, but loading was too fast, so it skipped the text)
alt+m Manage Smart Cards - Kleopatra window Loading smart cards... tab control OpenPGP - 0005 00009D58 tab Alt+ O
Fixed.
Backported for VSD 3.4
The option
[Export] AllowPublicKeyUpload=true
has been added. If this option is disabled (i.e. set to false) then Kleopatra only allows the upload of OpenPGP keys for which the user has the secret key.
Jan 5 2026
Backported for VSD 3.4
Fixed everywhere where we export some certificate or public/secret (sub)key. Additionally, to space characters we also replace /, \, and : everywhere in the (proposed) file names now.
Fixed and backported for VSD 3.4
What does gpgsm -k --with-colons print for Werner's QES key? The usage / capabilities should contain s (for signing) and q (for qualified signing). If q is missing then something isn't set up correctly.
Jan 2 2026
The issue is resolved in gpg4win-5.0.0-beta479 @ win11:
- no error for opening .eml files
- no error for starting kleopatra while running (also not started twice anymore)
No it is not related to T4030 because that has not yet been implemented. I am just upload a beta479 which should fix problem as wel as other similar problems.
this also happens, when kleopatra is started while already running. kleopatra is started twice then.
maybe related: T4030: GpgEX: Use process calls instead of UIServer protocol
Dec 23 2025
I've created a global trustlist.txt at C:\ProgramData\GNU\etc\gnupg with an entry for the RootCA for Werners QES key with the qual keyword. (The local config would not work, according to the man page.)
Adding a new column to the layout is now remembered.
The with of the newly added column (Key-ID, all others are shown by default) is not set to the width of the content. But I think that is ok, one can increase the width manually and that is then remembered.
works in Gpg4win-5.0.0-beta476
Ok, only 2 confirmations after the one above any more (for a standard key), they look like this:
Ok, my fault, I missed that in the beginning there was logging in the background which consumed gpg's error message.



