Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RFE: support base64-encoding for file digests #1517

Open
pmatilai opened this issue Jan 26, 2021 · 2 comments
Open

RFE: support base64-encoding for file digests #1517

pmatilai opened this issue Jan 26, 2021 · 2 comments
Labels
crypto Signatures, keys, hashes and their verification fileformat Matters concerning package (file) format RFE

Comments

@pmatilai
Copy link
Member

pmatilai commented Jan 26, 2021

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.

@pmatilai pmatilai added the RFE label Jan 28, 2021
@DemiMarie
Copy link
Contributor

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

@pmatilai pmatilai added this to Todo in RPM v6 format Mar 5, 2021
@DemiMarie
Copy link
Contributor

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

@pmatilai pmatilai added the fileformat Matters concerning package (file) format label Apr 14, 2022
@pmatilai pmatilai added the crypto Signatures, keys, hashes and their verification label Sep 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
crypto Signatures, keys, hashes and their verification fileformat Matters concerning package (file) format RFE
Projects
Status: Backlog
Status: Todo
RPM v6 format
  
Todo
Development

No branches or pull requests

2 participants