You are currently viewing a snapshot of www.mozilla.org taken on April 21, 2008. Most of this content is highly out of date (some pages haven't been updated since the project began in 1998) and exists for historical purposes only. If there are any pages on this archive site that you think should be added back to www.mozilla.org, please file a bug.



Simple Signed XPI Testcases
we know you always wanted a signed install


Before running any of these tests, you must install this CA cert.
    x509.cacert.

Please remove this cert when you are done testing. If you don't know what I am talking about, do not proceed.


This first test is the only test case which is signed and should work:
    signed.xpi

This test includes a extra file and should be reported as a broken install:
    signed-extrafile.xpi

This test removes a file and should be reported as a broken install:
    signed-missingfile.xpi   

This test removes the rsa file.  This file will be reported as unsigned:
    signed-norsa.xpi

This test removes the sf file.  This should be reported as a broken install:
    signed-nosf.xpi

This file is missing the manifest.  This should be reported as a broken install:
    signed-nomanifest.xpi

This file is signed by a CA that is not installed..  This should be treated as a unsigned install:
    signed-badca.xpi

This file is signed but the contents have been modified.  This should be treated as a broken install:
    signed-modified.xpi