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.