mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-12-24 23:09:44 -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);
|
||||
if (!(ykds_touch_level(st) & config)) {
|
||||
// Slot is not configured
|
||||
qWarning("YubiKey slot %d is not configured for %s", slot, serial);
|
||||
continue;
|
||||
}
|
||||
// Don't actually challenge a YubiKey Neo or below, they always require button press
|
||||
|
Loading…
Reference in New Issue
Block a user