The spec repository for did:tdw -- Trust DID Web DID method.
Read the spec: https://identity.foundation/trustdidweb
Proof of concept implementations available:
The did:tdw
(Trust DID Web) method is an enhancement to the
did:web
protocol, providing a complementary web-based DID method that addresses limitations
of did:web
. It's features include the following.
did:web
DID/DIDDoc.did:web
.<did>/path/to/file
by using a comparable DID-to-HTTPS translation
as for the DIDDoc.<did>/whois
that defaults to automatically returning (if
published by the DID controller) a Verifiable Presentation containing
Verifiable Credentials with the DID as the credentialSubject
,
signed by the DID.Combined, the additional features enable greater trust and security without
compromising the simplicity of did:web
. The incorporation of the DID Core
compatible "/whois" path, drawing inspiration from the traditional WHOIS
protocol, offers an easy to use, decentralized, trust registry.
This did:tdw
aims to establish a more trusted and secure web environment by
providing robust verification processes and enabling transparency and
authenticity in the management of decentralized digital identities.
Pull requests (PRs) to this repository may be accepted. Each commit of a PR must
have a DCO (Developer Certificate of Origin -
https://github.com/apps/dco) sign-off. This can
be done from the command line by adding the -s
(lower case) option on the git commit
command (e.g., git commit -s -m "Comment about the commit"
).
Rendering and reviewing the spec locally for testing requires npm
and node
installed. Follow these steps:
node
and npm
.npm install
from the root of your local repository./spec
folder).npm run render
'
npm run edit
to interactively edit, render and review the spec.index.html
file in a browser.The specification is currently in Spec-Up format. See the Spec-Up Documentation for a list of Spec-Up features and functionality.
Spec-Up allows for multiple versions of the spec to be rendered and accessed
on the same site. We use that feature for the did:tdw
spec to snapshot
previous versions of the spec for reference.
To create a snapshot of a version:
spec-v<ver>
. For example v0.3
.spec
folder markdown files from the point of that version into the new folder. If you are doing this process as you are starting a new version, you can just copy the files from the spec
folder of the main branch. Otherwise, you have to find the last commit of the version and get the files from that point in the GitHub history.specs.json
file to include a new specification:
"specs"
array."spec_directory"
property to be the name of the new folder you created."output_path"
property to be ./v<ver>
. For example "./v0.3"
."title"
property the version - Version <ver>
, For example - Version 0.3
.Previous Drafts
bullet list, in the header.md
file in the main spec, so that readers can click on it from the main specification.header.md
file of the new version spec folder (e.g in spec-v0.3
) to:
HISTORICAL -- **THIS IS NOT THE CURRENT VERSION OF THE SPECIFICATION**
Past Drafts
section and put a relative link back to the current spec -- such as:**Latest Version:**
- Specification: [https://identity.foundation/trustdidweb/](../)
- Repository: [https://github.com/decentralized-identity/trustdidweb](https://github.com/decentralized-identity/trustdidweb)