New submission from Jasper Spaans <jas...@startmail.com>:
When creating multipart/signed messages, this currently require two serialisation passes: once to extract the flattened contents to be signed, and once to actually serialise the message. The PR this ticket will be linked to contains a new class, MIMEMultipartSigned, which can be instantiated with a signer function that can perform the signing while serialising, reducing this to only once. Besides, this ensures that the signed contents cannot changed between signing and outputting. Patch is against py3.8 ---------- components: email messages: 358849 nosy: barry, jap, r.david.murray priority: normal severity: normal status: open title: signing needs two serialisation passes type: performance versions: Python 3.8 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue39131> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com