none wrote:

If you run the NSS command line tools and specify the mozilla directory
where those DBs exist, at the same time that mozilla is running, you will
corrupt those DB files.

But, I'd like to write Mozilla plug-in that would digitally sign data (contracts, invoices, bills...) using certificates users imported into Mozilla browser. This is not possible??

A plugin running in the browser's own process can use the same DB libs in the browser that already have the DBs open.

It's two processes that cannot have the DB's open at the same time,
UNLESS ALL processes have the DBs open READ-ONLY.

> Two apps can't access Mozilla certificate store in the same time?

Not unless they ALL Have the DBs open Read-Only.
And mozilla holds the DB open read-write, so no other process can share
the DBs with mozilla simultaneouslyl.

Btw, does Mozilla certificate (cert8.db, key3.db, secmod.db...) store have some password or keys are sored without encryption? Can certificates be exported (stolen)?

key3.db, which contains keys, is encrypted. cert8.db, which contains public key certificates, is not encrypted.

Thank you for your help.

_______________________________________________ mozilla-crypto mailing list [EMAIL PROTECTED] http://mail.mozilla.org/listinfo/mozilla-crypto

Reply via email to