Bug 322772

Summary: kmail should treat attached text/plain files named *.asc in signed and/or encrypted mails as mime type application/pgp-keys
Product: [Applications] kmail2 Reporter: Marc Schiffbauer <mschiff>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: CONFIRMED ---    
Severity: wishlist CC: montel, sknauss
Priority: NOR    
Version: 4.11 rc2   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:

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.