Public bug reported:

Working task:
echo -n -e "\x3c\xf4\xc6\x86\x8f\x79" | base64url | base64url -d |xxd -p -c 100
3cf4c6868f79

Non-working task:
echo -n -e "\x3c\xf4\xc6\x86\x8f\x80" | base64url | base64url -d |xxd -p -c 100
base64url: invalid input


Fixed in upstream:
2019-08-03  Milan Kupcevic
       * base64.c: Properly decode base64url encoded strings.

Fixed in Debian (bullseye)
basez (1.6-4) sid; urgency=medium
  * Properly decode base64url encoded strings (closes: #931041)
 -- Milan Kupcevic  Sun, 04 Aug 2019 00:53:50 -0400

** Affects: basez (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1862515

Title:
  base64url can't decode own coded strings

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/basez/+bug/1862515/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to