diff options
author | Sungbo Eo <mans0n@gorani.run> | 2022-02-12 17:01:31 +0900 |
---|---|---|
committer | Sungbo Eo <mans0n@gorani.run> | 2022-03-09 15:38:23 +0900 |
commit | 4f3a565f5d23724cc46d9a32d76ad18425fe6e2d (patch) | |
tree | 2c79c334e3e1490d75e51bda2ac4bc8758e7c1b2 /tools/automake | |
parent | 39d06472eb93d72940b2728d33e2dafa2676e47b (diff) | |
download | upstream-4f3a565f5d23724cc46d9a32d76ad18425fe6e2d.tar.gz upstream-4f3a565f5d23724cc46d9a32d76ad18425fe6e2d.tar.bz2 upstream-4f3a565f5d23724cc46d9a32d76ad18425fe6e2d.zip |
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: Sungbo Eo <mans0n@gorani.run>
Diffstat (limited to 'tools/automake')
0 files changed, 0 insertions, 0 deletions