mirror of
https://github.com/brmlab/brmdoor_libnfc.git
synced 2025-06-07 16:14:01 +02:00
HMAC failure is logged.
This commit is contained in:
parent
d4eff7da3a
commit
785c5ddbed
1 changed files with 1 additions and 0 deletions
|
@ -132,6 +132,7 @@ class YubikeyHMACAuthenthicator(object):
|
|||
return None
|
||||
|
||||
if not self.hmacCheck(secretKey, challenge, rapdu.data()):
|
||||
logging.info("HMAC check failed for UID %s", uid_hex)
|
||||
return None
|
||||
|
||||
return UidRecord(uid_hex, nick)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue