From 0fde32d49ca8bcba19a370125be99ad0c7572009 Mon Sep 17 00:00:00 2001 From: J08nY Date: Fri, 6 Mar 2020 09:34:16 +0100 Subject: Fix dynamic trigger command, do not trigger on command processing. --- pyecsca/codegen/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pyecsca/codegen/client.py') diff --git a/pyecsca/codegen/client.py b/pyecsca/codegen/client.py index 2b74f7a..2a906d3 100644 --- a/pyecsca/codegen/client.py +++ b/pyecsca/codegen/client.py @@ -141,7 +141,7 @@ def cmd_ecdsa_verify(data: bytes, sig: bytes) -> str: @public def cmd_set_trigger(actions: Triggers) -> str: vector_bytes = actions.to_bytes(4, "little") - return "t" + hexlify(vector_bytes) + return "t" + hexlify(vector_bytes).decode() @public -- cgit v1.3.1