Hi,

I have an xpi which is to be signed, then verified with signtool.

echo Signing %1
"%SIGN_TOOL%" -d "%CERT_DB%" %3 -Z %1 -k "%CERT_NAME%" -p "%CERT_PWD%"
%2
if not ERRORLEVEL 0 exit %ERRORLEVEL%

echo Verifying signature of %1
"%SIGN_TOOL%" -d "%CERT_DB%" -v %1
if not ERRORLEVEL 0 exit %ERRORLEVEL%

Signing the xpi does not give any error, but the verification does, it
says HASH FAILED for all of the files in the xpi.

Output window
...
Generating build/META-INF/manifest.mf file..
...
Generating zigbert.sf file..
Creating XPI Compatible Archive
...
adding build/META-INF/manifest.mf to build\build.xpi...(deflated 56%)
adding build/META-INF/zigbert.sf to build\build.xpi...(deflated 56%)
tree "build" signed successfully

Verifying signature of build\build.xpi
...
archive "build\build.xpi" has passed crypto verification.
          status   path
    ------------   -------------------
     HASH FAILED   chrome/content/contents.rdf
...

Any idea why it is happening?


Thanks,

jaszay


_______________________________________________
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto

Reply via email to