| Summary: | No Content-Description or name for opengpg signatures | ||
|---|---|---|---|
| Product: | [Unmaintained] kmail | Reporter: | Chris Gagnon <thinkliberty> |
| Component: | general | Assignee: | kdepim bugs <pim-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | 1.9.5 | ||
| Target Milestone: | --- | ||
| Platform: | Compiled Sources | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | pgp-name.patch | ||
|
Description
Chris Gagnon
2006-12-07 22:48:34 UTC
I can confirm this. I've had a few people (Outlook users, I guess) ask me what the .dat file I attached was. Created attachment 18983 [details]
pgp-name.patch
Patch for kdepim-3.5.5/kmail/messagecomposer.cpp to add a name and content
description of open-gpg signed messages. It's not pretty, but it works.
SVN commit 639771 by winterz:
fix bug "No Content-Description or name for opengpg signatures"
thanks for the patch Chris Gagnon.
BUGS: 138514
M +1 -1 messagecomposer.cpp
--- branches/KDE/3.5/kdepim/kmail/messagecomposer.cpp #639770:639771
@@ -1066,7 +1066,7 @@
static inline const char * nestedContentType( Kleo::CryptoMessageFormat f, bool signing ) {
switch ( f ) {
case Kleo::OpenPGPMIMEFormat:
- return signing ? "application/pgp-signature" : "application/octet-stream" ;
+ return signing ? "application/pgp-signature; name=signature.asc \nContent-Description: This is a digitally signed message part." : "application/octet-stream" ;
case Kleo::SMIMEFormat:
if ( signing )
return "application/pkcs7-signature; name=\"smime.p7s\"";
|