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 for did:mailto #147

Open
Gozala opened this issue Nov 29, 2022 · 1 comment
Open

Support for did:mailto #147

Gozala opened this issue Nov 29, 2022 · 1 comment

Comments

@Gozala
Copy link
Collaborator

Gozala commented Nov 29, 2022

General idea is to include did:mailto -> did:key mapping inside a UCAN itself (either in fct or prf) so that received invocations may be verified.

In the initial version we'd want to embed delegation from trusted authority like service itself that authorizes did:key to represent specific did:mailto. In the future version we'd want to embed DKIM header into fct instead to remove need for trusted authority.

@Gozala
Copy link
Collaborator Author

Gozala commented Nov 29, 2022

Just thinking out loud here

  1. If we want stateless UCAN verification, state must be captured inside a UCAN itself.
  2. We can capture did:mailto -> did:key state inside the UCAN to make it work.
  3. State MUST be passed into principal parser to perform resolution (so current API needs to account for it).
    • However some of this is entangled with side-loading of the UCANs which is right now domain of validator
  4. Permanent did:other -> did:key is no good as it can't be revoked
    • Instead we need that mapping to be a UCAN so it has expiry & can be revoked
    • Checking for revocations is another thing that is part of validator and does not belong in principal domain, but we're tangling them now
      • Perhaps we need whole another layer to do all of the resolution before creating non did:key principals.

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

No branches or pull requests

1 participant