Skip to content

Commit

Permalink
feat: drop did:sov (#1829)
Browse files Browse the repository at this point in the history
  • Loading branch information
skynet2 authored Jan 2, 2025
1 parent 56e373a commit 3429aaf
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions pkg/doc/vc/crypto/crypto.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ package crypto

import (
"fmt"
"strings"
"time"

"github.com/piprate/json-gold/ld"
Expand Down Expand Up @@ -499,12 +498,6 @@ func (c *Crypto) GetSigner(

// ValidateProofPurpose validates the proof purpose.
func ValidateProofPurpose(proofPurpose, method string, didDoc *did.Doc) error {
// TODO https://github.com/trustbloc/vcs/issues/368 remove check once did:sov returns both
// assertionMethod and authentication
if strings.Contains(method, "did:sov") {
return nil
}

var vmMatched bool

switch proofPurpose {
Expand Down

0 comments on commit 3429aaf

Please sign in to comment.