Kleopatra: shorter text for verification with same name .sig file
Testing, NormalPublic

Assigned To
Authored By
ebo
Aug 26 2025, 4:41 PM

Description

Currently, the text shown in the result list widget for a verification with a detached signature file repeats the filename including the path for the verified file as well as the signature file:


i.e. "Verified <filename>%2</filename> with signature in <filename>%3</filename>."
We want to shorten this in case the path and base name of both files are identical to:

"Verified <filename>%2</filename> with signature." or
"Verified <filename>%2</filename> with %1 signatures."

In case name and or paths differ, this does not apply.

Details

Version
Gpg4win-5.0.0-beta357

Event Timeline

ebo triaged this task as Normal priority.Aug 26 2025, 4:41 PM
ebo created this task.
ebo created this object with edit policy "Contributor (Project)".

Still present in gpg4win-5.1.0-beta646 @ win11.

Note: This only happens, if you verify the FILENAME.sig file:

If you verify the FILENAME, the paths are already removed (but not merged into one path as suggested in this ticket):

Another note: this issue conflicts with T8273: Kleopatra: improve first part of decryption/verification message. Should this suggestion be implemented, too, but later?

ebo renamed this task from Draft: Kleopatra: shorter text for verification with same name .sig file to Kleopatra: shorter text for verification with same name .sig file.Tue, Jul 7, 2:02 PM
ebo updated the task description. (Show Details)
ebo added a project: vsd34.
ikloecker changed the task status from Open to Testing.Thu, Jul 9, 3:29 PM
ikloecker claimed this task.
ikloecker moved this task from Backlog to WIP on the gpd5x board.
ikloecker added a subscriber: ikloecker.

Done.

Note: I decided to add "detached" or "embedded" before "signature(s)" to give a hint where the signature(s) come from.

Note 2: In case of an opaquely signed (or clear-signed) file "foo.sig" where no file "foo" exists (until the user clicks the Save button) Kleopatra reports

Verified 'foo' with embedded signature.

This could confuse some people because Kleopatra reports 'foo' although they selected the file 'foo.sig'. This isn't really a dramatic change to before where Kleopatra reported that a file 'foo' was verified with signature(s) in 'foo.sig'.