maybe its by u using base64url and the first time not .. normal behavior

On Fri, Jan 29, 2021, 03:13 Jean-Jacques Brucker <
jeanjacquesbruc...@gmail.com> wrote:

>
> 100 % reproducible on my Debian, package version 5.1-2:
>
>
>
> $ echo "dc30a6d79f3b47e310b8b9f5fbadba57" | tee >( xxd  -r -p | base64)
> | tee >(xxd  -r -p | basenc --base64url )
> dc30a6d79f3b47e310b8b9f5fbadba57
> 3DCm1587R+MQuLn1+626Vw==
> 3DCm1587R-MQuLn1-626Vz0Vhw==
>
>
> I first thought I missed something about base64url encoding, after hours
> or digging and digging documentation I tried :
>
> $ echo "dc30a6d79f3b47e310b8b9f5fbadba57" | xxd  -r -p | basenc --base64url
> 3DCm1587R-MQuLn1-626Vw==
>
>
> Those 4 extra characters "z0Vh" are quite disturbing :-/
>
> Then I played more, cf. attachment.
>
>
> $ LANG= bash --version
> GNU bash, version 5.1.4(1)-release (x86_64-pc-linux-gnu)
>
> Cheers,
>
> ---
>
> Jean-Jacques.
>
>

Reply via email to