Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* Re: Gnus/Mailcrypt and MIME charset
       [not found] <20070201170519.CE9C4CA08@sycore.org>
@ 2007-02-02  0:17 ` Alexey Pustyntsev
  0 siblings, 0 replies; 4+ messages in thread
From: Alexey Pustyntsev @ 2007-02-02  0:17 UTC (permalink / raw)
  To: info-gnus-english

Markus Hilper writes:

> using Gnus (gnus-verison "No Gnus v0.6") and Mailcrypt, I always end up
> with a header stating "charset=us-ascii" for encrypted messages. I
> presume, the message is first encrypted and then MIME encoded. This
> causes confusion with some mailreaders of my messages' recipients when
> using non-ASCII-characters.
>
> Is it possible to have the message MIME encoded before encryption? When
> using vm, I do something in the line of
>
> (add-hook 'mc-pre-encryption-hook '(lambda ()
>           (if (not (vm-mail-mode-get-header-contents "MIME-Version:"))
>           (vm-mime-encode-composition))))
>
> What would be the canonical way for Gnus? Maybe I did not search very
> intelligently, but I did not find an answer. Maybe I was putting the
> wrong question?
>
> Thanks for hints!
> Markus

Gnus seems to always convert the charset header of my encrypted
messages to us-ascii, but my recipients that use non-ascii characters
have confirmed that the messages are Ok after decryption.

May be it's worth trying pgg + gpg ?
 
 * Info PGG *
 ,----------------------------------------------------------------------
 | File: pgg,  Node: Overview 
 |
 | PGG is an interface library between Emacs and various tools for secure
 | communication.  Even though Mailcrypt has similar feature, it does not
 | deal with detached PGP messages, normally used in PGP/MIME
 | infrastructure.
 '----------------------------------------------------------------------

-- 
Rgds
Alexey

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Gnus/Mailcrypt and MIME charset
       [not found] ` <mailman.3900.1170391172.2155.info-gnus-english@gnu.org>
@ 2007-02-02 11:14   ` Markus Hilpert
  0 siblings, 0 replies; 4+ messages in thread
From: Markus Hilpert @ 2007-02-02 11:14 UTC (permalink / raw)
  To: info-gnus-english

Ivan Boldyrev <boldyrev+nospam@cgitftp.uiggm.nsc.ru> writes:

> On 9737 day of my life Markus Hilpert wrote:
>> What would be the canonical way for Gnus?
>
> Forget about Mailcrypt, use encryption built into Gnus.  And if you
> encrypt non-ACSII text, use PGP/MIME (this is a name of standard that
> Gnus support) instead plain PGP data.  Depending on recepient's
> software, he may need to install some extantion (Enigmail for
> Thunderbird, for example) for more convenient handling of PGP/MIME.
>
> See (info "(message)Security").
>
> -- 
> Ivan Boldyrev

Hello,

actually, I had tried the mml-functions in order to generate PGP/MIME
conforming messages, but the resulting MIME format was unusable for a
recipient using pine.

Markus

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Gnus/Mailcrypt and MIME charset
  2007-02-01 11:33 Markus Hilpert
@ 2007-02-02  4:20 ` Ivan Boldyrev
       [not found] ` <mailman.3900.1170391172.2155.info-gnus-english@gnu.org>
  1 sibling, 0 replies; 4+ messages in thread
From: Ivan Boldyrev @ 2007-02-02  4:20 UTC (permalink / raw)
  To: info-gnus-english

On 9737 day of my life Markus Hilpert wrote:
> What would be the canonical way for Gnus?

Forget about Mailcrypt, use encryption built into Gnus.  And if you
encrypt non-ACSII text, use PGP/MIME (this is a name of standard that
Gnus support) instead plain PGP data.  Depending on recepient's
software, he may need to install some extantion (Enigmail for
Thunderbird, for example) for more convenient handling of PGP/MIME.

See (info "(message)Security").

-- 
Ivan Boldyrev

                                                  Your bytes are bitten.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Gnus/Mailcrypt and MIME charset
@ 2007-02-01 11:33 Markus Hilpert
  2007-02-02  4:20 ` Ivan Boldyrev
       [not found] ` <mailman.3900.1170391172.2155.info-gnus-english@gnu.org>
  0 siblings, 2 replies; 4+ messages in thread
From: Markus Hilpert @ 2007-02-01 11:33 UTC (permalink / raw)
  To: info-gnus-english

Hello,

using Gnus (gnus-verison "No Gnus v0.6") and Mailcrypt, I always end up
with a header stating "charset=us-ascii" for encrypted messages. I
presume, the message is first encrypted and then MIME encoded. This
causes confusion with some mailreaders of my messages' recipients when
using non-ASCII-characters.

Is it possible to have the message MIME encoded before encryption? When
using vm, I do something in the line of

(add-hook 'mc-pre-encryption-hook '(lambda ()
          (if (not (vm-mail-mode-get-header-contents "MIME-Version:"))
          (vm-mime-encode-composition))))

What would be the canonical way for Gnus? Maybe I did not search very
intelligently, but I did not find an answer. Maybe I was putting the
wrong question?

Thanks for hints!
Markus

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-02-02 11:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20070201170519.CE9C4CA08@sycore.org>
2007-02-02  0:17 ` Gnus/Mailcrypt and MIME charset Alexey Pustyntsev
2007-02-01 11:33 Markus Hilpert
2007-02-02  4:20 ` Ivan Boldyrev
     [not found] ` <mailman.3900.1170391172.2155.info-gnus-english@gnu.org>
2007-02-02 11:14   ` Markus Hilpert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).