KeepassX version 0.4.4 and earlier use *.kdb (V1). KeepassX version 2.0.0 and higher use *.kdbx (V2).
I do now know what your problem is, but you might want to try keepass2, keepassxc, and/or read about "Version 4 of the KDBX file format is unsupported" here: https://sourceforge.net/projects/kpcli/files/ -- Lester On Wed, Dec 30, 2020 at 11:30 PM Alex Wang <1874...@bugs.launchpad.net> wrote: > I have a correction to my previous comment: Instead of asking, "Is this > behavior of Keepass new?" I want to convey, "Is this behavior of > KeePassX new?" > > -- > You received this bug notification because you are subscribed to kpcli > in Ubuntu. > Matching subscriptions: lester.highto...@gmail.com > https://bugs.launchpad.net/bugs/1874161 > > Title: > kpcli is unable to open a kdbx file if the file is locked by both a > password and a key file > > Status in kpcli package in Ubuntu: > New > > Bug description: > I created a kdbx file through the KeePassX GUI application. This > database is locked with both a password and a key file. I try to > unlock the database through the kpcli command line tool with the > following commands inside the kpcli prompt: > > open <my kdbx file> <my key file> > > I am then prompted for my password. After I enter my password, kpcli > presents to me the following error message: > > Couldn't load the file kpstuff2.kdbx: The database key appears > invalid or else the database is corrupt. > > However, I am able to unlock the file through the KeePassX GUI > application. I am also able to unlock other database files that are > locked only with a password. I am unable to unlock databases that are > locked with both a password and a key file. > > Expected behavior: I think kpcli should be able to unlock a database > with a password and a key file if the key file is generated through > KeePassX. > > System information: > Description: Ubuntu 18.04.4 LTS > Release: 18.04 > > kpcli package info: > kpcli: > Installed: 3.1-3 > Candidate: 3.1-3 > > ProblemType: Bug > DistroRelease: Ubuntu 18.04 > Package: kpcli 3.1-3 > ProcVersionSignature: Ubuntu 4.15.0-96.97-generic 4.15.18 > Uname: Linux 4.15.0-96-generic x86_64 > ApportVersion: 2.20.9-0ubuntu7.14 > Architecture: amd64 > CurrentDesktop: XFCE > Date: Tue Apr 21 18:01:58 2020 > EcryptfsInUse: Yes > PackageArchitecture: all > SourcePackage: kpcli > UpgradeStatus: Upgraded to bionic on 2019-03-06 (412 days ago) > > To manage notifications about this bug go to: > https://bugs.launchpad.net/ubuntu/+source/kpcli/+bug/1874161/+subscriptions > -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1874161 Title: kpcli is unable to open a kdbx file if the file is locked by both a password and a key file To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/kpcli/+bug/1874161/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs