From 78de92e67a4691a588c7837bccd05310490db961 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Attilio=20Don=C3=A0?= Date: Mon, 10 Jun 2024 22:08:08 +0200 Subject: [PATCH] Add info trace --- src/broker.jl | 1 + 1 file changed, 1 insertion(+) diff --git a/src/broker.jl b/src/broker.jl index 9094549..7afb94d 100644 --- a/src/broker.jl +++ b/src/broker.jl @@ -291,6 +291,7 @@ function verify_signature(twin, msg) hash = MbedTLS.digest(MD_SHA256, plain) MbedTLS.verify(ctx, MD_SHA256, hash, msg.signature) catch e + @info "verify signature: $e ($(typeof(e)))" if isa(e, MbedTLS.MbedException) && e.ret == MbedTLS.MBEDTLS_ERR_RSA_VERIFY_FAILED rethrow()