Re: [PATCH v3 2/2] luks2: Fix decoding of digests and salts with escaped chars

2022-06-05 Thread Glenn Washburn
On Mon, 30 May 2022 18:01:05 +0200 Patrick Steinhardt wrote: > It was reported in the #grub IRC channel on Libera that decryption of > LUKS2 partitions fails with errors about invalid digests and/or salts. > In all of these cases, what failed was decoding the Base64 > representation of these, whe

[PATCH v3 2/2] luks2: Fix decoding of digests and salts with escaped chars

2022-05-30 Thread Patrick Steinhardt
It was reported in the #grub IRC channel on Libera that decryption of LUKS2 partitions fails with errors about invalid digests and/or salts. In all of these cases, what failed was decoding the Base64 representation of these, where the encoded data contained invalid characters. As it turns out, the