Fix disable secure aut.

Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
Pol Henarejos 2024-11-27 16:11:18 +01:00
parent c33ed9b968
commit a242a28394
No known key found for this signature in database
GPG key ID: C0095B7870A4CCD3

View file

@ -367,7 +367,7 @@ class SecureLock:
def disable_device_aut(self):
ct = self.get_skey()
self.picohsm.send(cla=0x80, command=0x64, p1=0x3A, p2=0x04, p3=list(ct))
self.picohsm.send(cla=0x80, command=0x64, p1=0x3A, p2=0x04, data=list(ct))
def secure(picohsm, args):
slck = SecureLock(picohsm)