From a242a28394ca1fcbd4d5cbfe1037da95f176d908 Mon Sep 17 00:00:00 2001 From: Pol Henarejos Date: Wed, 27 Nov 2024 16:11:18 +0100 Subject: [PATCH] Fix disable secure aut. Signed-off-by: Pol Henarejos --- tools/pico-hsm-tool.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/pico-hsm-tool.py b/tools/pico-hsm-tool.py index 283da53..944b6b3 100644 --- a/tools/pico-hsm-tool.py +++ b/tools/pico-hsm-tool.py @@ -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)