[issue43086] Excess data in not handled properly in binascii.a2b_base64()

2021-07-19 Thread Idan Moral
Change by Idan Moral : -- pull_requests: +25796 pull_request: https://github.com/python/cpython/pull/27249 ___ Python tracker ___ __

[issue43086] Excess data in not handled properly in binascii.a2b_base64()

2021-07-18 Thread Gregory P. Smith
Gregory P. Smith added the comment: I've merged Idan's PR adding a strict_mode parameter to a2b_base64. It defaults to False for backwards compatibility. >From a security perspective, it'd be _ideal_ if this were True. But I expect >doing that would break a bunch of existing code and tests

[issue43086] Excess data in not handled properly in binascii.a2b_base64()

2021-07-18 Thread Gregory P. Smith
Gregory P. Smith added the comment: New changeset 35b98e38b6edd63153fc8e092f94cb20725dacc1 by Idan Moral in branch 'main': bpo-43086: Add handling for out-of-spec data in a2b_base64 (GH-24402) https://github.com/python/cpython/commit/35b98e38b6edd63153fc8e092f94cb20725dacc1 --

[issue43086] Excess data in not handled properly in binascii.a2b_base64()

2021-03-13 Thread Gregory P. Smith
Change by Gregory P. Smith : -- assignee: -> gregory.p.smith nosy: +gregory.p.smith ___ Python tracker ___ ___ Python-bugs-list mai

[issue43086] Excess data in not handled properly in binascii.a2b_base64()

2021-01-31 Thread Eric V. Smith
Change by Eric V. Smith : -- nosy: +eric.smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue43086] Excess data in not handled properly in binascii.a2b_base64()

2021-01-31 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch nosy: +python-dev nosy_count: 1.0 -> 2.0 pull_requests: +23216 stage: -> patch review pull_request: https://github.com/python/cpython/pull/24402 ___ Python tracker _

[issue43086] Excess data in not handled properly in binascii.a2b_base64()

2021-01-31 Thread Idan Moral
New submission from Idan Moral : Currently, when providing binascii.a2b_base64() base-64 input with excess data after the padding ('='/'=='), the excess data is ignored. Example: import binascii binascii.a2b_base64(b'aGVsbG8=') # b'hello' (valid) binascii.a2b_base64(b'aGVsbG8==') #