Bug 353627 - better naming for attached PGP keys and merging all attached keys in one file
Summary: better naming for attached PGP keys and merging all attached keys in one file
Status: ASSIGNED
Alias: None
Product: kmail2
Classification: Applications
Component: crypto (show other bugs)
Version: 4.14.7
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-07 01:46 UTC by kolAflash
Modified: 2023-11-23 15:48 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kolAflash 2015-10-07 01:46:34 UTC
Lets give public keys a better naming when attaching them.

If you go to:
New (Message) => Attach => Attach Public Key
or
New (Message) => Attach => Attach My Public Key
it will attach your public key with a name like:

OpenPGP key 0x97EF7410FEC4DF7245A2D3F5C95E8EBD8258F706

or even worse when localized (e.g. German)

OpenPGP-Schlüssel 0x97EF7410FEC4DF7245A2D3F5C95E8EBD8258F706

Those names are far to long, including the whole fingerprint which has no real use in this place.
And they lack a useful filename extension.


This is how Enigmail for Thunderbird names an attached public key:

0x8258F706.asc

And an even better choice could be this, including the primary mail (john@example.com) address of the key.

PGP-Key_john-AT-example.com_0x8258F706.asc

And please don't use localization on the filename. I think that just confuses if you mail to people speaking other languages then your own localization.


Additionally we could consider merging multiple attached keys.
E.g if attaching your own public key and multiple other public keys with Enigmail, you get a maximum of two files attached to the mail.

pgpkeys.asc
0x8258F706.asc

Where "0x8258F706.asc" is your own public key and "pgpkeys.asc" contains all the other public keys. This makes life much more easier when sending someone multiple publics keys he has two import. So he doesn't has to click every key he wants to import.

Reproducible: Always
Comment 1 Laurent Montel 2015-10-07 20:07:11 UTC
indeed localized name is not very useful.
I will investigate your bug report soon.
Comment 2 Denis Kurz 2017-06-23 20:19:57 UTC
This bug has never been confirmed for a Kontact version that is based on KDE Frameworks, except possibly a Technology Preview version 5.0.x. Those versions differ significantly from the old 4.x series. Therefore, I plan to close it in around two or three months. In the meantime, it is set to WAITINGFORINFO to give reporters the opportunity to check if it is still valid. As soon as someone confirms it for a recent version (at least 5.1, ideally even more recent), I'll gladly reopen it.

Please understand that we lack the manpower to triage bugs reported for versions almost two years beyond their end of life.
Comment 3 Denis Kurz 2018-01-31 16:49:58 UTC
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.1 aka 15.12, preferably more recent), please open a new one unless it already exists. Thank you for all your input.
Comment 4 kolAflash 2018-02-23 07:08:35 UTC
Bug is still present exactly as described in:
- KMail-17.04.2/5.5.2 with desktop environment version 5.8.7 on openSUSE-42.3
- KMail-17.12.2/5.7.2 with desktop environment version 5.12.1 on openSUSE-Tumbleweed-Snapshot20180221

Nothing changed about the bug description. So I'm not sure if this should be a new bug.
Comment 5 Bug Janitor Service 2023-11-23 15:48:39 UTC
A possibly relevant merge request was started @ https://invent.kde.org/pim/messagelib/-/merge_requests/157