Re: [PATCH 1/2] base64val: Add support to decode base64 safe URL.

2023-03-17 Thread Steffen Nurpmeso
Werner Koch wrote in <87lejvwnvc@wheatstone.g10code.de>: |On Sat, 4 Mar 2023 18:33, Sebastian Andrzej Siewior said: |> In the base64 safe URL dictionary the characters '+' and '/' are |> replaced by '-' and '_'. | |FWIW, using '-' for general base64 encoding would be a bad idea because

Re: [PATCH 1/2] base64val: Add support to decode base64 safe URL.

2023-03-17 Thread Werner Koch
On Sat, 4 Mar 2023 18:33, Sebastian Andrzej Siewior said: > In the base64 safe URL dictionary the characters '+' and '/' are > replaced by '-' and '_'. FWIW, using '-' for general base64 encoding would be a bad idea because it would allow to create those PGP or PEM armor lines ("-BEGIN foo")