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/[email protected]>
_______________________________________________
Rpm-maint mailing list
[email protected]
https://lists.rpm.org/mailman/listinfo/rpm-maint