On 10/13/2009 02:10 AM, Neil wrote: > This is probably PSM again, but I hope someone here can answer it, or > point me somewhere. > > We have a both menuitem and a dialog that logs you out of the SDR, so > that you need to reenter your Master Password to gain access to your > stored certificates and other encrypted material, such as the login > manager's password store. > > This works fine when you actually have a Master Password. However when > you do not have a Master Password then it does not seem possible to > log in again.
What do you mean by 'doesn't let you log in again'? If you have no master password set, you have a token that doesn't have 'need login' set in it. NSS will treat such a token as "always logged in". No matter how many times you log out, the token and it's keys are still available. What exactly are you seeing? > > Is this a case of: > a) sdr.logoutAndTeardown(); is the wrong API to log out > b) we're using the wrong API to log in when there is no password > c) there's a bug in PSM and/or NSS? > Thanks, > Neil. >
-- dev-tech-crypto mailing list dev-tech-crypto@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-tech-crypto