Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Support DID v1.0 #204

Merged
merged 29 commits into from
Jul 17, 2023
Merged

Support DID v1.0 #204

merged 29 commits into from
Jul 17, 2023

Conversation

jasny
Copy link
Member

@jasny jasny commented Jul 17, 2023

Removed ltox DIDs. Closes #195
Removed derived identities. Closes #196

Added support for DID services. Closes #146
Added versioning (versionTime query parameter). Closes #200
Added support for deactivation. Closes #203
Index deactivation capability.

General fixes to the repository.

jasny added 29 commits June 23, 2023 12:15
Write only of verification methods.
Determine the current ones on read.
Support versioning for DID documents.
Resolve method returns metadata.

For storage, add option to store Buffer in set.
Store verification methods as binary data.
Use data entries of association tx to determine verification methods.

Tests needed
Store binary value as base64 encoded with leveldb (for now).
Fix issue with resolving DID document.
Store verification method timestamps as long.
This has been moved to a separate repo.
Fix all tests unrelated to DID service.

Use directory for local config files.
In the directory use the env name, so you don't use the local dev config when running tests.
ESLint config copied from LTO Relay project.
Return `updated` property in DID metadata
Add LTO `buildAddress` and `networkId` functions.
Fix existing tests
Embed deactivation method as capabilityInvocation and don't list it under verification methods.
Include all verification relationships in DID document, even if they're empty.
Add tests for indexing DID services.
Small fixes.
Fix incorrect mock for association tests.
Fix DID listener tests
Minor fixes to make response standard compliant.
@jasny jasny merged commit 7a42395 into master Jul 17, 2023
@jasny jasny deleted the did-resolution branch July 17, 2023 20:51
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
1 participant