Re: Firefox' password manager with sqlite based NSS

2008-11-19 Thread Wolfgang Rosenauer
Wolfgang Rosenauer schrieb: Are you trying to use NSS_InitWithMerge to create a new cert9.DB where none existed before? Yes. NSS_InitWithMerge is used regardless of an existing cert9.db (and even cert8.db). The conversion function uses pretty much what is on

Re: Firefox' password manager with sqlite based NSS

2008-11-19 Thread Nelson Bolyard
Wolfgang Rosenauer wrote: Wolfgang Rosenauer schrieb: Are you trying to use NSS_InitWithMerge to create a new cert9.DB where none existed before? Yes. NSS_InitWithMerge is used regardless of an existing cert9.db (and even cert8.db). The conversion function uses pretty much what is on

Re: Firefox' password manager with sqlite based NSS

2008-11-18 Thread Nelson B Bolyard
Wolfgang Rosenauer wrote, On 2008-11-18 05:38: Hi, I'm trying to use Firefox with an sqlite based NSS. So far all the certificate stuff still works as expected as far as I can see but the password manager component is broken now: The exposed error is this: Login Manager: Initialization

Re: Firefox' password manager with sqlite based NSS

2008-11-18 Thread Wolfgang Rosenauer
Nelson B Bolyard schrieb: Wolfgang Rosenauer wrote, On 2008-11-18 05:38: Hi, I'm trying to use Firefox with an sqlite based NSS. So far all the certificate stuff still works as expected as far as I can see but the password manager component is broken now: The exposed error is this: Login

Re: Firefox' password manager with sqlite based NSS

2008-11-18 Thread Robert Relyea
Wolfgang Rosenauer wrote: Nelson B Bolyard schrieb: Wolfgang Rosenauer wrote, On 2008-11-18 05:38: Hi, I'm trying to use Firefox with an sqlite based NSS. So far all the certificate stuff still works as expected as far as I can see but the password manager component is broken now:

Re: Firefox' password manager with sqlite based NSS

2008-11-18 Thread Wolfgang Rosenauer
Robert Relyea schrieb: Hmm, now that you say that... It's not much about what I intend to do since I'm just trying to use Firefox ;-) But yeah, it might go wrong before that trace already? http://mxr.mozilla.org/mozilla/source/toolkit/components/passwordmgr/src/storage-Legacy.js#176 176

Re: Firefox' password manager with sqlite based NSS

2008-11-18 Thread Robert Relyea
Wolfgang Rosenauer wrote: Robert Relyea schrieb: This was a new profile actually. And yes, the database which reveals this issue isn't complete it seems. I removed it and created a new empty one using certutil -d sql:. -N and now Firefox works correctly. What I've used to create the shared

Re: Firefox' password manager with sqlite based NSS

2008-11-18 Thread Nelson Bolyard
Robert Relyea wrote: Typically needsUserInit means there isn't a password record in your key database. Without this you can not store any keys. The difference between 'not initialized', 'doesn't have a master password', and 'has master a password' is as follows: 1) 'not initialized' ---

Re: Firefox' password manager with sqlite based NSS

2008-11-18 Thread Nelson Bolyard
Wolfgang Rosenauer wrote: This was a new profile actually. And yes, the database which reveals this issue isn't complete it seems. I removed it and created a new empty one using certutil -d sql:. -N and now Firefox works correctly. It is possible that code that uses NSS in ways not tested by

Re: Firefox' password manager with sqlite based NSS

2008-11-18 Thread Robert Relyea
Nelson Bolyard wrote: Robert Relyea wrote: Typically needsUserInit means there isn't a password record in your key database. Without this you can not store any keys. The difference between 'not initialized', 'doesn't have a master password', and 'has master a password' is as follows: 1)