-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests: Remove all binary test data files
In light of the recently discovered backdoor in the xz project where a part of the malicious code was distributed in the test files, let's remove all of our test files and generate them at runtime. While our test files are very simple and consist mostly of zeros, someone who is not very familiar with these binary formats would have a harder time examining them and making sure they aren't malicious. With this change, the data structures are now plainly visible in the test code. The files generated at runtime are byte-for-byte identical to the test files being removed. One can verify by comparing the sha512 checksums of the files with the sha512 checksums hardcoded in the new test code. Closes: #265 Signed-off-by: Andrew Gunnerson <[email protected]>
- Loading branch information
1 parent
17162df
commit e22f9f5
Showing
15 changed files
with
621 additions
and
185 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.