From 0e2ea6d73de46fbb8297266ebb84e5032fb43dc0 Mon Sep 17 00:00:00 2001 From: reinkrul Date: Thu, 12 Dec 2024 12:30:02 +0100 Subject: [PATCH] Update vdr/didx509/resolver.go Co-authored-by: Gerard Snaauw <33763579+gerardsn@users.noreply.github.com> --- vdr/didx509/resolver.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vdr/didx509/resolver.go b/vdr/didx509/resolver.go index 0696b376c..0986cd4c1 100644 --- a/vdr/didx509/resolver.go +++ b/vdr/didx509/resolver.go @@ -117,7 +117,7 @@ func (r Resolver) Resolve(id did.DID, metadata *resolver.ResolveMetadata) (*did. return nil, nil, err } if bytes.Equal(caFingerprintCert.Raw, validationCert.Raw) { - return nil, nil, fmt.Errorf("did:509 ca-fingerprint refers to leaf certificate, must be either root or intermediate CA certificate") + return nil, nil, fmt.Errorf("did:x509 ca-fingerprint refers to leaf certificate, must be either root or intermediate CA certificate") } // Validate certificate chain, checking signatures and whether the chain is complete