Skip to content
Snippets Groups Projects
Commit 4f3a565f authored by Sungbo Eo's avatar Sungbo Eo
Browse files

tools: zip: make encrypted archives reproducible


Zip always try to generate new encryption header depending on execution
time and process id, which is far from being reproducible. This commit
changes the zip srand() seed to a predictable value to generate
reproducible random bytes for the encryption header. This will compromise
the goal of secure archive encryption, but it would not be a big problem
for our purpose.

Signed-off-by: default avatarSungbo Eo <mans0n@gorani.run>
parent 39d06472
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment