mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-20 21:33:47 -07:00
rcovered_pk: fix c/h for partial in selftests
This commit is contained in:
parent
f26727eb28
commit
86de7f512c
1 changed files with 2 additions and 1 deletions
|
@ -229,7 +229,8 @@ def selftests():
|
|||
elif len(t['samples'])//2 == 1:
|
||||
recovereds = [(c, h) for c, h, pk in list(recovered)
|
||||
if t['pk'].lower() == binascii.hexlify(pk).decode('utf8').lower()]
|
||||
if len(recovereds) > 0:
|
||||
if len(recovereds) == 1:
|
||||
c, h = recovereds[0]
|
||||
print("%15s/%-8s ( %s ) partial" % (c, h, color('ok', fg='green')))
|
||||
else:
|
||||
succeeded = False
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue