Re: [webauthn] Refine JSON serialization to use UTF-8 encoding for `user.id` and `userHandle` (#2013)

The 16 octets map to 18 sextets: 16 for the first 12 octets (`USE R2M L8P 7C0`), and then 2 sextets for the final 2 octets (`8R`). But two sextets are only 12 bits, and so the final 4 bits of the last octet (`R`) are unused, and should be padded with zeros. However, `R` in the base64 alphabet R represents  0b010001, so there's a 1-bit in the padding.

-- 
GitHub Notification of comment by kreichgauer
Please view or discuss this issue at https://github.com/w3c/webauthn/issues/2013#issuecomment-1885463982 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 10 January 2024 19:07:34 UTC