ts-ucan icon indicating copy to clipboard operation
ts-ucan copied to clipboard

Auth tokens for a distributed, user-controlled world

Results 15 ts-ucan issues
Sort by recently updated
recently updated
newest added

IMO (feel free to disagree), following Postel's Law, UCAN libraries should be rigid in what they produce, and liberal in what they accept. To this end, it would be amazing...

`delegateCapability` on the Builder API passes the `issuer` as both `audience` and `requiredIssuer` to Store.findWithCapability. This works if the UCAN you are looking for has the capability by parenthood but...

By @dholms in #82: > I briefly tried to do some tsconfig monorepo tricks like config inheritance & a composite config with references to other packages. But the current build...

I was wondering what the API is for validating ucans. In my little demo app i used something `ucan.isValid` -- https://github.com/nichoth/ucan-demo/blob/main/src/index.js#L296 -- but I don't see it documented anywhere now....

[dag-ucan](https://github.com/ipld/js-dag-ucan) had been updated to use dag-cbor as it's primary representation (which is more compact and hash consistent). However while all UCANs in primary representation can be formatted into a...

# Summary ## Problem `ts-ucan` does not allow `nbf` and `nnc` to be `null`. ### Impact `ts-ucan` reports an invalid payload when either of these fields are `null`. ## Solution...

The [UCAN spec](https://github.com/ucan-wg/spec) has a set of test fixtures to check for compliance and interoperability across implementations. Let's use check against these tests. We should wait on two PRs: -...

enhancement

Following example illustrated the issue https://observablehq.com/d/7fb5d13d63f667b9, for convenience including snippet here as well ```js const service = await UCAN.EdKeypair.create() const user = await UCAN.EdKeypair.create() const root = await UCAN.build({ issuer:...

The [spec allows to use CIDs as proofs](https://whitepaper.fission.codes/access-control/ucan/jwt-authentication#proofs): > You can substitute [encoded proofs] for CIDs of the proofs as long as the proof is reachable over IPFS. I'd like...

I was trying to use this library in observable snippet and run into issue, it seems that something is confusing skypack CDN resulting in broken library. Here is the link...