originallgb / keepassdroid

Automatically exported from code.google.com/p/keepassdroid
0 stars 0 forks source link

Unable to Open 2nd database on HTC Thunderbolt #196

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Restart Keepass fresh
2. Open keepass database (all Ok)
3. Using IO Manager, select another keepass db file in same folder.
4. Enter password for new database (actually same as original db).
5. Get error "Invalid password or keyfile".
6. Verify password is correct and scratch head.
7. Use IO Manager to select original keepass db.
8. Reenter password again and verify.
9. Get error "Invalid password or keyfile" again!
10. Have to kill keepass and start fresh just to get original db to open.

What is the expected output? What do you see instead?
1. Able to select a different database and it open once the password is entered.
2. Able to switch back to the original database and open it too.

What version of the product are you using? On what operating system?

Latest Android version but cannot verify since the About box does not list a 
version.

Please provide any additional information below.

Both database open fine on PC and I have renamed to original paths and file 
names (such as keepass.db) but does not help. Seems that one cannot select an 
alternate database once the first database has been opened.

It would be helpful if the "bad password" and "invalid file" errors were 
separated. That way a user would know if the problem path to the file is the 
problem or if the password was unable to decrypt file.

Love Keepass but so disappointed cannot access a second DB. Already looking for 
a replacement but really hope this can be resolved before I find one. Otherwise 
great app. Read-Only is fine.

Original issue reported on code.google.com by don.l.dr...@gmail.com on 28 Jun 2011 at 11:21

GoogleCodeExporter commented 8 years ago
UPDATE - I discovered how to make it work. Seems IO Manager is the problem or 
the way it is implemented. Read carefully. Feel free to email directly with 
questions.

If I press the "Open folder" icon in the main screen (has the current path at 
top with the checkbox just below that says "Use this as my default database". 
Also field for password and then field for key file below. Icon is the one to 
the right of the key file field), then it will present a list of both database 
files in that folder and allows me to select the other file...but this will 
fail as the actual path internally must be incorrect. Here why...

To get it to work, I have to select the file as described above and click Ok. 
THEN HIT the Android Master "Go back" key that takes you one step back. There I 
see at the bottom of the screen the label:

Enter database filename:
[Full path to file show in field below] and another open folder icon. Below are 
two buttons labeled Open and Create. If you click the Open icon, you 
surprisingly get "File Not Found" even though the path appears to be correct.

However, pressing this Open folder icon presents me with the list of files 
again. Choose the correct database file and click Ok. Then I am back to the 
original screen for password but no key file shown. But the correct file is 
show at the top. I can then enter the password and it will open.

So the Open Folder icon on the same screen as the password field will select 
the correct path into the field but does not update the path above which is 
apparently what it wants. So this become very confusing. As a user, I selected 
the correct file, it appears in the field but clicking Ok results in a failure.

It is simply not intuitive that one must go back to the previous screen and 
select the database from there. Now that I know, I can use this (Great for me) 
but other users will assume it is broken.

Hope this helps.
Don

Original comment by don.l.dr...@gmail.com on 28 Jun 2011 at 11:38

GoogleCodeExporter commented 8 years ago
Don- THank you much.  I have been Googling and trying for hours.  I have the 
exact same issue and your walkthrough is finally what worked.. thanks.

Original comment by brian.pe...@gmail.com on 13 Jul 2011 at 3:18