Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Consider using DIDs to refer to public keys and authentication #161

Open
mmccool opened this issue Feb 24, 2020 · 2 comments
Open

Consider using DIDs to refer to public keys and authentication #161

mmccool opened this issue Feb 24, 2020 · 2 comments
Assignees
Labels

Comments

@mmccool
Copy link
Contributor

mmccool commented Feb 24, 2020

DID documents include information about public keys and authentication requirements, and DID URLs with fragments can be used to refer to this information.

Should we consider adding DID references of this type to particular TD security schemes, eg PSK, OAuth2, etc?

@mmccool
Copy link
Contributor Author

mmccool commented Mar 9, 2020

action: Create a PR into the TD spec for discussion. Note however that DIDs are still in flight, so...

@mmccool mmccool self-assigned this Mar 9, 2020
@mmccool
Copy link
Contributor Author

mmccool commented Mar 23, 2020

Something like the following: in a security scheme that requires keys, like "psk", allow fields like:

"publickey": didURL#keyid;

where didURL#keyid is the URL of a did pointing at a public key.
As noted in issue #166, this requires integrity protection of TDs (at the very least). So if there is an "optional" integrity proof section (for instance), it would be required if there are any references like this.

This would not be for the "update" to the TD, but to "version 2.0" (TD Next). By then I would expect DIDs and JSON-LD signing would be normative or at least REC-track, so we can refer to them cleanly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant