did icon indicating copy to clipboard operation
did copied to clipboard

A golang package to work with Decentralized Identifiers (DIDs)

Results 7 did issues
Sort by recently updated
recently updated
newest added

Expect this to succeed: ```golang t.Run("ok - parse a DID URL", func(t *testing.T) { id, err := ParseDID("did:nuts:123/path#fragment") assert.NoError(t, err) assert.Equal(t, "did:nuts:123/path#fragment", id.String()) }) ``` Get this instead: ``` ===...

Related to #3 https://github.com/w3c-ccg/did-spec/issues/90 https://github.com/decentralized-identity/did-common-java/blob/master/src/main/resources/did.abnf https://lists.w3.org/Archives/Public/public-credentials/2018Nov/thread.html#msg159

enhancement

We could maybe support passing in functions that return `bool` that are run at this point in `parseID` https://github.com/ockam-network/did/blob/master/did.go#L260 If the functions returns true only then the ID would be...

enhancement

The did:web method specification allows port numbers in url encoded format as part of the `method-specific-id`: https://w3c-ccg.github.io/did-method-web/#method-specific-identifier Example: `did:web:example.com%3A3000`. The library does not allow `%` in the `method-specific-id`. The current...

Test case `did:example:123;service=agent` is not a valid DID. The method-specific identifier does not permit any semicolon (';') characters, and paths should start with a slash ('/').