Thanks Kyle. Actually I need create some programme to install my pkcs11
library globally for all firefox profiles/users, and don't need modutil or
copy secmod.db for new profiles/users.

I have one method now. Create a firefox addon and set it as a global
extension. Then install my pkcs11 through the addon on firefox startup. 

We can install addons globally through "firefox -install-global-extension".
Is there similar easy way to add my pkcs11 lib globally? 


wolfoftheair wrote:
> 
> Nope.  Each user's profile has its own copy of the database which
> contains pointers to which PKCS11 modules are installed and accepted
> by that profile's user.
> 
> It is, however, possible to use the nss command-line tools to add it
> from the command line to each user's profile.  Then, all you have to
> do is find the databases in each user's profile, and then use modutil
> (some distributions call it nss-modutil) to add it to each instance on
> the system.
> 
> Finally, you can create a profile instance under /etc/skel somewhere,
> and modutil that PKCS11 module into it for future users.
> 
> -Kyle H
> 
> On Mon, Nov 9, 2009 at 1:51 PM, andro <anthonyha...@gmail.com> wrote:
>> I have a pkcs11 library. Is there any way to install it globally for
>> firefox, instead of only for current profile/user?
>>
>> Thanks a lot.
>>
>> Anthony
>> --
>> dev-tech-crypto mailing list
>> dev-tech-crypto@lists.mozilla.org
>> https://lists.mozilla.org/listinfo/dev-tech-crypto
>>
> -- 
> dev-tech-crypto mailing list
> dev-tech-crypto@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-tech-crypto
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Is-there-any-way-to-install-my-PKCS11-library-for-firefox-globally%2C--instead-of-only-for-current-profile-user--tp26274410p26275266.html
Sent from the Mozilla - Cryptography mailing list archive at Nabble.com.

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

Reply via email to