-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Description
Current behavior
(I am using Render Line Endings to show the end of lines)
Base64 Text Encoder/Decoder does respect of lines sequences when enconding to base64:
ie: the following is using CRLF:

returns:
dGhpcyBpcyBhIHdpbmRvd3MgbGluZQ0KYW5vdGhlciB3aW5kb3dzIGxpbmUNCg==
But the following: (using LF)

returns also
dGhpcyBpcyBhIHdpbmRvd3MgbGluZQ0KYW5vdGhlciB3aW5kb3dzIGxpbmUNCg==
(it should return dGhpcyBpcyBhIHdpbmRvd3MgbGluZQphbm90aGVyIHdpbmRvd3MgbGluZQ== )
this could lead in situations, especially in devOps as described in openssl/openssl#20054
Also opened a feature request for the user to be able to select which line-ends wants to have: #1534
How to reproduce it (as minimally and precisely as possible)
No response
Expected behavior
The tool should be respecting the end-of-line-sequences
Screenshots
No response
Workaround
no workaround
Affected platforms
Windows
Affected DevToys kind
DevToys (app with GUI)
DevToys Version
Version 2.0-preview.8
Relevant Assets/Logs
No response