ucan-wg / spec

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

Should `att` be required ? #105

Closed Gozala closed 2 years ago

Gozala commented 2 years ago

I just noticed that spec states that att is optional, which seems odd. What would be the use case for the UCAN which does not delegate any capabilities ?

If there is no real use case for it should it be made mandatory ?

expede commented 2 years ago

You can use UCAN to prove that you have access to something without delegating capabilities, sign challenges, and so on. We use this in AWAKE, for instance.

I agree that the field should be mandatory, and [] in the (e.g.) AWAKE case. Will fix 👍