ucan-wg / spec

User Controlled Authorization Network (UCAN) Specification
https://ucan.xyz
Other
197 stars 18 forks source link

Proposal: Make `with` optional to default to issuer did #78

Closed Gozala closed 2 years ago

Gozala commented 2 years ago

Most of our capabilities tend to be self issued. For such capabilities we use did:key: of the issuer as a resource as that is pretty much only "resource" that user can credibly claim that would not:

  1. Require out of bound checks
  2. Capability specific validation logic (e.g. certain signatures)

This approach leads to lot of redundant with fields which are the same as the token issuer. What if we made with optional field and when omitted implied issuer did ?

Gozala commented 2 years ago

Closing this as I don't think it's worth it.