mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-01-12 07:49:55 -05:00
Add a warning in case any of the slots are not configured
This commit is contained in:
parent
f71cca4eba
commit
27febd942e
@ -151,6 +151,7 @@ YubiKey::KeyMap YubiKeyInterfaceUSB::findValidKeys()
|
|||||||
auto config = (slot == 1 ? CONFIG1_VALID : CONFIG2_VALID);
|
auto config = (slot == 1 ? CONFIG1_VALID : CONFIG2_VALID);
|
||||||
if (!(ykds_touch_level(st) & config)) {
|
if (!(ykds_touch_level(st) & config)) {
|
||||||
// Slot is not configured
|
// Slot is not configured
|
||||||
|
qWarning("YubiKey slot %d is not configured for %s", slot, serial);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
// Don't actually challenge a YubiKey Neo or below, they always require button press
|
// Don't actually challenge a YubiKey Neo or below, they always require button press
|
||||||
|
Loading…
Reference in New Issue
Block a user