Bug 113192 - [Digital-Signatures][OpenPGP] There's no indication of which key is which
Summary: [Digital-Signatures][OpenPGP] There's no indication of which key is which
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
5.4.0.0.alpha0+
Hardware: All All
: low enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: difficultyMedium, easyHack, skillCpp, topicUI
Depends on:
Blocks: Digital-Signatures
  Show dependency treegraph
 
Reported: 2017-10-17 15:12 UTC by Eike Rathke
Modified: 2023-06-12 11:57 UTC (History)
6 users (show)

See Also:
Crash report or crash signature:


Attachments
look in 7.1+ (34.09 KB, image/png)
2020-09-22 11:46 UTC, Timur
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eike Rathke 2017-10-17 15:12:42 UTC
In the Digital Signatures -> Sign Document | Select Certificate dialog, when several keys are available there's no indication of which key is which. No key ID, no fingerprint, no creation date, no UID. Only when hitting View Certificate... General the creation date is displayed (Valid from), under Details there are SHA1 and MD5 sums not related to key ID or fingerprint.
Comment 1 Heiko Tietze 2020-09-22 09:44:59 UTC Comment hidden (obsolete)
Comment 2 Timur 2020-09-22 11:46:12 UTC
Created attachment 165765 [details]
look in 7.1+

I guess it is.
Comment 3 QA Administrators 2021-03-22 04:19:40 UTC Comment hidden (obsolete)
Comment 4 Eike Rathke 2021-03-22 16:44:42 UTC
Read the comment above :p
(status should had been updated though).
Comment 5 Heiko Tietze 2021-04-07 11:09:49 UTC
You can always get more info per "view certificate". I don't believe the fingerprint is used by anyone but perhaps the issuing date. And we could save space with icons (and tooltips) for the certificate usage.

Easyhack with medium to interesting difficulty.

xmlsecurity/uiconfig/ui/selectcertificatedialog.ui
xmlsecurity/source/dialogs/certificatechooser.cxx
Comment 6 Eike Rathke 2021-04-07 15:33:56 UTC
There's no key ID under View Certificate for OpenPGP keys either, only the first uid (Issued to / Issued by) and Valid from / Valid to for each key.
Furthermore, under Tools -> Options -> User Data, Cryptography, there are no details for the available keys whatsoever.
And fingerprints *are* used to identify keys, at least the so-called long ID (last 16 hex digits) should be displayed along.
Comment 7 Heiko Tietze 2021-04-07 16:56:48 UTC
If you think the fingerprint is widely used as primary identifier we should in fact add it to the main window. Everything else is well suited under the additional info.
Comment 8 Heiko Tietze 2023-06-12 11:57:44 UTC
The certification dialog is a bit clumsy and I wonder if we can get rid of some buttons. The View Certification dialog maybe could be dropped in favor of detailed  information in a children node (the simple list would become a tree).

The Remove function could be done per delete and a context menu, leaving "Sign Document..." which could be renamed "Add signature" and the "Start Cert. Manager" that could be moved out of the dialog into an extra command (not ideal though).

Point is that Digital Signature is actually just View Signatures with the on-top option to add another. Would be nice to simplify the workflow.