Tusk icon indicating copy to clipboard operation
Tusk copied to clipboard

Can#t authorize keyfile

Open Schattenruf opened this issue 7 years ago • 7 comments

This issue is a

  • [x] bug
  • [ ] feature
  • [ ] question

If I choose the right keyfile and password it says the following:

Error InvalidKey: invalid key

I use Keepass 2 and created a kbdx file the keyfile is a .key file. The algorithm is AES/Rijndael 256 Bit.

Schattenruf avatar Mar 06 '18 21:03 Schattenruf

I'm just going to flag this issue because I need to write some proper troubleshooting docs.

subdavis avatar Mar 07 '18 04:03 subdavis

So please tell me, if you need anything

Schattenruf avatar Mar 07 '18 16:03 Schattenruf

No problem.

I'll probably get that done in a day or two.

Meanwhile, does your database work with KeeWeb?

Does it work if you save a new copy of your database and change the master password, or does it work without a keyfile?

Can you create a brand new database with a keyfile and does that work? Without a keyfile?

What Key derivation function are you using? AES?

subdavis avatar Mar 07 '18 22:03 subdavis

I haven't tried it with KeyWeb yet.

The same database works without a keyfile but with one it does not. Same for new databases.

I use the standard option to generate a keyfile with random mouse and keyboard input.

Schattenruf avatar Mar 12 '18 13:03 Schattenruf

@Schattenruf awesome!

Can you please upload the new database you created with the brand new keyfile that doesn't work? Also I'll need to know the password.

Providing me with an example database/keyfile that tusk can't open is the best way to help get an issue resolved.

EDIT: As promised, https://github.com/subdavis/Tusk/wiki/Troubleshooting has been written. You've already done this part, and I just need the new sample database you're having trouble with.

subdavis avatar Mar 12 '18 23:03 subdavis

Closing due to no response, no steps to reproduce. Feel free to reopen once you have the new database mentioned above.

subdavis avatar Mar 21 '18 20:03 subdavis

Hey,

sorry for the late reply. Was on vacation ;) Here you have a database and keyfile.

The Password is test123. Desktop.zip

Schattenruf avatar Mar 26 '18 20:03 Schattenruf