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{}) {