Bug 1820134

Summary: Unable to open databases using format version 4
Product: [Fedora] Fedora EPEL Reporter: Frank Büttner <bugzilla>
Component: kpcliAssignee: Matías Kreder <mkreder>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: epel7CC: cra, echevemaster, mkreder
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-04-24 22:52:08 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Frank Büttner 2020-04-02 10:45:07 UTC
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:

Comment 1 Charles R. Anderson 2020-12-08 21:20:21 UTC
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

Comment 2 Matías Kreder 2021-04-24 22:52:08 UTC
As stated by Charles R. Anderson this file format is not supported by kpcli.