Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add specification for UCAN HTTP bridge #112

Merged
merged 7 commits into from
Mar 5, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: speling
  • Loading branch information
travis committed Feb 26, 2024
commit 31f67d1553abe5aae9295ee275c77cb77b0ab3e0
4 changes: 4 additions & 0 deletions .github/workflows/words-to-ignore.txt
Original file line number Diff line number Diff line change
Expand Up @@ -156,3 +156,7 @@ AccountA
AgentA
IssuerA
AudiencePrincipal
dag-json-encoded
base64url-multibase-encoded
Uint8Array
ed25519
4 changes: 2 additions & 2 deletions w3-ucan-bridge.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Content-Type: application/json
}
```

And receive a dag-json-encoded list of UCAN bridge receipts like:
And receive a DAG-JSON-encoded list of UCAN bridge receipts like:

```json
[
Expand Down Expand Up @@ -133,7 +133,7 @@ async function deriveSigner(headerValue: string): Promise<ed25519.EdSigner> {
}
```

`Authorization` is an IPLD CAR [ed: unixfs encoded? need to understand Delegation archive format better] representing a UCAN delegation.
`Authorization` is an IPLD CAR representing a UCAN delegation.
It should grant the principal identified by `X-Auth-Secret` appropriate capabilities
on the resource identified in the JSON body of the HTTP request.

Expand Down
Loading