Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7)

Side by Side Diff: chrome/test/data/safe_browsing/download_protection/README

Issue 2308403002: Use a new dual-signed binary in safe browsing tests. (Closed)
Patch Set: rebase to position 416899 Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 This directory contains some executable files for testing the SignatureUtil 1 This directory contains some executable files for testing the SignatureUtil
2 implementations. Instructions for regenerating these executables: 2 implementations. Instructions for regenerating these executables:
3 3
4 unsigned.exe: 4 unsigned.exe:
5 5
6 cl /Feunsigned.exe simple_exe.cc 6 cl /Feunsigned.exe simple_exe.cc
7 7
8 signed.exe: 8 signed.exe:
9 9
10 MakeCert -sv test.pvk test.cer (password: "password") 10 MakeCert -sv test.pvk test.cer (password: "password")
11 Cert2SPC test.cer test.spc 11 Cert2SPC test.cer test.spc
12 pvk2pfx -pvk test.pvk test.cer (export the private key with the cert) 12 pvk2pfx -pvk test.pvk test.cer (export the private key with the cert)
13 copy unsigned.exe signed.exe 13 copy unsigned.exe signed.exe
14 signtool sign /f test.pfx /p password signed.exe 14 signtool sign /f test.pfx /p password signed.exe
15 15
16 wow_helper.exe: Signed Google Chrome binary from an official build. 16 disable_outdated_build_detector.exe: Signed Google Chrome binary from an
17 official build.
17 18
18 signed_twice.exe: A copy of signed.exe with a bogus hand-crafted second 19 signed_twice.exe: A copy of signed.exe with a bogus hand-crafted second
19 attribute certificate entry. 20 attribute certificate entry.
20 21
21 The various zipfile*.zip files, used by the SandboxedZipAnalyzerTest, were 22 The various zipfile*.zip files, used by the SandboxedZipAnalyzerTest, were
22 generated with the following commands: 23 generated with the following commands:
23 - zip zipfile_no_binaries.zip simple_exe.cc 24 - zip zipfile_no_binaries.zip simple_exe.cc
24 - zip zipfile_one_unsigned_binary.zip unsigned.exe 25 - zip zipfile_one_unsigned_binary.zip unsigned.exe
25 - zip zipfile_two_binaries_one_signed.zip unsigned.exe signed.exe 26 - zip zipfile_two_binaries_one_signed.zip unsigned.exe signed.exe
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698