lukas kiss
lukas kiss

Reputation: 392

firefox PKCS11 WebExtesion "An unexpected error occurred"

I am working on developer mozzilla v58 with my smart eid card.

I call this code:

var pkcs11 = browser.pkcs11.installModule("linux_pkcs11");

My menifest is setup corretly, it finds the library, but it return error code:

[Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIPKCS11ModuleDB.addModule]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: chrome://browser/content/ext-pkcs11.js :: installModule :: line 76" data: no]

thank you for your help.

Upvotes: 1

Views: 340

Answers (1)

lukas kiss
lukas kiss

Reputation: 392

before you called "installModule()", you should firstly verify, if Module is not already installed with function: "isModuleInstalled()"

Upvotes: 1

Related Questions