Wolfgang Rosenauer wrote, On 2008-11-18 05:38:
> Hi,
> 
> I'm trying to use Firefox with an sqlite based NSS. So far all the
> certificate stuff still works as expected as far as I can see but the
> password manager component is broken now:
> 
> The exposed error is this:
> 
> Login Manager: Initialization of storage component failed: [Exception...
> "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE)
> [nsIPK11Token.initPassword]"  nsresult: "0x80004005 (NS_ERROR_FAILURE)"
> location: "JS frame ::
> file:///usr/lib/xulrunner-1.9.0.4/components/storage-Legacy.js ::
> anonymous :: line 180"  data: no]
> 
> I tried to trace down as far as I could through the following failing calls:

Here's a little more of that call stack:

http://mxr.mozilla.org/mozilla/source/toolkit/components/passwordmgr/src/storage-Legacy.js#179
http://mxr.mozilla.org/mozilla/source/security/manager/ssl/src/nsPK11TokenDB.cpp#337

> http://mxr.mozilla.org/mozilla/source/security/nss/lib/pk11wrap/pk11auth.c#449
> http://mxr.mozilla.org/mozilla/source/security/nss/lib/softoken/pkcs11.c#3099
> http://mxr.mozilla.org/mozilla/source/security/nss/lib/softoken/sftkpwd.c#1254
> http://mxr.mozilla.org/mozilla/source/security/nss/lib/softoken/sdb.c#1514
> 
> sqlerr = sqlite3_exec(sqlDB, PW_CREATE_TABLE_CMD, NULL, 0, NULL);
> 
> fails with error code 6 which seems to be "SQLITE_LOCKED"
> 
> Any ideas?

This is in a call to C_InitPIN, which sets a new password on a DB.
This is not a "login" type call.  Is that what you really intended to do?
_______________________________________________
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto

Reply via email to