hide or rename PGP/MIME signature "attachment"
|Reported by:||LeSpocky||Owned by:||thomasb|
Without encryption plugin Roundcube shows a PGP/MIME signature as attachment. This is questionable from a technical point of view and confusing for users knowing nothing about encryption or working a lot with attachments.
Technically PGP/MIME sets the Content-Type: of a mail to multipart/signed. Unsigned mails with attachment usually have multipart/mixed set. Further: the content type of the signature itself is application/pgp-signature. So it should be easy to detect this. As far as the attachment symbol in the right most column of the mail list is concerned this already seems to be the case, so when looking for mails with attachment you won't find mails which are just signed.
However in mail view the signature is shown as attachment without type and the filename set in the mail which is signature.asc in many cases. With the above knowledge in mind this could be shown without the irrelevant file name but some descriptive name like »PGP signature« instead, minimizing confusion on user side.