keepassxc 2.3.4

Problems with KyPass on iPhone should be reported in here
Post Reply
hugo
Posts: 5
Joined: Sun Feb 17, 2019 8:05 pm

keepassxc 2.3.4

Post by hugo » Sun Feb 17, 2019 8:10 pm

Hi,

My keepassxc 2.3.4 saves KDBX4 files (due to browser plugin being used), however, I can't open these in kypass4 (falsely saying password is incorrect).

I've tried to let keepassxc save me to other formats, but it won't let me. It forces me to use: AES 256-bit encryption, and "AES-KDF (KDBX 4)" derivation.

When I view in the app, it says "unknown derivation type", which makes me suspect that that's where the issue is. Note that I can open this database correctly in keeweb.

Mr-Fly
Posts: 96
Joined: Tue Sep 25, 2018 7:17 pm

Re: keepassxc 2.3.4

Post by Mr-Fly » Sun Feb 17, 2019 8:55 pm

Maybe a problem with keepassxc?
https://github.com/keepassxreboot/keepassxc/issues/1617
Don't know from the text if this problem still exist.
Maybe you can try to open the file with the original brand Keepass on Windows? That's the only comparable source and the app that sets the standards. All others are ports.

hugo
Posts: 5
Joined: Sun Feb 17, 2019 8:05 pm

Re: keepassxc 2.3.4

Post by hugo » Mon Feb 18, 2019 5:55 am

Hi,

Thanks for the quick reply.

I opened it in KeePass 2.41 on Windows. No issues in opening.

KeePass Windows confirms:
  • Encryption: 256-bit AES
  • Key derivation: AES-KDF, 1000000 iterations
  • gzip compression

Mr-Fly
Posts: 96
Joined: Tue Sep 25, 2018 7:17 pm

Re: keepassxc 2.3.4

Post by Mr-Fly » Mon Feb 18, 2019 5:56 am

Can you change an entry, save it and retry on iOS?

hugo
Posts: 5
Joined: Sun Feb 17, 2019 8:05 pm

Re: keepassxc 2.3.4

Post by hugo » Mon Feb 18, 2019 7:56 pm

I just performed this step (modified and saved the database in Windows KeePass 2), but the KyPass4 app still says the password is incorrect and the derivation algo is unknown.

Mr-Fly
Posts: 96
Joined: Tue Sep 25, 2018 7:17 pm

Re: keepassxc 2.3.4

Post by Mr-Fly » Tue Feb 19, 2019 5:34 am

Weird. I did think that the PC version somehow fixed the file while opening or so.
I am using this algo since years and never had this problem.
I am using password and key file in combination.

hugo
Posts: 5
Joined: Sun Feb 17, 2019 8:05 pm

Re: keepassxc 2.3.4

Post by hugo » Tue Feb 19, 2019 7:49 am

I just created a fresh KeePass database using keepassxc:
  • AES-KDF (KDBX 3.1): works in KyPass
  • AES-KDF (KDBX 4): does not work in KyPass
  • Argon2 (KDBX 4): also works in KyPass
So it is reproducible. Since it opens fine in KeePass 2 Windows, and in KeeWeb, it seems KyPass is being incompatible. Is this something you're willing to look into?

Of course, using Argon2 would also be an option. But keepassxc keeps switching back to AES-KDF(KDBX4) every time. Even if I open the database in KeePass2 Windows, change KDF to Argon2, and save it (after which it is indeed readable by KyPass). If I then load it in keepassxc, it changes the KDF to AES-KDF (KDBX 4) and I am back where I began. So I'll have to debug keepassxc to see where this is going wrong.

Perhaps debugging keepassxc will work for me, but I suppose that for compatbility sake, it would be nice for KyPass to support the AES-KDF (KDBX 4) anyway.

User avatar
RedBug
Site Admin
Posts: 98
Joined: Tue Sep 25, 2018 6:12 pm
Contact:

Re: keepassxc 2.3.4

Post by RedBug » Tue Feb 19, 2019 6:33 pm

I send you a testflight beta with a fix.
Could you look for it and see if it's beter (it will be :p)
Artisan developer iPhone/Mac, old demoscener & Kyuran owner.
RedBug / Image

hugo
Posts: 5
Joined: Sun Feb 17, 2019 8:05 pm

Re: keepassxc 2.3.4

Post by hugo » Tue Feb 19, 2019 10:10 pm

Awesome, the beta version works flawlessly. :-)

Thanks a lot for the prompt follow-up!

Mr-Fly
Posts: 96
Joined: Tue Sep 25, 2018 7:17 pm

keepassxc 2.3.4

Post by Mr-Fly » Wed Feb 20, 2019 5:36 am

Thanks for your tests.
I talked to redbug about it and I was not able to test it, as the PC version will revert back to KDBX3.1 when I choose AES-KDF.
The combination of KDBX4 and AES-KDF is only done by keepassxc.

Post Reply