On 2011-01-11 04:48 PDT, Irune Prado Alberdi wrote:

> I'm trying to access a NSS shareable database (3.1.2 with
> NSS_DEFAULT_DB_TYPE=sql) while having a Firefox NSS session already
> initialized over the pkcs11 module of my smartcard.
> 
> My test is really simple but I don't get to know why firefox locks the
> database.
> 
> Up to this point I can properly work with my certificates in firefox
> but when I try to simultaneously access it via certutil I get blocked
> 
> ~/.pki/nssdb$ certutil -d sql:. -K -h izenpe
> 
> While if I terminate the pkcs11 session in firefox I can successfully
> acces the token

Bob, This seems pathological.  This is very bad news for programs (e.g.
servers) that want to really share a sqlite3 DB.

Did some member of the NSS team change NSS to hold a lock on the sql DB as
long as NSS has the DB "open" ??  Or, did some sqlite3 change have this
effect?

-- 
/Nelson Bolyard
-- 
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto

Reply via email to