Are you sure it’s not pkcs11.dll
?
Hello,
Is the PKCS#11 dll a 32 bits one ?
What is the architecture of Windows ?
What is the architecture of the running Firefox ?
DLL 64 bits
Windows 7 SP1 64bits
Firefox 59b7 64bits
OK.
So the registry key need to be set on the 64 bit hive too.
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Mozilla\PKCS11Modules]
[HKEY_LOCAL_MACHINE\SOFTWARE\Mozilla\PKCS11Modules\mypkcs11]
@=“C:\ProgramData\Firefox\manifest.json”
For strict_min_version, try one of this:
“strict_min_version”: “58.0*”
or “strict_min_version”: “58.*”
same pb
- is not accepted
I put in registry hive 32 and 64 bits
You will have to debug your extension in
about:debugging
Yes
Addon added in firefox
no error in debug but no install
var statusObj = browser.pkcs11.installModule(“mypkcs11”);
no add
I have a “path” setting like this (which works for me): each path separator is escaped
"path": "C:\\Windows\\system32\\mypkcs11.dll",
the same parameter
{
“name”: “mypkcs11”,
"description”: “Installation du “,
“path”: “C:\Windows\System32\mypkcs11.dll”,
“type”: “pkcs11”,
“allowed_extensions”: [
"myextension@mycompany.fr”
]
}
but the site suppress double backslash by simple
It’s Ok
I have a quote in manifest.json.
Thanks you bertrand, Martin for your help
David