Bug 322772 - kmail should treat attached text/plain files named *.asc in signed and/or encrypted mails as mime type application/pgp-keys
Summary: kmail should treat attached text/plain files named *.asc in signed and/or enc...
Status: CONFIRMED
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: 4.11 rc2
Platform: Gentoo Packages Linux
: NOR wishlist
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-24 14:11 UTC by Marc Schiffbauer
Modified: 2014-12-13 00:18 UTC (History)
2 users (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 Marc Schiffbauer 2013-07-24 14:11:18 UTC
I assume that this is not a bug in kmail at all, as attached plaintext keys should be marked as application/pgp-keys instead of text/plain.

But in reality there are Encryption gateways out there which attach peoples pgp-keys as text/plain

However, to increase interoperability and usability it might be good to some more "intelligence":

Would it be complicated to implement if kmail checked the file-extension of an attachement and if the message is signed and/or encryped, and if a text/plain part is detected with a filename like *.asc, then handle that part if it was application/pgp-keys?

That way one could just import the key by klicking on it...

Ideas?

Reproducible: Always
Comment 1 Laurent Montel 2013-07-24 15:20:39 UTC
could you send me in private a email with it ?
I will look at what I can do.
thanks
Comment 2 Marc Schiffbauer 2013-07-24 15:35:53 UTC
Hi Laurent,

done! Thx.