aboutsummaryrefslogtreecommitdiffhomepage
path: root/pyecsca/codegen/client.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyecsca/codegen/client.py')
-rw-r--r--pyecsca/codegen/client.py2
1 files changed, 1 insertions, 1 deletions
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