!lymvtcwDJ7ZA9Npq:lix.systems

Lix Development

402 Members
(Technical) development of Lix, the package manager, a Nix implementation. Please be mindful of ongoing technical conversations in this channel.135 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
14 Oct 2025
@raitobezarius:matrix.orgraitobezarius Do you have a clear example of case where {from,to}NixBase32 would not roundtrip? 16:06:32
@raitobezarius:matrix.orgraitobezarius It's already known that Nix flavor of base32 is a bit special, but I cannot remember of seeing there was unambiguous cases. If anything, Nix always accepted $BASE32 + any char for a while (and probably still do). 16:07:06
@emilazy:matrix.orgemily frankly the hash formats are all very weird and I am not sure if it is really better to have their format details exposed to userspace rather than just treating them as opaque but interconvertible blogs 16:07:17
@raitobezarius:matrix.orgraitobezariusIt never honored any form of strict implementation of RFC464816:07:22
@emilazy:matrix.orgemilye.g. proliferation of Base32 use doesn't seem like a great thing16:07:32
@emilazy:matrix.orgemilyI believe there are cases where appending (or prepending?) a NUL byte will not change the result16:07:40
@emilazy:matrix.orgemilybecause of padding16:07:45
@emilazy:matrix.orgemilyand therefore decoding must fail to round-trip on one of them16:07:56
@emilazy:matrix.orgemilyI recall running into this when factoring out the Base32 functions16:08:03
@emilazy:matrix.orgemily Base32 lacks anything like Base64's = 16:08:46
@raitobezarius:matrix.orgraitobezariusThere are, but it only cause problem for strict implementations outside of CppNix/Lix16:09:48

Show newer messages


Back to Room ListRoom Version: 10