Description of problem: When the database is in format version 4, then only character salad is shown Version-Release number of selected component (if applicable): kpcli-2.7-3.el7.noarch How reproducible: Every time Steps to Reproduce: 1. open an keepassx file Actual results: Only character salad is shown on the screen. Expected results: Working database or an message, that version 4 is currently not supported. Additional info:
Not a fix, but this is the info provided by kpcli upstream: Version 4 of the KDBX file format is unsupported KeePass 2.35 introduced version 4 of the KDBX file format (KDBXv4) and it is unsuported by File::KeePass. File::KeePass can only decrypt databases encrypted with AES and newer KeePass versions offer ChaCha20, which will also save the file as KDBXv4. You can use the File -> Database Settings -> Security tab to change the encryption algorithm to AES/Rijndael and, as of KeePass 2.46, kpcli will be able to operate on the files. https://keepass.info/help/kb/kdbx_4.html
As stated by Charles R. Anderson this file format is not supported by kpcli.