bug 1357815 - 4/4: go a bit overboard on testcases for SHA-256 support in add-on signatures r?jcj draft
authorDavid Keeler <dkeeler@mozilla.com>
Fri, 27 Oct 2017 11:20:33 -0700
changeset 689672 978d419fe840806ccdba7bb833cf8f6421faae24
parent 689671 0ce20c460403e496d0672ccc7702365519b9df46
child 738374 24b7b924aa8773df6f993b8d47df2aba156be86d
push id87085
push userbmo:dkeeler@mozilla.com
push dateTue, 31 Oct 2017 21:34:47 +0000
reviewersjcj
bugs1357815
milestone58.0a1
bug 1357815 - 4/4: go a bit overboard on testcases for SHA-256 support in add-on signatures r?jcj MozReview-Commit-ID: K4WYTYPXpi1
security/apps/AppSignatureVerification.cpp
security/manager/ssl/tests/unit/head_psm.js
security/manager/ssl/tests/unit/test_nss_shutdown.js
security/manager/ssl/tests/unit/test_signed_apps.js
security/manager/ssl/tests/unit/test_signed_apps/app_mf-1-256_sf-1-256_p7-1-256.zip
security/manager/ssl/tests/unit/test_signed_apps/app_mf-1-256_sf-1-256_p7-1.zip
security/manager/ssl/tests/unit/test_signed_apps/app_mf-1-256_sf-1-256_p7-256.zip
security/manager/ssl/tests/unit/test_signed_apps/app_mf-1-256_sf-1_p7-1-256.zip
security/manager/ssl/tests/unit/test_signed_apps/app_mf-1-256_sf-1_p7-1.zip
security/manager/ssl/tests/unit/test_signed_apps/app_mf-1-256_sf-1_p7-256.zip
security/manager/ssl/tests/unit/test_signed_apps/app_mf-1-256_sf-256_p7-1-256.zip
security/manager/ssl/tests/unit/test_signed_apps/app_mf-1-256_sf-256_p7-1.zip
security/manager/ssl/tests/unit/test_signed_apps/app_mf-1-256_sf-256_p7-256.zip
security/manager/ssl/tests/unit/test_signed_apps/app_mf-1_sf-1-256_p7-1-256.zip
security/manager/ssl/tests/unit/test_signed_apps/app_mf-1_sf-1-256_p7-1.zip
security/manager/ssl/tests/unit/test_signed_apps/app_mf-1_sf-1-256_p7-256.zip
security/manager/ssl/tests/unit/test_signed_apps/app_mf-1_sf-1_p7-1-256.zip
security/manager/ssl/tests/unit/test_signed_apps/app_mf-1_sf-1_p7-1.zip
security/manager/ssl/tests/unit/test_signed_apps/app_mf-1_sf-1_p7-256.zip
security/manager/ssl/tests/unit/test_signed_apps/app_mf-1_sf-256_p7-1-256.zip
security/manager/ssl/tests/unit/test_signed_apps/app_mf-1_sf-256_p7-1.zip
security/manager/ssl/tests/unit/test_signed_apps/app_mf-1_sf-256_p7-256.zip
security/manager/ssl/tests/unit/test_signed_apps/app_mf-256_sf-1-256_p7-1-256.zip
security/manager/ssl/tests/unit/test_signed_apps/app_mf-256_sf-1-256_p7-1.zip
security/manager/ssl/tests/unit/test_signed_apps/app_mf-256_sf-1-256_p7-256.zip
security/manager/ssl/tests/unit/test_signed_apps/app_mf-256_sf-1_p7-1-256.zip
security/manager/ssl/tests/unit/test_signed_apps/app_mf-256_sf-1_p7-1.zip
security/manager/ssl/tests/unit/test_signed_apps/app_mf-256_sf-1_p7-256.zip
security/manager/ssl/tests/unit/test_signed_apps/app_mf-256_sf-256_p7-1-256.zip
security/manager/ssl/tests/unit/test_signed_apps/app_mf-256_sf-256_p7-1.zip
security/manager/ssl/tests/unit/test_signed_apps/app_mf-256_sf-256_p7-256.zip
security/manager/ssl/tests/unit/test_signed_apps/empty_signerInfos.zip
security/manager/ssl/tests/unit/test_signed_apps/moz.build
security/manager/ssl/tests/unit/test_signed_apps/sha1_and_sha256_manifest_sha1_signature_file.zip
security/manager/ssl/tests/unit/test_signed_apps/sha1_and_sha256_manifest_sha256_signature_file.zip
security/manager/ssl/tests/unit/test_signed_apps/sha1_manifest_sha1_and_sha256_signature_file.zip
security/manager/ssl/tests/unit/test_signed_apps/sha256_manifest_sha1_and_sha256_signature_file.zip
security/manager/ssl/tests/unit/test_signed_apps/signed_app.zip
security/manager/ssl/tests/unit/test_signed_apps/signed_app_sha1_and_sha256.zip
security/manager/ssl/tests/unit/test_signed_apps/signed_app_sha256.zip
security/manager/ssl/tests/unit/test_signed_apps/signed_app_sha256_manifest.zip
security/manager/ssl/tests/unit/test_signed_apps/signed_app_sha256_signature_file.zip
security/manager/ssl/tests/unit/test_signed_apps/unknown_issuer_app.zip
security/manager/ssl/tests/unit/test_signed_apps/unsigned_app.zip
--- a/security/apps/AppSignatureVerification.cpp
+++ b/security/apps/AppSignatureVerification.cpp
@@ -808,17 +808,17 @@ VerifySignature(AppTrustedRoot trustedRo
     return NS_ERROR_INVALID_ARG;
   }
 
   UniqueNSSCMSMessage
     cmsMsg(NSS_CMSMessage_CreateFromDER(const_cast<SECItem*>(&buffer), nullptr,
                                         nullptr, nullptr, nullptr, nullptr,
                                         nullptr));
   if (!cmsMsg) {
-    return NS_ERROR_CMS_VERIFY_ERROR_PROCESSING;
+    return NS_ERROR_CMS_VERIFY_NOT_SIGNED;
   }
 
   if (!NSS_CMSMessage_IsSigned(cmsMsg.get())) {
     return NS_ERROR_CMS_VERIFY_NOT_SIGNED;
   }
 
   NSSCMSContentInfo* cinfo = NSS_CMSMessage_ContentLevel(cmsMsg.get(), 0);
   if (!cinfo) {
--- a/security/manager/ssl/tests/unit/head_psm.js
+++ b/security/manager/ssl/tests/unit/head_psm.js
@@ -45,16 +45,17 @@ const SEC_ERROR_BAD_SIGNATURE           
 const SEC_ERROR_EXPIRED_CERTIFICATE                     = SEC_ERROR_BASE + 11;
 const SEC_ERROR_REVOKED_CERTIFICATE                     = SEC_ERROR_BASE + 12;
 const SEC_ERROR_UNKNOWN_ISSUER                          = SEC_ERROR_BASE + 13;
 const SEC_ERROR_UNTRUSTED_ISSUER                        = SEC_ERROR_BASE + 20;
 const SEC_ERROR_UNTRUSTED_CERT                          = SEC_ERROR_BASE + 21;
 const SEC_ERROR_EXPIRED_ISSUER_CERTIFICATE              = SEC_ERROR_BASE + 30;
 const SEC_ERROR_CA_CERT_INVALID                         = SEC_ERROR_BASE + 36;
 const SEC_ERROR_UNKNOWN_CRITICAL_EXTENSION              = SEC_ERROR_BASE + 41;
+const SEC_ERROR_PKCS7_BAD_SIGNATURE                     = SEC_ERROR_BASE + 47;
 const SEC_ERROR_INADEQUATE_KEY_USAGE                    = SEC_ERROR_BASE + 90;
 const SEC_ERROR_INADEQUATE_CERT_TYPE                    = SEC_ERROR_BASE + 91;
 const SEC_ERROR_CERT_NOT_IN_NAME_SPACE                  = SEC_ERROR_BASE + 112;
 const SEC_ERROR_CERT_BAD_ACCESS_LOCATION                = SEC_ERROR_BASE + 117;
 const SEC_ERROR_OCSP_MALFORMED_REQUEST                  = SEC_ERROR_BASE + 120;
 const SEC_ERROR_OCSP_SERVER_ERROR                       = SEC_ERROR_BASE + 121;
 const SEC_ERROR_OCSP_TRY_SERVER_LATER                   = SEC_ERROR_BASE + 122;
 const SEC_ERROR_OCSP_REQUEST_NEEDS_SIG                  = SEC_ERROR_BASE + 123;
--- a/security/manager/ssl/tests/unit/test_nss_shutdown.js
+++ b/security/manager/ssl/tests/unit/test_nss_shutdown.js
@@ -1,17 +1,17 @@
 /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 "use strict";
 
 // This test attempts to ensure that PSM doesn't deadlock or crash when shutting
 // down NSS while a background thread is attempting to use NSS.
-// Uses test_signed_apps/signed_app.zip from test_signed_apps.js.
+// Uses test_signed_apps/app_mf-1_sf-1_p7-1.zip from test_signed_apps.js.
 
 function startAsyncNSSOperation(certdb, appFile) {
   return new Promise((resolve, reject) => {
     certdb.openSignedAppFileAsync(Ci.nsIX509CertDB.AppXPCShellRoot, appFile,
       function(rv, aZipReader, aSignerCert) {
         // rv will either indicate success (if NSS hasn't been shut down yet) or
         // it will be some error code that varies depending on when NSS got shut
         // down. As such, there's nothing really to check here. Just resolve the
@@ -23,17 +23,17 @@ function startAsyncNSSOperation(certdb, 
 
 add_task(async function() {
   do_get_profile();
   let psm = Cc["@mozilla.org/psm;1"]
               .getService(Ci.nsISupports)
               .QueryInterface(Ci.nsIObserver);
   let certdb = Cc["@mozilla.org/security/x509certdb;1"]
                  .getService(Ci.nsIX509CertDB);
-  let appFile = do_get_file("test_signed_apps/signed_app.zip");
+  let appFile = do_get_file("test_signed_apps/app_mf-1_sf-1_p7-1.zip");
 
   let promises = [];
   for (let i = 0; i < 25; i++) {
     promises.push(startAsyncNSSOperation(certdb, appFile));
   }
   // Trick PSM into thinking it should shut down NSS. If this test doesn't
   // hang or crash, we're good.
   psm.observe(null, "profile-before-change", null);
--- a/security/manager/ssl/tests/unit/test_signed_apps.js
+++ b/security/manager/ssl/tests/unit/test_signed_apps.js
@@ -1,32 +1,23 @@
 "use strict";
-/* To regenerate the certificates and apps for this test:
-
-        cd security/manager/ssl/tests/unit/test_signed_apps
-        PATH=$NSS/bin:$NSS/lib:$PATH ./generate.sh
-        cd ../../../../../..
-        make -C $OBJDIR/security/manager/ssl/tests
 
-   $NSS is the path to NSS binaries and libraries built for the host platform.
-   If you get error messages about "CertUtil" on Windows, then it means that
-   the Windows CertUtil.exe is ahead of the NSS certutil.exe in $PATH.
+// Tests the API nsIX509CertDB.openSignedAppFileAsync, which backs add-on
+// signature verification. Testcases include various ways of tampering with
+// add-ons as well as different hash algorithms used in the various
+// signature/metadata files.
 
-   Check in the generated files. These steps are not done as part of the build
-   because we do not want to add a build-time dependency on the OpenSSL or NSS
-   tools or libraries built for the host platform.
-*/
-
-// XXX from prio.h
+// from prio.h
 const PR_RDWR        = 0x04;
 const PR_CREATE_FILE = 0x08;
 const PR_TRUNCATE    = 0x20;
 
 do_get_profile(); // must be called before getting nsIX509CertDB
-const certdb = Cc["@mozilla.org/security/x509certdb;1"].getService(Ci.nsIX509CertDB);
+const certdb = Cc["@mozilla.org/security/x509certdb;1"]
+                 .getService(Ci.nsIX509CertDB);
 
 // Creates a new app package based in the inFilePath package, with a set of
 // modifications (including possibly deletions) applied to the existing entries,
 // and/or a set of new entries to be included.
 function tamper(inFilePath, outFilePath, modifications, newEntries) {
   let writer = Cc["@mozilla.org/zipwriter;1"].createInstance(Ci.nsIZipWriter);
   writer.open(outFilePath, PR_RDWR | PR_CREATE_FILE | PR_TRUNCATE);
   try {
@@ -129,83 +120,88 @@ function check_open_result(name, expecte
 function original_app_path(test_name) {
   return do_get_file("test_signed_apps/" + test_name + ".zip", false);
 }
 
 function tampered_app_path(test_name) {
   return FileUtils.getFile("TmpD", ["test_signed_app-" + test_name + ".zip"]);
 }
 
-add_test(function () {
-  certdb.openSignedAppFileAsync(
-    Ci.nsIX509CertDB.AppXPCShellRoot, original_app_path("signed_app"),
-    check_open_result("valid", Cr.NS_OK));
-});
-
-add_test(function () {
-  certdb.openSignedAppFileAsync(
-    Ci.nsIX509CertDB.AppXPCShellRoot, original_app_path("signed_app_sha256"),
-    check_open_result("valid with sha256 everywhere", Cr.NS_OK));
-});
+var hashTestcases = [
+  // SHA-256 in PKCS#7 + SHA-256 present elsewhere => OK
+  { name: "app_mf-1-256_sf-1-256_p7-1-256",
+    expectedResult: Cr.NS_OK },
+  { name: "app_mf-1-256_sf-1-256_p7-256",
+    expectedResult: Cr.NS_OK },
+  { name: "app_mf-1-256_sf-256_p7-1-256",
+    expectedResult: Cr.NS_OK },
+  { name: "app_mf-1-256_sf-256_p7-256",
+    expectedResult: Cr.NS_OK },
+  { name: "app_mf-256_sf-1-256_p7-1-256",
+    expectedResult: Cr.NS_OK },
+  { name: "app_mf-256_sf-1-256_p7-256",
+    expectedResult: Cr.NS_OK },
+  { name: "app_mf-256_sf-256_p7-1-256",
+    expectedResult: Cr.NS_OK },
+  { name: "app_mf-256_sf-256_p7-256",
+    expectedResult: Cr.NS_OK },
 
-add_test(function () {
-  certdb.openSignedAppFileAsync(
-    Ci.nsIX509CertDB.AppXPCShellRoot,
-    original_app_path("signed_app_sha1_and_sha256"),
-    check_open_result("valid with sha1 and sha256 hashes everywhere",
-                      Cr.NS_OK));
-});
-
-add_test(function () {
-  certdb.openSignedAppFileAsync(
-    Ci.nsIX509CertDB.AppXPCShellRoot,
-    original_app_path("signed_app_sha256_manifest"),
-    check_open_result("sha256 hashes in manifest, but only a sha1 hash in the signature file",
-                      Cr.NS_ERROR_SIGNED_JAR_MANIFEST_INVALID));
-});
+  // SHA-1 in PKCS#7 + SHA-1 present elsewhere => OK
+  { name: "app_mf-1-256_sf-1-256_p7-1",
+    expectedResult: Cr.NS_OK },
+  { name: "app_mf-1-256_sf-1_p7-1",
+    expectedResult: Cr.NS_OK },
+  { name: "app_mf-1_sf-1-256_p7-1",
+    expectedResult: Cr.NS_OK },
+  { name: "app_mf-1_sf-1_p7-1",
+    expectedResult: Cr.NS_OK },
 
-add_test(function () {
-  certdb.openSignedAppFileAsync(
-    Ci.nsIX509CertDB.AppXPCShellRoot,
-    original_app_path("signed_app_sha256_signature_file"),
-    check_open_result("sha256 hash in the signature file, but only sha1 hashes in the manifest",
-                      Cr.NS_ERROR_SIGNED_JAR_MANIFEST_INVALID));
-});
-
-add_test(function () {
-  certdb.openSignedAppFileAsync(
-    Ci.nsIX509CertDB.AppXPCShellRoot,
-    original_app_path("sha1_and_sha256_manifest_sha1_signature_file"),
-    check_open_result("sha1 and sha256 hashes in the manifest, but only sha1 hash in the signature file",
-                      Cr.NS_OK));
-});
+  // SHA-256 in PKCS#7 + SHA-256 not present elsewhere => INVALID
+  { name: "app_mf-1-256_sf-1_p7-1-256",
+    expectedResult: Cr.NS_ERROR_SIGNED_JAR_MANIFEST_INVALID },
+  { name: "app_mf-1-256_sf-1_p7-256",
+    expectedResult: Cr.NS_ERROR_SIGNED_JAR_MANIFEST_INVALID },
+  { name: "app_mf-1_sf-1-256_p7-1-256",
+    expectedResult: Cr.NS_ERROR_SIGNED_JAR_MANIFEST_INVALID },
+  { name: "app_mf-1_sf-1-256_p7-256",
+    expectedResult: Cr.NS_ERROR_SIGNED_JAR_MANIFEST_INVALID },
+  { name: "app_mf-1_sf-1_p7-1-256",
+    expectedResult: Cr.NS_ERROR_SIGNED_JAR_MANIFEST_INVALID },
+  { name: "app_mf-1_sf-1_p7-256",
+    expectedResult: Cr.NS_ERROR_SIGNED_JAR_MANIFEST_INVALID },
+  { name: "app_mf-1_sf-256_p7-1-256",
+    expectedResult: Cr.NS_ERROR_SIGNED_JAR_MANIFEST_INVALID },
+  { name: "app_mf-1_sf-256_p7-256",
+    expectedResult: Cr.NS_ERROR_SIGNED_JAR_MANIFEST_INVALID },
+  { name: "app_mf-256_sf-1_p7-1-256",
+    expectedResult: Cr.NS_ERROR_SIGNED_JAR_MANIFEST_INVALID },
+  { name: "app_mf-256_sf-1_p7-256",
+    expectedResult: Cr.NS_ERROR_SIGNED_JAR_MANIFEST_INVALID },
 
-add_test(function () {
-  certdb.openSignedAppFileAsync(
-    Ci.nsIX509CertDB.AppXPCShellRoot,
-    original_app_path("sha1_and_sha256_manifest_sha256_signature_file"),
-    check_open_result("sha1 and sha256 hashes in the manifest, but only sha256 hash in the signature file",
-                      Cr.NS_ERROR_SIGNED_JAR_MANIFEST_INVALID));
-});
+  // SHA-1 in PKCS#7 + SHA-1 not present elsewhere => INVALID
+  { name: "app_mf-1-256_sf-256_p7-1",
+    expectedResult: Cr.NS_ERROR_SIGNED_JAR_MANIFEST_INVALID },
+  { name: "app_mf-1_sf-256_p7-1",
+    expectedResult: Cr.NS_ERROR_SIGNED_JAR_MANIFEST_INVALID },
+  { name: "app_mf-256_sf-1-256_p7-1",
+    expectedResult: Cr.NS_ERROR_SIGNED_JAR_MANIFEST_INVALID },
+  { name: "app_mf-256_sf-1_p7-1",
+    expectedResult: Cr.NS_ERROR_SIGNED_JAR_MANIFEST_INVALID },
+  { name: "app_mf-256_sf-256_p7-1",
+    expectedResult: Cr.NS_ERROR_SIGNED_JAR_MANIFEST_INVALID },
+];
 
-add_test(function () {
-  certdb.openSignedAppFileAsync(
-    Ci.nsIX509CertDB.AppXPCShellRoot,
-    original_app_path("sha1_manifest_sha1_and_sha256_signature_file"),
-    check_open_result("only sha1 in the manifest, sha1 and sha256 hashes in the signature file",
-                      Cr.NS_OK));
-});
-
-add_test(function () {
-  certdb.openSignedAppFileAsync(
-    Ci.nsIX509CertDB.AppXPCShellRoot,
-    original_app_path("sha256_manifest_sha1_and_sha256_signature_file"),
-    check_open_result("only sha256 in the manifest, sha1 and sha256 hashes in the signature file",
-                      Cr.NS_ERROR_SIGNED_JAR_MANIFEST_INVALID));
-});
+for (let testcase of hashTestcases) {
+  add_test(function () {
+    certdb.openSignedAppFileAsync(
+      Ci.nsIX509CertDB.AppXPCShellRoot,
+      original_app_path(testcase.name),
+      check_open_result(testcase.name, testcase.expectedResult));
+  });
+}
 
 add_test(function () {
   certdb.openSignedAppFileAsync(
     Ci.nsIX509CertDB.AppXPCShellRoot,
     original_app_path("empty_signerInfos"),
     check_open_result("the signerInfos in the PKCS#7 signature is empty",
                       Cr.NS_ERROR_CMS_VERIFY_NOT_SIGNED));
 });
@@ -221,75 +217,111 @@ add_test(function () {
     Ci.nsIX509CertDB.AppXPCShellRoot, original_app_path("unknown_issuer_app"),
     check_open_result("unknown_issuer",
                       getXPCOMStatusFromNSS(SEC_ERROR_UNKNOWN_ISSUER)));
 });
 
 // Sanity check to ensure a no-op tampering gives a valid result
 add_test(function () {
   let tampered = tampered_app_path("identity_tampering");
-  tamper(original_app_path("signed_app"), tampered, { }, []);
+  tamper(original_app_path("app_mf-1_sf-1_p7-1"), tampered, { }, []);
   certdb.openSignedAppFileAsync(
-    Ci.nsIX509CertDB.AppXPCShellRoot, original_app_path("signed_app"),
+    Ci.nsIX509CertDB.AppXPCShellRoot, original_app_path("app_mf-1_sf-1_p7-1"),
     check_open_result("identity_tampering", Cr.NS_OK));
 });
 
 add_test(function () {
   let tampered = tampered_app_path("missing_rsa");
-  tamper(original_app_path("signed_app"), tampered, { "META-INF/A.RSA": removeEntry }, []);
+  tamper(original_app_path("app_mf-1_sf-1_p7-1"), tampered,
+         { "META-INF/A.RSA": removeEntry }, []);
   certdb.openSignedAppFileAsync(
     Ci.nsIX509CertDB.AppXPCShellRoot, tampered,
     check_open_result("missing_rsa", Cr.NS_ERROR_SIGNED_JAR_NOT_SIGNED));
 });
 
 add_test(function () {
   let tampered = tampered_app_path("missing_sf");
-  tamper(original_app_path("signed_app"), tampered, { "META-INF/A.SF": removeEntry }, []);
+  tamper(original_app_path("app_mf-1_sf-1_p7-1"), tampered,
+         { "META-INF/A.SF": removeEntry }, []);
   certdb.openSignedAppFileAsync(
     Ci.nsIX509CertDB.AppXPCShellRoot, tampered,
     check_open_result("missing_sf", Cr.NS_ERROR_SIGNED_JAR_MANIFEST_INVALID));
 });
 
 add_test(function () {
   let tampered = tampered_app_path("missing_manifest_mf");
-  tamper(original_app_path("signed_app"), tampered, { "META-INF/MANIFEST.MF": removeEntry }, []);
+  tamper(original_app_path("app_mf-1_sf-1_p7-1"), tampered,
+         { "META-INF/MANIFEST.MF": removeEntry }, []);
   certdb.openSignedAppFileAsync(
     Ci.nsIX509CertDB.AppXPCShellRoot, tampered,
     check_open_result("missing_manifest_mf",
                       Cr.NS_ERROR_SIGNED_JAR_MANIFEST_INVALID));
 });
 
 add_test(function () {
   let tampered = tampered_app_path("missing_entry");
-  tamper(original_app_path("signed_app"), tampered, { "manifest.json": removeEntry }, []);
+  tamper(original_app_path("app_mf-1_sf-1_p7-1"), tampered,
+         { "manifest.json": removeEntry }, []);
   certdb.openSignedAppFileAsync(
     Ci.nsIX509CertDB.AppXPCShellRoot, tampered,
     check_open_result("missing_entry", Cr.NS_ERROR_SIGNED_JAR_ENTRY_MISSING));
 });
 
 add_test(function () {
   let tampered = tampered_app_path("truncated_entry");
-  tamper(original_app_path("signed_app"), tampered, { "manifest.json": truncateEntry }, []);
+  tamper(original_app_path("app_mf-1_sf-1_p7-1"), tampered,
+         { "manifest.json": truncateEntry }, []);
+  certdb.openSignedAppFileAsync(
+    Ci.nsIX509CertDB.AppXPCShellRoot, tampered,
+    check_open_result("truncated_entry",
+                      Cr.NS_ERROR_SIGNED_JAR_MODIFIED_ENTRY));
+});
+
+add_test(function () {
+  let tampered = tampered_app_path("truncated_manifestFile");
+  tamper(original_app_path("app_mf-1_sf-1_p7-1"), tampered,
+         { "META-INF/MANIFEST.MF": truncateEntry }, []);
   certdb.openSignedAppFileAsync(
     Ci.nsIX509CertDB.AppXPCShellRoot, tampered,
-    check_open_result("truncated_entry", Cr.NS_ERROR_SIGNED_JAR_MODIFIED_ENTRY));
+    check_open_result("truncated_manifestFile",
+                      Cr.NS_ERROR_SIGNED_JAR_MANIFEST_INVALID));
+});
+
+add_test(function () {
+  let tampered = tampered_app_path("truncated_signatureFile");
+  tamper(original_app_path("app_mf-1_sf-1_p7-1"), tampered,
+         { "META-INF/A.SF": truncateEntry }, []);
+  certdb.openSignedAppFileAsync(
+    Ci.nsIX509CertDB.AppXPCShellRoot, tampered,
+    check_open_result("truncated_signatureFile",
+                      getXPCOMStatusFromNSS(SEC_ERROR_PKCS7_BAD_SIGNATURE)));
+});
+
+add_test(function () {
+  let tampered = tampered_app_path("truncated_pkcs7File");
+  tamper(original_app_path("app_mf-1_sf-1_p7-1"), tampered,
+         { "META-INF/A.RSA": truncateEntry }, []);
+  certdb.openSignedAppFileAsync(
+    Ci.nsIX509CertDB.AppXPCShellRoot, tampered,
+    check_open_result("truncated_pkcs7File",
+                      Cr.NS_ERROR_CMS_VERIFY_NOT_SIGNED));
 });
 
 add_test(function () {
   let tampered = tampered_app_path("unsigned_entry");
-  tamper(original_app_path("signed_app"), tampered, {},
+  tamper(original_app_path("app_mf-1_sf-1_p7-1"), tampered, {},
     [ { "name": "unsigned.txt", "content": "unsigned content!" } ]);
   certdb.openSignedAppFileAsync(
     Ci.nsIX509CertDB.AppXPCShellRoot, tampered,
     check_open_result("unsigned_entry", Cr.NS_ERROR_SIGNED_JAR_UNSIGNED_ENTRY));
 });
 
 add_test(function () {
   let tampered = tampered_app_path("unsigned_metainf_entry");
-  tamper(original_app_path("signed_app"), tampered, {},
+  tamper(original_app_path("app_mf-1_sf-1_p7-1"), tampered, {},
     [ { name: "META-INF/unsigned.txt", content: "unsigned content!" } ]);
   certdb.openSignedAppFileAsync(
     Ci.nsIX509CertDB.AppXPCShellRoot, tampered,
     check_open_result("unsigned_metainf_entry",
                       Cr.NS_ERROR_SIGNED_JAR_UNSIGNED_ENTRY));
 });
 
 // TODO: tampered MF, tampered SF
rename from security/manager/ssl/tests/unit/test_signed_apps/signed_app_sha1_and_sha256.zip
rename to security/manager/ssl/tests/unit/test_signed_apps/app_mf-1-256_sf-1-256_p7-1-256.zip
new file mode 100644
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..fca1795b80597924709e2463885eb5c9428c21aa
GIT binary patch
literal 3062
zc$^FHW@Zs#0D;9}(cV%q8k_upY!K!J;@rf%%(T?v61}YA{Jd%|1qCITNPJmpQE_H|
zo|2V<kq$^AFEKY2$WaObN-DTkl%(c?rNMFtwMqth26~1{T(w*QC>DS7Fx1fovO$;)
zh=W`mU3^_bGBS%5fT$!RRiP*~F(o%uAuYcM%q;;~lM1s&56!sQO_uCpObiSl%m)-p
zNi0d!&&*9sPt_~POYaQubLZuf;sSZn)59eQNKXS{4v@_@jD?RF7#Qz*x;TbZ%z1lm
zBPWA_z>y8N>tCK1Vr(v47<c>Kr2iir=8U2ti+bb|3Y4n$$q4TOr58_EKbLh*2~DUe
zD4Q$n|4kMK1`r0NAYfv2)b;dp(|6Ph3U)MTV!6u3snzDu_MMlJooPW6%Q2wPAtpvf
zLv903HdbvuW+o|C1_N${BE|(xOkWI|m_8UZG2U9h%*4pVBqBPea@l9@ptbJ~KVbVf
z!zZ{<_xo2QJ&fE2nuh8Is%*@mEX+J|6$Qz~8L2rr3dNb}d8sK1i3J74kbF>-pI>62
zB*AZFU}$P+Xk=jk22o%E3j-qqQ>cJ}mZ64$8pJqxEXF}h1M`c3&QvnsMYx5Lm4Ug5
zk)Hu5&c)Qk$jGp(BXEUFpV&3Wzj@m_*vtfMZG>;WdSdFe<;~ZO@En!ugU3}@Jh&mh
zcjFwk*?CfJpRymVk1Ea1N-5;1S{k+7wf(!yRh2nRb!VOb$YoxzP|%#bTH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signature_file.zip
rename to security/manager/ssl/tests/unit/test_signed_apps/app_mf-1-256_sf-1_p7-1.zip
new file mode 100644
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..c5351d1eeab00c2084d4ff1ae2233e36d5962870
GIT binary patch
literal 3009
zc$^FHW@Zs#0D;9}(cV%q8k_upY!K!J;@rf%%(T?v61}YA{Jd%|1qCITNPJmpQE_H|
zo|2V<kq$^AFEKY2$WaObN-DTkl%(c?rNMFtwMqth26~1{T(w*QC>DS7Fx1fovO$;)
zh=W`mU3^_bGBS%5fT$!RRiP*~F(o%uAuYcM%q;;~lM1s&56!sQO_uCpObiSl%m)-p
zNi0d!&&*9sPt_~POYaQubLZuf;sSZn)59eQNKXS{4v@_@jD?RF7#Qz*x;TbZ%z1lm
zBPWA_z>y8N>tCK1Vr(v47<c>Kr2iir=8U2ti+bb|3Y4n$$q4TOr58_EKbLh*2~DUe
z=$Uov!Ivxy3?K|jLBPc5sO#zHrthd16zpiw#PXDlQ>)FR?K>|cJJW(DmTN$vOH7Q6
zhTI06Y^>UR%uG_O3<lf?MT`rYn7$Y^F?}#-V!XA0nTe5!Nknu`<+9J*L2KU~e!%u|
zhEH&z?)R@qdKkG4G!4}aRN0tAS(tg`DhiT|Gg5PM6pAy`^HNh35(^57A^D&vKflC4
zNrK<Vz|hpt(8$6745GjS76wKJrceO`Ekg|hHHdNYSd4?12Idz5ovCENi*O4gD+6;A
zBR>OBoQtW6k&$6nN8k#VKCx?#fAh9=u$c+i+6do#^~BU`%bTwm;W;YR2al_+cyL30
z@5VW7v-70dK4m{zA61&2l~Tx2wKQtEYx{SZt15Gt>drd<k;}Ybp`bZ=wZdV~C%1R{
z9Lmn&dn?++|FLdurqssEOjg}mj_;NiJmBZ;{hP+Ey+LKtlG>deiIo#JhEK4)WPS9(
z4iEVi=9fF1->Zw=2;H6*wW^M3g1%L?Km(h~8JV2vYo{efZ+|pR=s>CAVxEb2x19R^
zXRWO2WzP3I#rc+JJltHZuauwpcuUvRMA>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<$4g
z(atZ-^u@3<DbgUvvZB!4E7G~3Ff!H4z}u|Q#3ej5u&~r1*U!n#*TlmlH8&$G(<>cr
zCu%bl)o$ZVr#!P#w@mX?cW?cm9525LgV2D=knCXdd<?r?1G2LHqRJ~1EhDrGib{QQ
zD%`c*9G!j2-JMM=B0^1qE%T%N9Sw5A!U922#>gbXjJpp20}YG}=sf~-t>~?Igw{%U
zn;u;cdQ%;t=LAN>9bGSaBMqUKiy6JihOQSqiy+y{iI!o|wW23$gjRnp?1?<Un-v@$
OY(SU-)WyUD;sF2#stgGL
rename from security/manager/ssl/tests/unit/test_signed_apps/sha1_and_sha256_manifest_sha256_signature_file.zip
rename to security/manager/ssl/tests/unit/test_signed_apps/app_mf-1-256_sf-256_p7-1.zip
new file mode 100644
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..705b21b2ccc731c8975b4889e6201a22b6db92de
GIT binary patch
literal 3027
zc$^FHW@Zs#0D;9}(cV%q8k_upY!K!J;@rf%%(T?v61}YA{Jd%|1qCITNPJmpQE_H|
zo|2V<kq$^AFEKY2$WaObN-DTkl%(c?rNMFtwMqth26~1{T(w*QC>DS7Fx1fovO$;)
zh=W`mU3^_bGBS%5fT$!RRiP*~F(o%uAuYcM%q;;~lM1s&56!sQO_uCpObiSl%m)-p
zNi0d!&&*9sPt_~POYaQubLZuf;sSZn)59eQNKXS{4v@_@jD?RF7#Qz*x;TbZ%z1lm
zBPWA_z>y8N>tCK1Vr(v47<c>Kr2iir=8U2ti+bb|3Y4n$$q4TOr58_EKbLh*2~DUe
z==jH9x-VH67(f`5f`Ez9QP<PYP2W*3DA>`UiRCF9r&gOs+jm|@cBTbQEZ2ZSmzWqC
z4Y>_C*;uvtn3<$l84S1)iWnC(F?}&;V)|gv#CU4~GZP~dlZfb?%4MIqgVw$~{DAG_
z44>da-S1zK^e}Q8Xd0>;sIoDKvM}?=RTLx_XQbxjC=_R==cT47Bo-7DL-IjUetwC8
zk_5kzfuX6Pp^=3F7({^uEDVec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^FQT(=A4Gy<?R<VBiD-0kG}n_
z^{|5aOnuba%XH70WBovOKeQc(RC@)x1p^~7v81#pRW}UMF0)cF)HC1;_HZ=Rb;(Qz
zMyswbw3TP2;N@!O8SLU@nw*v7WEf=<S(uz2nHCsj<PvIP3({g_YKEyPGNsVNT{|K;
zq}U*<q{<}Bz$Cr2Ogk|sIng{RxXjryq{tvNvdrBn(+p?`s>|7uw;enSWP`8>vdeuP
z{XE@VgG2Ou-C!1>x}VDr*aEduKxwifd&){7Dlx<<tspAEJ;%qmBs0^qG$_l!z%4t;
zJipu)rXAAoMAhe366)cYWf75Im|^N1RgxTTVc}60qMcuu=?m9~+QLNDZ=C6rXIAQ#
zX`brttsj)*<yT=48c-RM9c-Qt@;)Pz2s7>`I1Dr}GN3oe(Y2yCq7hmv;Z16EJ?JfE
zgq{-^?Phen=xro~UM^<z78AN&^c0F@FDF`hMc0a+L=ak=xUeUf0B=@sc(4Is3NRcS
Hxj{StdZXq(
rename from security/manager/ssl/tests/unit/test_signed_apps/sha1_manifest_sha1_and_sha256_signature_file.zip
rename to security/manager/ssl/tests/unit/test_signed_apps/app_mf-1_sf-1-256_p7-1.zip
new file mode 100644
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..654a09ed307b4b8d13170702d038d73b8241c762
GIT binary patch
literal 2898
zc$^FHW@Zs#0D(ne(cV%q8k_upY!K!J;@rf%%(T?v61}YA{Jd%|1qCITNPJmpQE_H|
zo|2V<kq$^AFEKY2$WaObN-DTkl%(c?rNMFtwMqth26~1{T(w*QC>DS7Fx1fovO$;)
zh=W`mU3^_bGBS%5fT$!RRiP*~F(o%uAuYcM%q;;~lM1s&56!sQO_uCpObiSl%m)-p
zNi0d!&&*9sPt_~POYaQubLZuf;sSZn)59eQNKXS{4v@_@jD?RF7#Qz*x;TbZ%z1lm
zBPWA_z>y8N>tCK1Vr(v47<c>Kr2iir=8U2ti+bb|3Y4n$$q4TOr58_EKbLh*2~DUe
z=&0mXkC!YA3?K|jLBP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=4_x{$APXr(X<fac6bgrG=Z;m)vGEmpplo
zQFrz0t+H;j7L?@*X7?6+Vqi-OpOfI{KHL7T@v0xyuhu@cXtNHA%i@^&>wo4gU+K;x
ze>3kdKZaU+rLW6<;ss=TLECXiwO6oPFfbAmOG=AUb;BU-GAji`Jp-;_4@W~?m&|lv
zwCegoTX|LrUan@I!7fgw$yrHGhEXPwg~{oWX@OBjE}<s2XpJtm<ZTDf0@)xef^4a;
zqo1dnYjB93uN%x@RI9oCfQ?5h1(en%vU{u)q7p-#(h8yi+;e=4OENP(OM|iu4BWDl
z%=61_VcH>WMpS)nC7~XUSr!rbg&C&KQ6<UY78V|5A=>$cnZ9s+sEtEZ{l=M2d1j?<
zndYhP-ugi~UVaq@p#ha4*}>-dAn!9Wi7?}CJ;Oi)BLjL{8eJ=T`xl|L65bj{*Mr{3
zMd&$!(d0$fi{89J=;dNYZ|tD!MNeEv_Hv>nHFT}$Nd%$QmJ54=3GikGhX)%FrU1jy
Ih8x5K0Hw6fA^-pY
rename from security/manager/ssl/tests/unit/test_signed_apps/signed_app.zip
rename to security/manager/ssl/tests/unit/test_signed_apps/app_mf-1_sf-1_p7-1.zip
new file mode 100644
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..cbd1b08324b0b9a4106dc65a5c8e2ed9308a1170
GIT binary patch
literal 2829
zc$^FHW@Zs#0D*;J(cV%q8k_upY!K!J;@rf%%(T?v61}YA{Jd%|1qCITNPJmpQE_H|
zo|2V<kq$^AFEKY2$WaObN-DTkl%(c?rNMFtwMqth26~1{T(w*QC>DS7Fx1fovO$;)
zh=W`mU3^_bGBS%5fT$!RRiP*~F(o%uAuYcM%q;;~lM1s&56!sQO_uCpObiSl%m)-p
zNi0d!&&*9sPt_~POYaQubLZuf;sSZn)59eQNKXS{4v@_@jD?RF7#Qz*x;TbZ%z1lm
zBPWA_z>y8N>tCK1Vr(v47<c>Kr2iir=8U2ti+bb|3Y4n$$q4TOr58_EKbLh*2~DUe
zD9Tdl<x3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r#OI82%+VPMr=bZl66?YbJA6)A4=Xcq<hi=zf;^)2L`;b{y)NC?q$pM{5
zCw^-_-Wh~idsQB|crXUYj)Au0kZP}Bw_so-CYF>IrRs)3+GSP>hI$5E!5)rAre?Y>
znd!iY)%At8^Q;siQwlxYwIhN<iVd<#s!YNROwvosv=f7p6U~!?%bYDkiVQ*{%iNtZ
z%}i|3nqh3o+YX)uvO!n`*%`i$ex7cw!6ACSZZL~b9mC}ZY))D!ptL_hE;NL?&q^UG
zF~ljYAS%E;$H%xNGt;v)D9gaWEj!6PzuXq49ny+K)#p|c>fxAW5s_b*Vd@-Jk{oVf
z;ZYW%onM&g3)hF*TtwAxoavNjR_c~%p6c$cAC%+eS78tuP#KaPY@QGDJ|mL|Gw${@
z3^Xt@ptr8kwW7C(5n3zZ?PGL3=*?b)o)Z|2V069c4IYGEE@t%R54v9T<c4G~CtBh|
e*NUD*5L*4YuqT)RZ&q-4umNETFdY53K|BCCx7Bk1
rename from security/manager/ssl/tests/unit/test_signed_apps/signed_app_sha256_signature_file.zip
rename to security/manager/ssl/tests/unit/test_signed_apps/app_mf-1_sf-256_p7-1.zip
new file mode 100644
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..88533235667d2914895b9a3feb01277cd5e65edb
GIT binary patch
literal 2847
zc$^FHW@Zs#0D*;J(cV%q8k_upY!K!J;@rf%%(T?v61}YA{Jd%|1qCITNPJmpQE_H|
zo|2V<kq$^AFEKY2$WaObN-DTkl%(c?rNMFtwMqth26~1{T(w*QC>DS7Fx1fovO$;)
zh=W`mU3^_bGBS%5fT$!RRiP*~F(o%uAuYcM%q;;~lM1s&56!sQO_uCpObiSl%m)-p
zNi0d!&&*9sPt_~POYaQubLZuf;sSZn)59eQNKXS{4v@_@jD?RF7#Qz*x;TbZ%z1lm
zBPWA_z>y8N>tCK1Vr(v47<c>Kr2iir=8U2ti+bb|3Y4n$$q4TOr58_EKbLh*2~CI;
zv<R4jY|^d&ykucu0AWxH0wzXBT~9wZeMh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yxUUB?k`Pt9KMbf+UA7rfk6YJi;S|>{WL~8gM&o!qz|2}O!pyhPMpnONP@*=)a
zf!rgRNn22BuVl+(Zv8-ZKeQc(RC@)x1p^~7v81#pRW}UMF0)cF)HC1;_HZ=Rb;(Qz
zMyswbw3P>xDM~l>b}h;9F3WIsO>>XP3Uu-dNvkZ%2s5z-X)!W2!_?$&VdR|_S?1za
zoRgj9>|ElPU1X4N;u~4umL5@+l~H7rRGwK`VPO%Pmu!pHa(l%+V=1s;WdLCjWS9Fo
z`gyv!28ZbRy1^_$bw8IMumx(RfYM||b)l7lQ%Ih3L5QKLiJy^KP*ko(Qbvl4iE(&D
zia|-1X;QjbewweLrJs+dfxoLQ%s@y}6y2nxNP`^9ib8j<NaupW$W$)_Z?i%Zm+;WQ
z!cv1=KPNX|6AzQr+>ESDuXMOcsI5?R6I}zcvi+jUD-$gvv<r$#eR3+?wcQ+@eahXP
zO)MfpO@b}+qx>BWa>Bv_L4n4|B*Kil;SK{0j11__cyz7kO>czON_ayYT@QNu8lmR|
zMr#{gFM7)gp_hvpy`6=w7d>4g*~^KR%F(r=CoF{4CNAvBEWn!;93E^ym;%(bog2gh
E09lUpLI3~&
rename from security/manager/ssl/tests/unit/test_signed_apps/sha256_manifest_sha1_and_sha256_signature_file.zip
rename to security/manager/ssl/tests/unit/test_signed_apps/app_mf-256_sf-1-256_p7-1.zip
new file mode 100644
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..f1667fbb4933cc5cd772d446e76756d94cafe70c
GIT binary patch
literal 2952
zc$^FHW@Zs#0D(ne(cV%q8k_upY!K!J;@rf%%(T?v61}YA{Jd%|1qCITNPJmpQE_H|
zo|2V<kq$^AFEKY2$WaObN-DTkl%(c?rNMFtwMqth26~1{T(w*QC>DS7Fx1fovO$;)
zh=W`mU3^_bGBS%5fT$!RRiP*~F(o%uAuYcM%q;;~lM1s&56!sQO_uCpObiSl%m)-p
zNi0d!&&*9sPt_~POYaQubLZuf;sSZn)59eQNKXS{4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zO~-GK+K#BbKd$&v>0ia+88dI6WH|R_is`eA^YI_$j_Q=U`|O`^$nAPm%Ef0Jn;zbq
z{!R9}w`2<I>zgw-2wjVnJU7ASX|huk!}iTrH`F>va%E^1+T51RDtE85W}Wq1KxMW$
z=USzbAO0nKUwk!D%JP>K4gS^U_wL^9Xz2s5cZK|smH6Jc>8Y~CfemaOyZ!7um?R(1
zH#TVOU6Xkt!P3-aY4C2X;zvTe1n-H>z4PJ!dfpQfb0>6OeqYgh#FL|;`iaG(9G|vm
z8N1W%+^DseY)G=d7m)1*ZO0+iUcqj`z(`CiDJ@FX4TH4HtP~9O47h?l91V3{GSh+4
zs_P4F<pE`i(oMZxOESF6GMru0+#|9Ao%}-5DvL70Ol;8_U9Y%jECrT{3?M9mY^krK
zpQoE^aEP9-8_Zx-tGWDujYlg5l-4H5Jw~QxP#0M#IECan7las^n)n%+1x4jrBxR(y
zm>7pgq!^TBnI@&1<)`@?TKf5T8u+`~!VHA8BGFAsiZsZvtSEH%igYe0j7;@1@HQ(n
zaS0C%EG#w1^>cFbHSsV>&CSTl^h$@DgxY{aH_<g9E88!syfV=;Lc5@-)F-FHUE9sk
z*{9sy*~B6u)Fjw4Kg!?HASWy=5EN*POd`y<+uShFz{r5!0!P=1-fBi@t%SFs(e<D=
zjS+fIU^JA`^`bY55PG?o(VIx<deM_4lD(X02^3u`dcs0zwdKN|%mTbw!QsIMgegE>
IMcg1B00IZm9RL6T
rename from security/manager/ssl/tests/unit/test_signed_apps/signed_app_sha256_manifest.zip
rename to security/manager/ssl/tests/unit/test_signed_apps/app_mf-256_sf-1_p7-1.zip
new file mode 100644
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..81476aaf3402989b975133197d2d1c731037071a
GIT binary patch
literal 2883
zc$^FHW@Zs#0D(ne(cV%q8k_upY!K!J;@rf%%(T?v61}YA{Jd%|1qCITNPJmpQE_H|
zo|2V<kq$^AFEKY2$WaObN-DTkl%(c?rNMFtwMqth26~1{T(w*QC>DS7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%N9Sw5A!U92o#>gbXjJq)h0}YG}=uJCxt?11$gw{%U;|yI7dYcQO=LALz3|%jJ
yZHv&$#f)C}qU%LZqzJwI9B4@vT`PLRLTH`FfjyZ8c(a1TgAE8%fVxg|f_MO=St5A=
rename from security/manager/ssl/tests/unit/test_signed_apps/signed_app_sha256.zip
rename to security/manager/ssl/tests/unit/test_signed_apps/app_mf-256_sf-256_p7-256.zip
index 94261ff0c5ee298142dd7ed6efcc4cab210f6395..3ea1a61f63620bbab264c77f60617055fce8abf0
GIT binary patch
literal 2458
zc$^FHW@Zs#0D*;J(cV%q8k_upY!K!J;@rf%%(T?v61}YA{Jd%|1qCITNPJmpQE_H|
zo|2V<kq$^AFEKY2$WaObN-DTkl%(c?rNMFtwMqth26~1{T(w*QC>DS7Fx1fovO$;)
zh=W`mU3^_bGBS%5fT$!RRiP*~F(o%uAuYcM%q;;~lM1s&56!sQO_uCpObiSl%m)-p
zNi0d!&&*9sPt_~POYaQubLZuf;sSZn)59eQNKXS{4v@_@jD?RF7#Qz*x;TbZ%z1lm
zBPWA_z>y8N>tCK1Vr(v47<c>Kr2iir=8U2ti+bb|3Y4n$$q4TOr58_EKbLh*2~DUe
zXi5LQ33|*73?K|jLBPc5sO#zHrthd16zpiw#H_`}snzDu_MMlJooPW6voughoQaXq
zklTQhja8eEnMsP3!GIf~h;cy^(-(s#rVj>9jJFmrGchtTiHOdrT=tneXzjbh57<7=
z@Ch!|{r(k64<omMrlGolDjRbs3p0;gML}|LMruxuLUCq#UTTU$VnIPMBp(#z=a(2L
zN$?vP7@8Uy8d(^CK@?cP!obMD6e?h#WvF4G1~E<^i*XRs!2BYhGnEW@5pH2*WngY%
z<Yxeib1^kBGBWJy2wdUPCw9&8Z{D^JHZuWR8{wO;o|t-VdGj?RJV&Ma;BnOz4{pfs
z-8hGBcAiw*r|d`Tqe`>0QVKb$mPRdiZT~KFRb>uS-C5^9a+wz_6f`HVRygeW<n~UV
zL)kfeZ$+E<Kh~|yl-hWi$*N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OY^a34SFM1+H=uKfmOS0%%(GwOz
Z>uWab$t=K|6&xOHK$rs5rN9B=0RV@TaZUgL
--- a/security/manager/ssl/tests/unit/test_signed_apps/moz.build
+++ b/security/manager/ssl/tests/unit/test_signed_apps/moz.build
@@ -18,26 +18,44 @@ def SignedAppFile(name, flags):
     # Turn RELATIVEDIR into list entry: like
     # 'security/manager/ssl/tests/unit/test_signed_apps' ->
     # TEST_HARNESS_FILES.xpcshell.security.manager.ssl.tests.unit.test_signed_apps.
     files = TEST_HARNESS_FILES.xpcshell
     for part in RELATIVEDIR.split('/'):
         files = files[part]
     files += ['!%s' % name]
 
+# Except for unusual testcases (unknown issuer, unsigned app, empty
+# signerInfos), the naming scheme is as follows:
+# app_mf{-1,-256}_sf{-1,-256}_p7{-1,-256}.zip, where:
+# "mf" refers to the manifest file, "sf" refers to the signature file,
+# and "p7" refers to the pkcs#7 file. The "{-1,-256}" indicates which
+# hash algorithms are present in the corresponding file (both may be
+# present).
+# For example, "app_mf-1_sf-1-256_p7-256.zip" means that the manifest
+# file has sha-1 hashes, the signature file has sha-1 hashes and sha-256
+# hashes, and the pkcs#7 file only has sha-256.
+#
 # Temporarily disabled. See bug 1256495.
 #signed_app_files = (
-#    ['signed_app.zip', '-m', 'sha1', '-s', 'sha1', '-p', 'sha1'],
-#    ['unknown_issuer_app.zip', '-i', 'unknown issuer', '-m', 'sha1', '-s', 'sha1', '-p', 'sha1'],
+#    ['unknown_issuer_app.zip', '-i', 'unknown issuer'],
 #    ['unsigned_app.zip', '-n'],
-#    ['signed_app_sha256.zip'],
-#    ['signed_app_sha1_and_sha256.zip', '-m', 'sha256', '-m', 'sha1', '-s', 'sha256', '-s', 'sha1', '-p', 'sha1', '-p', 'sha256'],
-#    ['signed_app_sha256_manifest.zip', '-s', 'sha1', '-p', 'sha1'],
-#    ['signed_app_sha256_signature_file.zip', '-m', 'sha1', '-p', 'sha1'],
-#    ['sha1_and_sha256_manifest_sha1_signature_file.zip', '-m', 'sha256', '-m', 'sha1', '-s', 'sha1', '-p', 'sha1'],
-#    ['sha1_and_sha256_manifest_sha256_signature_file.zip', '-m', 'sha256', '-m', 'sha1', '-p', 'sha1'],
-#    ['sha1_manifest_sha1_and_sha256_signature_file.zip', '-m', 'sha1', '-s', 'sha1', '-s', 'sha256', '-p', 'sha1'],
-#    ['sha256_manifest_sha1_and_sha256_signature_file.zip', '-s', 'sha1', '-s', 'sha256', '-p', 'sha1'],
 #    ['empty_signerInfos.zip', '-e'],
 #)
 #
 #for signed_app_file_params in signed_app_files:
 #    SignedAppFile(signed_app_file_params[0], signed_app_file_params[1:])
+#
+#for mf_algs in [['1'], ['256'], ['1', '256']]:
+#    for sf_algs in [['1'], ['256'], ['1', '256']]:
+#        for p7_algs in [['1'], ['256'], ['1', '256']]:
+#            filename = "app_mf-%s_sf-%s_p7-%s.zip" % ('-'.join(mf_algs), '-'.join(sf_algs), '-'.join(p7_algs))
+#            args = []
+#            for mf_alg in mf_algs:
+#                args.append('-m')
+#                args.append('sha%s' % mf_alg)
+#            for sf_alg in sf_algs:
+#                args.append('-s')
+#                args.append('sha%s' % sf_alg)
+#            for p7_alg in p7_algs:
+#                args.append('-p')
+#                args.append('sha%s' % p7_alg)
+#            SignedAppFile(filename, args)
index fe74ed666c6632eb1f63eca3cc85c6f92b759565..3a2d8b4968bc400be8fa57ddaa194f0677182700
GIT binary patch
literal 2869
zc$^FHW@Zs#0D*;J(cV%q8k_upY!K!J;@rf%%(T?v61}YA{Jd%|1qCITNPJmpQE_H|
zo|2V<kq$^AFEKY2$WaObN-DTkl%(c?rNMFtwMqth26~1{T(w*QC>DS7Fx1fovO$;)
zh=W`mU3^_bGBS%5fT$!RRiP*~F(o%uAuYcM%q;;~lM1s&56!sQO_uCpObiSl%m)-p
zNi0d!&&*9sPt_~POYaQubLZuf;sSZn)59eQNKXS{4v@_@jD?RF7#Qz*x;TbZ%z1lm
zBPWA_z>y8N>tCK1Vr(v47<c>Kr2iir=8U2ti+bb|3Y4n$$q4TO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