The sound distributed version control system

#714 Make Base32 parsing more lenient by supporting lowercase input

Closed on February 23, 2023
emily on September 14, 2022

Since Base32 doesn’t distinguish between uppercase and lowercase letters, I’ve added support for decoding lowercase Base32. This makes Pijul nicer to use and doesn’t add any ambiguity.

For example, pijul change 3uz65kyc2ylfxrqal7adpxzjhvsosjur44fxkqn2wkbixamalmgac is now treated the same as pijul change 3UZ65KYC2YLFXRQAL7ADPXZJHVSOSJUR44FXKQN2WKBIXAMALMGAC.

Note that this patch doesn’t affect encoding, so all encoded Base32 still uses uppercase letters.

emily added a change on September 14, 2022
Support parsing lowercase base32 by 4CHRPcmUnKRaqFSjkeS8VGLFwmTTd9HLaUoX6yc39s2s,
pmeunier on February 23, 2023

Hi! Sorry it took me a while to review your patch. This is a great idea, thanks for the patch.

pmeunier closed this discussion on February 23, 2023