[Rpm-maint] [rpm-software-management/rpm] RFE: add SHA3 payload digest (Issue #3642)
Panu Matilainen
notifications at github.com
Fri Jun 6 08:34:33 UTC 2025
pmatilai left a comment (rpm-software-management/rpm#3642)
Sometimes looking at the code is more informative than just churning it in ones head 🤦
As it turns out RPMTAG_PAYLOADDIGEST and RPMTAG_PAYLOADDIGESTALT *are* arrays already. From 91aa0786cf3b2e34de01c586427952de6d0d9b40:
> The digest tag is specified as a string array to leave room for future expansion.
The case I had mind back then was intermediate snapshot digests, but the need for different algorithms is a much more important case.
So as long as the first digest is SHA256, we can add others and it'll remain compatible all the way back to rpm 4.14 where this was initially added. Phew.
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/3642#issuecomment-2948505462
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/issues/3642/2948505462 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20250606/dc3b54e2/attachment.htm>
More information about the Rpm-maint
mailing list