Menu ▾ ▴

#61 Error opening Argon2id protected database

v1.0 (example)
accepted
None
9
16 hours ago
2 days ago
No

When attempting to open some databases protected with argon2id the error appears:

Errors from File::KDBX:
Failed to load KDBX file: Couldn't compute argon2id tag: Memory size much be at least a kilobyte

kpcli version 4.1.3

Discussion

  • Lester Hightower

    Lester Hightower - 16 hours ago
    • status: open --> accepted
    • assigned_to: Lester Hightower
    • Priority: 5 --> 9
     
  • Lester Hightower

    Lester Hightower - 16 hours ago

    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.

     

Log in to post a comment.