Hi,

I am able to progamatically create key3.db from a script, using

certutil -N -d ...

However this initalization does not add to this file a private key to encrypt 
the usernames and passwords that will be present on signons.sqlite. I confirmed 
this by comparing the output of db_dump185 on two scenarios:

1) create key3.db using certutil
2) run thunderbird once, store and delete a password

Question: how can I insert such a key from the command line?

Context: we are working on thunderbird a auto-configuration script that 
configures all the necessary prefs and pre-inserts the password on several 
signons.sqlite entries (ldap, smtp, caldav, carddav). Everything is working 
except the initializaion of key3.db.

Unless I am misreading this:

http://www.mozilla.org/projects/security/pki/nss/tools/certutil.html

certutil should be the tool to handle the key database, but I can't find an 
option that adds this particular key.

Cheers
Gustavo

-- 
Angulo Sólido - Tecnologias de Informação
http://angulosolido.pt
-- 
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto

Reply via email to