mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-04-05 05:27:39 +03:00
Fix challenge-response key data after Botan
* Fix #6420 * Refactor Challenge-Response key files to be more streamlined. Added a test to confirm raw key data is accurate.
This commit is contained in:
parent
60adcacaaa
commit
fd0bdaae80
14 changed files with 65 additions and 108 deletions
|
@ -23,7 +23,7 @@
|
|||
#include "keys/FileKey.h"
|
||||
#include "keys/PasswordKey.h"
|
||||
#ifdef WITH_XC_YUBIKEY
|
||||
#include "keys/YkChallengeResponseKey.h"
|
||||
#include "keys/ChallengeResponseKey.h"
|
||||
#endif
|
||||
|
||||
#ifdef Q_OS_WIN
|
||||
|
@ -174,7 +174,7 @@ namespace Utils
|
|||
err << QObject::tr("Please touch the button on your YubiKey to continue…") << "\n\n" << flush;
|
||||
});
|
||||
|
||||
auto key = QSharedPointer<YkChallengeResponseKey>(new YkChallengeResponseKey({serial, slot}));
|
||||
auto key = QSharedPointer<ChallengeResponseKey>(new ChallengeResponseKey({serial, slot}));
|
||||
compositeKey->addChallengeResponseKey(key);
|
||||
|
||||
QObject::disconnect(conn);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue