From 6afb1f174f0f4b6480fee16018b4132a3eaff971 Mon Sep 17 00:00:00 2001 From: Maksym Hrynenko Date: Mon, 6 Jan 2025 16:52:50 +0200 Subject: [PATCH] fix: enable fix --- internal/service/api/handlers/register.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/service/api/handlers/register.go b/internal/service/api/handlers/register.go index 1c328ad..69688ca 100644 --- a/internal/service/api/handlers/register.go +++ b/internal/service/api/handlers/register.go @@ -350,7 +350,7 @@ func verifySod( } } - signedAttrHash, err := verifySignature(signature, cert, signedAttributes, *algorithmPair) + signedAttrHash, err := verifySignatureIterated(signature, cert, signedAttributes, *algorithmPair) if err != nil { unwrappedErr := errors2.Unwrap(err) if errors2.Is(unwrappedErr, types.ErrInvalidPublicKey{}) {