Re: smtplib & gnupg



To the best of my knowledge, GNUPG acts upon the body of the message.
If you think about it you should realize that the header of the message
cannot be encrypted, as it will be handled by mail servers that have no
knowledge of GNUPG or your encryption keys. I am further emboldened to
make this assertion because the encryption takes place before the
message is sent--that is, before the headers are completely formed.



Brot wrote:
Hello,

at the moment my program sends mail with smtplib. Is there a chance to
sign and/or encode/cipher this mails with GnuPG?
If yes, does anyone have some sample code?

Regards
Bernd



--
Shane Geiger
IT Director
National Council on Economic Education
sgeiger@xxxxxxxx | 402-438-8958 | http://www.ncee.net

Leading the Campaign for Economic and Financial Literacy

.



Relevant Pages

  • Re: Whats the encryptie
    ... switch is overriding it as far as Mixmaster is concerned so the "full ... message" isn't being handed to GnuPG with a To: header in it that matches ... GnuPG is "email aware" in other words, ... and I'm still asked for a passphrase:(The exact same message sent via the ncurses-interface with encryption doesn't ask for a passphrase. ...
    (alt.privacy)
  • Re: XMMS not playing MP3s
    ... You need GnuPG to verify this message ... >>Like the subject header says... ... Whenever I try playing, the ...
    (linux.redhat)
  • Re: [opensuse] Linking problem with g++ [off topic]
    ... Bogdan Cristea wrote: ... and use the header XP_class.h into another file xml_parser.cpp to ... Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org ...
    (SuSE)
  • Re: Line by Line Proof Jack is Chris
    ... You need GnuPG to verify this message ... Sak Wathanasin: ... Ben Shimmin wrote: ... header confirms that it is ...
    (uk.comp.sys.mac)
  • Re: on receiving LEGAL emails from ones OWN lawyer: *NO FORWARD*
    ... You need GnuPG to verify this message ... >> petty as spelling, what are we supposed to do? ... Discuss the weather? ... A `sensitivity' header would just end up going ...
    (comp.mail.mutt)