The root cause of this failure to open certain Argon2id-encrypted KeePass databases likely lies upstream in Perl's File::KDBX module (or its underlying Argon2 XS binding, such as Crypt::Argon2) rather than in kpcli itself. The error message ("Couldn't compute argon2id tag: Memory size much be at least a kilobyte" — complete with the "much" versus "must" typo) comes straight from the File::KDBX module.
Please provide additional diagnostic details such as the operating system/architecture (32-bit vs. 64-bit matters significantly for Argon2 memory parameters), the installed versions of various Perl modules (you can sent the output of kpcli's vers -v command), and which KeePass client (e.g., KeePassXC, KeePass 2, Strongbox) generated or last saved the database. A sample database on which kpcli fails would also be very helpful.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The root cause of this failure to open certain Argon2id-encrypted KeePass databases likely lies upstream in Perl's
File::KDBXmodule (or its underlying Argon2 XS binding, such asCrypt::Argon2) rather than in kpcli itself. The error message ("Couldn't compute argon2id tag: Memory size much be at least a kilobyte" — complete with the "much" versus "must" typo) comes straight from theFile::KDBXmodule.Please provide additional diagnostic details such as the operating system/architecture (32-bit vs. 64-bit matters significantly for Argon2 memory parameters), the installed versions of various Perl modules (you can sent the output of kpcli's vers -v command), and which KeePass client (e.g., KeePassXC, KeePass 2, Strongbox) generated or last saved the database. A sample database on which kpcli fails would also be very helpful.