GNU bug report logs - #66698
I think hex decoding with basenc -d --base16 should be case-insensitive

Previous Next

Package: coreutils;

Reported by: Niels Möller <nisse <at> lysator.liu.se>

Date: Mon, 23 Oct 2023 09:39:02 UTC

Severity: normal

Done: Pádraig Brady <P <at> draigBrady.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Niels Möller <nisse <at> lysator.liu.se>
To: Pádraig Brady <P <at> draigBrady.com>
Cc: 66698-done <at> debbugs.gnu.org
Subject: bug#66698: I think hex decoding with basenc -d --base16 should be case-insensitive
Date: Mon, 23 Oct 2023 14:50:27 +0200
Pádraig Brady <P <at> draigBrady.com> writes:

> Will apply the attached later.
> Marking this as done.

Thanks! It would make some sense to me to also have options
--upper/--lower; on encoding, they would specify case of the output, on
decoding, they would reject the other case (with default being to accept
either). But less important than fixing the default behavior.

> +  basenc --base16 -d no supports lower case hexadecimal characters.
> +  Previously an error was given for lower case hex digits.

s/ no / now /

Regards,
/Niels

-- 
Niels Möller. PGP key CB4962D070D77D7FCB8BA36271D8F1FF368C6677.
Internet email is subject to wholesale government surveillance.




This bug report was last modified 1 year and 211 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.