From 9b5f56408c82f4e1a6ecb47e58e4d80a0d383627 Mon Sep 17 00:00:00 2001 From: Edvard Rejthar Date: Thu, 4 Jan 2018 17:29:21 +0100 Subject: [PATCH] MIME encoding note MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Since codecs library are seriously changed when iniciating GPG object and concerning issue remains closed I think it's worth noting this workaround. It would save me fifteen hours because it was very difficult to find such a bug – an independent iniciation changing whole Python behaviour. --- README | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README b/README index 503ae32..b611900 100644 --- a/README +++ b/README @@ -80,3 +80,5 @@ Our bugtracker can be found `on Github `__. Public comments and discussions are also welcome on the bugtracker, or as `tweets `__. Patches are always welcome. + +Current implementation breaks MIME encodings of attachement even if you're not directly applying PGP to them. To apply a workaround, see https://github.com/isislovecruft/python-gnupg/issues/49#issuecomment-355327468