Skip to content
This repository was archived by the owner on Mar 27, 2024. It is now read-only.

Commit 2fa20ab

Browse files
authored
chore: Add interop did configuration test (MS) (#3387)
Add MS interop test for did configuration. https://did.rohitgulati.com/.well-known/did-configuration.json Closes #3386 Signed-off-by: Sandra Vrtikapa <sandra.vrtikapa@securekey.com> Signed-off-by: Sandra Vrtikapa <sandra.vrtikapa@securekey.com>
1 parent 496eccc commit 2fa20ab

File tree

2 files changed

+185
-2
lines changed

2 files changed

+185
-2
lines changed

pkg/doc/didconfig/didconfig.go

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,10 @@ import (
2727
var logger = log.New("aries-framework/doc/verifiable")
2828

2929
const (
30-
// ContextV1 of the DID document is the current V1 context name.
30+
// ContextV0 is did configuration context version 0.
31+
ContextV0 = "https://identity.foundation/.well-known/contexts/did-configuration-v0.0.jsonld"
32+
33+
// ContextV1 is did configuration context version 1.
3134
ContextV1 = "https://identity.foundation/.well-known/did-configuration/v1"
3235

3336
domainLinkageCredentialType = "DomainLinkageCredential"
@@ -104,7 +107,7 @@ func VerifyDIDAndDomain(didConfig []byte, did, domain string, opts ...DIDConfigu
104107
}
105108

106109
// failed to verify credential proof - log info and continue to next one
107-
logger.Debugf("skipping domain linkage credential for DID[%s] and domain[%s] due to error: %s",
110+
logger.Warnf("skipping domain linkage credential for DID[%s] and domain[%s] due to error: %s",
108111
did, domain, err.Error())
109112
}
110113

0 commit comments

Comments
 (0)