[issue42628] binascii doesn't work on some base64

2021-01-29 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Pyth

[issue42628] binascii doesn't work on some base64

2021-01-29 Thread Kent Watsen
Kent Watsen added the comment: I see. There are two issues: 1) my `base64` and `openssl` CLI commands were flipped, as you point out, giving a false positive - oops ;) 2) more importantly, the base64 value "ue==" is invalid (there is no binary input that could possibly generate it) and non

[issue42628] binascii doesn't work on some base64

2021-01-27 Thread Ammar Askar
Ammar Askar added the comment: It seems to me that your commands are just sequenced wrong, in Python you're performing (examples in parens): * base64 (ue==) -> decode to binary (0xB9) * binary (0xB9) -> encode to base64 (uQ==) whereas in your command line commands you're doing: * base64 (ue

[issue42628] binascii doesn't work on some base64

2021-01-23 Thread Kent Watsen
Change by Kent Watsen : -- nosy: -kwatsen2 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue42628] binascii doesn't work on some base64

2021-01-23 Thread Kent Watsen
Kent Watsen added the comment: No activity in 3 weeks. Selecting a couple components to give it a bump. -- components: +C API, Library (Lib) nosy: +kwatsen ___ Python tracker ___

[issue42628] binascii doesn't work on some base64

2020-12-12 Thread Kent Watsen
New submission from Kent Watsen : [Tested on 3.8.2 and 3.9.0, bug may manifest in other versions too] The IETF sometimes uses the dummy base64 value "base64encodedvalue==" in specifications in lieu of a block of otherwise meaningless b64. Even though it is a dummy value, the value should be