keechallenge icon indicating copy to clipboard operation
keechallenge copied to clipboard

Cannot open file created in KeePassXC

Open krautcat opened this issue 2 years ago • 1 comments

Hi there,

I have an issue with opening database created in KeePassX and upgraded to OTP secret in KeePassXC.

This is my KeePass installation directory tree:

PS C:\Program Files\KeePass Password Safe 2> tree /f
Структура папок
Серийный номер тома: 007A-B001
C:.
│   KeePass.chm
│   KeePass.config.xml
│   KeePass.exe
│   KeePass.exe.config
│   KeePass.XmlSerializers.dll
│   KeePassLibC32.dll
│   KeePassLibC64.dll
│   License.txt
│   ShInstUtil.exe
│   unins000.dat
│   unins000.exe
│
├───Languages
├───Plugins
│   │   KeeAnywhere-2.0.3.plgx
│   │
│   └───KeeChallenge_1.5
│       │   KeeChallenge.dll
│       │   KeeChallenge.dll.config
│       │
│       ├───32bit
│       │       libjson-0.dll
│       │       libjson-c-2.dll
│       │       libykpers-1-1.dll
│       │       libyubikey-0.dll
│       │
│       └───64bit
│               libjson-0.dll
│               libjson-c-2.dll
│               libykpers-1-1.dll
│               libyubikey-0.dll
│
└───XSL
       KDBX_Common.xsl
       KDBX_DetailsFull_HTML.xsl
       KDBX_DetailsLight_HTML.xsl
       KDBX_PasswordsOnly_TXT.xsl
       KDBX_Tabular_HTML.xsl 

Placing dll's into directory with KeeChallenge.dll didn't help. Also placing all dlls into the directory with KeePass's exe file didn't help too.

Tried to open local file and change the slot, nothing helped.

Error message: in attachement.

krautcat avatar Jul 24 '22 21:07 krautcat

Unfortunately, the OTP mechanisms used by KeeChallenge and by KeePassXC are fundamentally incompatible. One requires a ride-along XML file, while the other changes the database file itself on every save. (These have different security and usability implications, and neither is strictly superior.) Check https://keepassxc.org/docs/#faq-yubikey-no-extra-file for more info.

TuggyNE avatar Oct 19 '22 02:10 TuggyNE