Bug#1141576: /usr/bin/hokey: hokey canonicalize output depends on version of libghc-hashable-dev

Clint Adams clint at debian.org
Tue Jul 7 03:06:17 BST 2026


On Mon, Jul 06, 2026 at 09:15:13PM +0200, Clément Le Goffic wrote:
>Sort on data that depends only on the input instead:
>
> * subkey packets: packet tag, then serialized wire bytes
>   (previously: packet tag, then hash);
> * signature lists: keep the semantic order (creation time, type,
>   issuer) and add the serialized wire bytes as a total tie-breaker,
>   making the ordering deterministic where it previously fell back
>   to input order;
> * user IDs and user attributes: unchanged semantic order, with the
>   same tie-breakers for full determinism.

I have a note from 2019 about comparing issuers being non-deterministic
but I have no idea what I meant by that.  Other than that, sorting by
the packet bytes seems suboptimal to me.

However, it does seem better than the current approach, thanks.



More information about the Pkg-haskell-maintainers mailing list