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

Unified Diff: extensions/test/data/content_verifier/README

Issue 585583003: Fix case-sensitivity problems in extension content verification (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove old code Created 6 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 side-by-side diff with in-line comments
Download patch
Index: extensions/test/data/content_verifier/README
diff --git a/extensions/test/data/content_verifier/README b/extensions/test/data/content_verifier/README
index 8379a83c6f325fdffc58f7a60284c417ccdce5ba..b9a8bb618f359b14ba9b9bcbc934595f8c1ba4ba 100644
--- a/extensions/test/data/content_verifier/README
+++ b/extensions/test/data/content_verifier/README
@@ -5,6 +5,10 @@ openssl genrsa -out private_key.pem 2048
openssl rsa -in private_key.pem -pubout -out public_key.pem
+The payload.json file contains randomly generated base64url encoded sha256
+hashes for a set of file paths.
+
+
The signature was generated by:
1) Take the contents of payload.json and base64url encode them:
@@ -13,8 +17,8 @@ cat payload.json | tr -d \\n | base64 -w0 | tr / _ | tr + \- | tr -d '=' > paylo
2) Put the contents of payload_encoded.txt into the "payload" field of
verified_contents.json.
-3) Copy the contents of the "protected" field from verified_contents.json into
-protected.txt.
+3) Copy the contents of the "protected" field (the one with {"kid":
+"webstore"}) from verified_contents.json into protected.txt.
4) Concatenate the "protected" and "payload" fields with a '.' separator.
« no previous file with comments | « extensions/browser/verified_contents_unittest.cc ('k') | extensions/test/data/content_verifier/payload.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698