rpm-software-management / rpm

The RPM package manager
http://rpm.org
Other
501 stars 361 forks source link

RFE: support base64-encoding for file digests #1517

Open pmatilai opened 3 years ago

pmatilai commented 3 years ago

File digests are (one of) the largest space wasters in the headers, the used hex encoding is very inefficient. Rpm will need to produce and support the hex format for a long long time, but we could add support for using the more efficient base64 encoding for file digests now and just change default as part of the eventual rpm v6 format.

DemiMarie commented 3 years ago

Another option, which would be even more efficient, would be to use a packed binary array. @pmatilai thoughts?

DemiMarie commented 3 years ago

File signatures are even larger and even less efficient, BTW.