[New-bugs-announce] [issue39131] signing needs two serialisation passes
report at bugs.python.org
Tue Dec 24 10:24:15 EST 2019
New submission from Jasper Spaans <jasper at 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
nosy: barry, jap, r.david.murray
title: signing needs two serialisation passes
versions: Python 3.8
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce