Hi,
   I build the nss-3.13.6-with-nspr-4.9.2.tar on MAC OS X successfully.
   then I use signtool to sign an extension.
   
   signtool -d extensionkeystore/ -k "CN=*****,OU=***,O=***,C=CN" -p *** -X -Z 
DW01.xpi DW01/

Generating DW01//META-INF/manifest.mf file..
--> .DS_Store
adding DW01//.DS_Store to DW01.xpi...(deflated 97%)
--> DW01.mxi
adding DW01//DW01.mxi to DW01.xpi...(deflated 56%)
--> Source/DW01.htm
adding DW01//Source/DW01.htm to DW01.xpi...(deflated 30%)
Generating zigbert.sf file..
adding DW01//META-INF/manifest.mf to DW01.xpi...(deflated 35%)
adding DW01//META-INF/zigbert.sf to DW01.xpi...(deflated 40%)
adding DW01//META-INF/zigbert.rsa to DW01.xpi...(deflated 26%)
tree "DW01/" signed successfully

   when i verify the extension , it failed. 

signtool -v DW01.xpi -d extensionkeystore

NOTE -- "DW01.xpi" archive DID NOT PASS crypto verification.
 (reported reason: security library: invalid arguments.)

entries shown below will have their digests checked only.
found a MF master manifest file: META-INF/manifest.mf
found a SF signature manifest file: META-INF/zigbert.sf
md5 digest on global metainfo: match
sha digest on global metainfo: match
found a RSA signature file: META-INF/zigbert.rsa
         
status   path   
------------   -------------------      
verified   .DS_Store        
verified   DW01.mxi      
verified   Source/DW01.htm

NOTE -- "DW01.xpi" archive DID NOT PASS crypto verification 

I don't know how to resolve it. I want some help.
Thanks.
Yuanyuan
-- 
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto

Reply via email to