|
From: Dell M. G. <dmg...@be...> - 2001-07-01 04:31:17
|
Does anyone have a compiled English prc file that includes Jochen's patch? Thanks... ---------------------------------------------------------------------------- -- > On 4 Jun 2001, Dan Prince <dan...@al...> wrote: > > > This worked for me if I installed it on top of keyring 1.0. However, if I > > delete the keyring app completely from my Palm, then try to install pre2, > > the app asks for the password the first time it runs (rather than asking > > me to choose a master password). Since I have not set a password yet, any > > password I type gives me a 'wrong password' message, and the app is > > unusable. > > > > The pre1 release doesn't seem to have this problem. > > Thanks, that's a very useful bug report. I'll take a look this week. This was introduced by my 'secure snib' patch. I didn't noted that the SetPasswd_run function is also called when creating the initial database. I have solved this by moving the dialog code of SetPasswd_Run in a new function SetPasswd_Ask and calling that from CreateDB instead. Setting the initial password doesn't need reencryption, which is what SetPasswd_Run also did. I tested it only with pose. This patch should also fix the bug that keyring gets unusable if the master password wasn't entered on the first invocation. A minor thing is that you have to enter the master password a third time after a new database was created when you create the first entry. IMHO this is acceptable. I have attached the patch. Jochen |