mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-07-01 01:47:31 -04:00
Add a warning in case any of the slots are not configured
This commit is contained in:
parent
f71cca4eba
commit
27febd942e
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue