SmartTokenLabs / attestation

Paper and implementation of blockchain attestations
MIT License
48 stars 10 forks source link

Capability attestation #213

Open jot2re opened 2 years ago

jot2re commented 2 years ago

Per request from @colourful-land we need to construct a new object called Capability Attestation, which can be used by Token Negotiator to preemptively fetch a token for a specific site. We agreed that such an attestation would include the following fields:

  1. Unique ID (big Integer)
  2. Domain (URL)
  3. notBefore (Unix time)
  4. notAfter (Unix time
  5. Capabilities (Integer or bit string. In the integer case each bit of the integer will represent a capability granted if the bit is 1)
jot2re commented 2 years ago

@colourful-land can you give me a list of the initial capabilities you are thinking about? So far I am just adding, read, write and deletage.

AW-STJ commented 2 years ago

@weiwu-zhang - can you please provide some feedback to Tore on this issue?