spruceid / cacao-zcap Goto Github PK
View Code? Open in Web Editor NEWCACAO-ZCAP Specification
Home Page: https://demo.didkit.dev/2022/cacao-zcap/
License: Creative Commons Attribution 4.0 International
CACAO-ZCAP Specification
Home Page: https://demo.didkit.dev/2022/cacao-zcap/
License: Creative Commons Attribution 4.0 International
As noticed by @cobward,
The first value of the CACAO payload resources array is used as the invocation target URI, that is the value of the zcap delegation's invocationTarget property. The invocation target URI is encoded into a root zcap URN to become the root capability id.
In a delegation where the invocation target is attenuated by path or query, the invocationTarget
value will be different (attenuated) from that of the parent delegation, but the root zcap id (first value of the capabilityChain
array proof.capabilityChain[0]
) must still be the same. Therefore, the first value of the CACAO payload resources array (p.resources[0]
) cannot be used directly in a secondary delegation for both the invocationTarget
value and the root zcap id (proof.capabilityChain[0]
). To handle this, the first resource (p.resources[0]
) could be split into two (p.resources[0]
and p.resources[1]
) - one for the invocationTarget
and the other for the root zcap id (or, equivalently for the root zcap's invocationTarget).
Currently these terms are defined:
This context file URL is defined:
A better way may be to use w3id.org (https://github.com/perma-id/w3id.org/). e.g. requesting a /cacao/
directory.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.