We have developed a legacy extension using Web extension API as per new guidelines for Firefox add-on support. The new extension package which needs to be submitted for code signing consists of Jason files and a Dll file. The package structure looks like this
Manifest.jason
AC_xxx.jason
AC_xxx.dll
Actually I have couple of queries regarding the submission of the same in Firefox.
The Dll which is part of the new extension package is dependent on other Dlls. Do we need submit the dependent libraries as well for code signing???
Is source code submission must for all the new extensions or is there any criteria for source code permission, In fact we checked following rules in https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/Source_Code_Submission and my company extension doesn’t fall under the same and is not developed using the following tools mentioned in the link
Pretty sure you’re not supposed to package the dll with your XPI anymore.
Source code submission still works pretty similar, if you have a compile step on your source code (like minifiers, obsfuscators, concatenators, transpilers etc.) then you need to submit the source with a reproducible build.
After the submission we got a signed .xpi file,in fact my extension is an unlisted add-on implemented using PKCS#11 manifests and now when i tried to test the signed xpi file the add-on should be automatically installed right by creating the registry key entries in the system which points to the manifest file.
Thanks for the info. I have one more query related to add-on ID, actually we submitted the extension with random add-on id using this format "myextension@xxxx.com"
Now we would like to give some meaningful name for the same. In fact i tried changing the same and tried to submit ,it seems it was reporting an error . Is it possible to change the same or any alternative???
I went ahead and submitted my add-on with new GUID. Now while testing the signed add-on, Mozilla was able to add extension automatically, but the PKCS11 api installmodule() called in my background script is reporting the following error
Error: No such PKCS#11 module acpkcs211
Following are the files implemented as part of the add-on and their registry settings.