Joe Orton wrote, On 2008-02-07 00:46:
> Hi.  When using the libsoftokn3.so PKCS#11 provider, is it safe to open 
> a read-only session to a database which is opened read-write by another 
> process (e.g. Firefox)?  (By "safe", I mean simply that the provider 
> will not crash and burn if Firefox modifies something underneath it)

No, the Berkeley database used in all versions of NSS up through NSS 3.11.x
and in all versions of FireFox before FireFox 3, is not safe to be used in
that manner.

With NSS 3.12, which will be used in FireFox 3, it will be possible to
configure an application to use a different database, namely sqlite3.
It will be safe to share a common database among multiple applications,
including read-write applications, with sqlite3.  However, as I understand
it, FF3 will not use sqlite3 by default.  It can be configured, but I'm not
sure how.

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

Reply via email to