Quoting Curtis Newton (2016-07-12 10:39:48)
> Hello,
> - as I receive the email I created in python, the signature is a
> separated file, but as I try to decrypt or verify the signature, the
> decryptor says "no data" although encrypted attachements are correctly
> decryptable
> - first I encrytped the whole mail, but decrypted it did not show
> correctly in outlook, so I encrypt some attachements, is it not
> possible to encrypt the whole mail ?
> can someone enlight me on this ?
> thanks
Could you provide a bit more context on what you're trying to achieve?
My reading is that you're trying to programmatically encrypt and sign an
email to yourself, then decrypt & verify it in outlook, but it's not
entirely clear to me.
I don't know what PGP integration without outlook looks like, can you
give us a bit more information about your mail client's setup?
Also, it's rather difficult to inspect your code the way it's
beenincluded in this email; somewhere between writing the code and
getting to my inbox something has mangled the formatting. Would be
easier to read if you paste-binned it or sent it as an attachment.
Finally, I wrote most of a library for doing this stuff a while
back; iirc I never got around to getting verification working and there
were some API changes I wanted to make, but it may be useful as a
starting point:
https://github.com/zenhack/python-gpgmime
-Ian