Bug 515547 - Signing with OpenPGP keys lists the keys seemingly unordered, making it next to impossible finding the correct key if one has a lot of keys.
Summary: Signing with OpenPGP keys lists the keys seemingly unordered, making it next ...
Status: REPORTED
Alias: None
Product: okular
Classification: Applications
Component: PDF backend (other bugs)
Version First Reported In: 25.12.1
Platform: Arch Linux Linux
: NOR wishlist
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-02-05 13:57 UTC by dreieck
Modified: 2026-02-06 00:25 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dreieck 2026-02-05 13:57:38 UTC
SUMMARY

When I want to digitally sign a document, use OpenPGP keys for this, have a lot of keys (for each email address a different key and a lot of email addresses), I cannot find the key to use since the list presents the key seemingly unordered (ordering seems to be key creation date).

Which makes this functionality practically useless for me.


FEATURE WISH

Be able to sort the OpenPGP keys when using them for signing by email address and other attributes.


STEPS TO REPRODUCE

1. Have a lot of OpenPGP private keys,
2. configure Okular signing backend to use OpenPGP: "Settings" -> "Configure Backends" -> "PDF" -> "Signature Backend: GnuPG (S/MIME)" -> "Allow PGP keys for signatures (Okular extension)",
3. open a document where a digital signature can be added,
4. Do "Tools" -> "Digitally Sign ..."
5. Be presented with a long list of possible identities (OpenPGP keys with their email address) in now useful order.


OBSERVED RESULT

Be presented with a long list of possible identities (OpenPGP keys with their email address) in now useful order.


EXPECTED RESULT

Keys ordered by email address by default, other ordering options (Key ID, real name, creation date) optional.


SOFTWARE/OS VERSIONS

Linux/KDE Plasma: Artix GNU/Linux (rolling release), not using any desktop, starting Okular standalone.
KDE Plasma Version: not using any desktop, starting Okular standalone.
KDE Frameworks Version: 6.22.0
Qt Version: 6.10.2 and built against 6.10.1
Comment 1 dreieck 2026-02-05 13:58:44 UTC
Correcting a typo:

"now useful" should be "no useful".
Comment 2 Sune Vuorela 2026-02-05 19:22:23 UTC
How would you like them sorted?
Comment 3 dreieck 2026-02-06 00:25:45 UTC
(In reply to Sune Vuorela from comment #2)
> How would you like them sorted?

I think different people will find different sorting options usable.

For me, Email address ("ID"), but that would not really work for keys with multiple IDs.

I propose to add an option to select sorting by Fingerprint, email address ("ID"), real name, creation date, expiration date,  
as well as a search field.