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: include ucanto server principal did as 'aud' key in /version endpoint #309

Merged
merged 3 commits into from
Dec 14, 2022

Conversation

gobengo
Copy link
Contributor

@gobengo gobengo commented Dec 14, 2022

Motivation:

  • make it easy to discover the ucanto server principal
  • unlike reverted PR, don't change did property
    • because at least @web3-storage/access cli expects to be able to parse that value as a Verifier, which it can only do when the did is a did:key

@gobengo gobengo self-assigned this Dec 14, 2022
@gobengo gobengo added this to the w3up phase 1 milestone Dec 14, 2022
@gobengo gobengo temporarily deployed to dev December 14, 2022 00:10 — with GitHub Actions Inactive
@gobengo gobengo requested review from Gozala and alanshaw December 14, 2022 00:10
Copy link
Member

@alanshaw alanshaw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense - thanks for fixing, reverting and refixing :)

@gobengo gobengo merged commit bf3b171 into main Dec 14, 2022
@gobengo gobengo deleted the 1670971492-access-api-version-verifier branch December 14, 2022 00:27
alanshaw pushed a commit that referenced this pull request Dec 14, 2022
🤖 I have created a release *beep* *boop*
---


##
[4.1.0](access-api-v4.0.0...access-api-v4.1.0)
(2022-12-14)


### Features

* access-api version route sets did=ucantoServerId and adds a signer
prop ([#305](#305))
([5eab262](5eab262))
* embedded key resolution
([#312](#312))
([4da91d5](4da91d5))
* include ucanto server principal did as 'aud' key in /version endpoint
([#309](#309))
([bf3b171](bf3b171))


### Bug Fixes

* access-api ctx.signer no longer uses env.DID. instead env.DID is only
used for ucanto server id
([#303](#303))
([93d7003](93d7003))
* access-api wrangler.toml sets DID env var in env.dev
([#297](#297))
([c4ca459](c4ca459))
* access-client/src/agent default PRINCIPAL is did:web:web3.storage
([#296](#296))
([27f2f60](27f2f60))
* add support for did:web in the cli
([#301](#301))
([885f7c1](885f7c1))
* fix client cli service did resolve
([#292](#292))
([6be9608](6be9608))
* use did:web key in root handler
([#311](#311))
([537dc48](537dc48))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: Alan Shaw <alan.shaw@protocol.ai>
gobengo added a commit that referenced this pull request Apr 11, 2023
…dpoint (#309)

Motivation:
* make it easy to discover the ucanto server principal
* unlike [reverted
PR](#305), don't change
`did` property
* because at least `@web3-storage/access` cli expects to be able to
parse that value as a Verifier, which it can only do when the `did` is a
`did:key`
gobengo pushed a commit that referenced this pull request Apr 11, 2023
🤖 I have created a release *beep* *boop*
---


##
[4.1.0](access-api-v4.0.0...access-api-v4.1.0)
(2022-12-14)


### Features

* access-api version route sets did=ucantoServerId and adds a signer
prop ([#305](#305))
([7452839](7452839))
* embedded key resolution
([#312](#312))
([45f367d](45f367d))
* include ucanto server principal did as 'aud' key in /version endpoint
([#309](#309))
([45e19ca](45e19ca))


### Bug Fixes

* access-api ctx.signer no longer uses env.DID. instead env.DID is only
used for ucanto server id
([#303](#303))
([1155998](1155998))
* access-api wrangler.toml sets DID env var in env.dev
([#297](#297))
([7f4082f](7f4082f))
* access-client/src/agent default PRINCIPAL is did:web:web3.storage
([#296](#296))
([1dd7217](1dd7217))
* add support for did:web in the cli
([#301](#301))
([a1f9e85](a1f9e85))
* fix client cli service did resolve
([#292](#292))
([45e7ad4](45e7ad4))
* use did:web key in root handler
([#311](#311))
([d7bdade](d7bdade))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: Alan Shaw <alan.shaw@protocol.ai>
Peeja pushed a commit to storacha/upload-service that referenced this pull request Jan 17, 2025
Add an import flow to add a space from a user provided ucan that
delegates * capabilites on a space created by another agent.

Provides the w3console agent DID, so you can send it to the other party
to create a delegation _just for you_


https://user-images.githubusercontent.com/58871/215516054-de617762-2e2d-4ff1-b6f9-c20772b46327.mov




License: MIT
Signed-off-by: Oli Evans <oli@protocol.ai>
Peeja pushed a commit to storacha/upload-service that referenced this pull request Jan 17, 2025
🤖 I have created a release *beep* *boop*
---


##
[2.2.0](storacha/w3ui@keyring-core-v2.1.1...keyring-core-v2.2.0)
(2023-02-06)


### Features

* new `addSpace` function that enables clients to import a space given a an appropriate `Delegation`
([storacha#309](storacha/w3ui#309))
([a69a95b](storacha/w3ui@a69a95b))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Peeja pushed a commit to storacha/upload-service that referenced this pull request Jan 17, 2025
🤖 I have created a release *beep* *boop*
---


##
[3.0.0](storacha/w3ui@react-keyring-v2.1.0...react-keyring-v3.0.0)
(2023-02-06)


### ⚠ BREAKING CHANGES

* no breaking changes, but a major version bump because I made an error operating release-please

### Features

* "Headless" UI components
([#136](storacha/w3ui#136))
([46583e0](storacha/w3ui@46583e0))
* delegate access to spaces
([storacha#293](storacha/w3ui#293))
([441d757](storacha/w3ui@441d757))
* import a space into w3console
([storacha#309](storacha/w3ui#309))
([a69a95b](storacha/w3ui@a69a95b))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Travis Vachon <travis@dag.house>
Peeja pushed a commit to storacha/upload-service that referenced this pull request Jan 17, 2025
🤖 I have created a release *beep* *boop*
---


##
[2.1.0](storacha/w3ui@solid-keyring-v2.0.1...solid-keyring-v2.1.0)
(2023-02-06)


### Features

* delegate access to spaces
([storacha#293](storacha/w3ui#293))
([441d757](storacha/w3ui@441d757))
* import a space into w3console
([storacha#309](storacha/w3ui#309))
([a69a95b](storacha/w3ui@a69a95b))


### Bug Fixes

* get solid examples working again
([storacha#199](storacha/w3ui#199))
([78ad7e9](storacha/w3ui@78ad7e9))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Travis Vachon <travis@dag.house>
Peeja pushed a commit to storacha/upload-service that referenced this pull request Jan 17, 2025
🤖 I have created a release *beep* *boop*
---


## 1.0.0 (2023-03-23)


### ⚠ BREAKING CHANGES

* use new account model
([storacha#400](storacha/w3ui#400))

### Features

* add terms of service page
([storacha#417](storacha/w3ui#417))
([6deb24d](storacha/w3ui@6deb24d))
* adds space-finder autocomplete combobox
([storacha#268](storacha/w3ui#268))
([3dcd647](storacha/w3ui@3dcd647))
* allow users to set page size in W3APIProvider
([storacha#308](storacha/w3ui#308))
([814a293](storacha/w3ui@814a293))
* club tropical w3 auth boxen
([storacha#350](storacha/w3ui#350))
([2266eb2](storacha/w3ui@2266eb2))
* delegate access to spaces
([storacha#293](storacha/w3ui#293))
([441d757](storacha/w3ui@441d757))
* import a space into w3console
([storacha#309](storacha/w3ui#309))
([a69a95b](storacha/w3ui@a69a95b))
* Improve upload component flow
([storacha#285](storacha/w3ui#285))
([ba9a3bf](storacha/w3ui@ba9a3bf))
* publish console to IPFS & Cloudflare from CI
([storacha#287](storacha/w3ui#287))
([e2a833e](storacha/w3ui@e2a833e))
* Storybook story improvements
([storacha#294](storacha/w3ui#294))
([e0de2cc](storacha/w3ui@e0de2cc))
* use new account model
([storacha#400](storacha/w3ui#400))
([66dd20b](storacha/w3ui@66dd20b))
* w3console example app
([storacha#255](storacha/w3ui#255))
([df08029](storacha/w3ui@df08029))


### Bug Fixes

* add _headers ([storacha#418](storacha/w3ui#418))
([4eb1da1](storacha/w3ui@4eb1da1))
* fix w3console styling
([storacha#320](storacha/w3ui#320))
([74a298c](storacha/w3ui@74a298c))
* remove authenticator class when registed
([storacha#352](storacha/w3ui#352))
([3668f3b](storacha/w3ui@3668f3b))
* w3console polish
([storacha#284](storacha/w3ui#284))
([9a67365](storacha/w3ui@9a67365))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Peeja pushed a commit to storacha/upload-service that referenced this pull request Jan 29, 2025
Add an import flow to add a space from a user provided ucan that
delegates * capabilites on a space created by another agent.

Provides the w3console agent DID, so you can send it to the other party
to create a delegation _just for you_


https://user-images.githubusercontent.com/58871/215516054-de617762-2e2d-4ff1-b6f9-c20772b46327.mov




License: MIT
Signed-off-by: Oli Evans <oli@protocol.ai>
Peeja pushed a commit to storacha/upload-service that referenced this pull request Jan 29, 2025
🤖 I have created a release *beep* *boop*
---


##
[2.2.0](storacha/w3ui@keyring-core-v2.1.1...keyring-core-v2.2.0)
(2023-02-06)


### Features

* new `addSpace` function that enables clients to import a space given a an appropriate `Delegation`
([storacha#309](storacha/w3ui#309))
([f9df8a8](storacha/w3ui@f9df8a8))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Peeja pushed a commit to storacha/upload-service that referenced this pull request Jan 29, 2025
🤖 I have created a release *beep* *boop*
---


##
[3.0.0](storacha/w3ui@react-keyring-v2.1.0...react-keyring-v3.0.0)
(2023-02-06)


### ⚠ BREAKING CHANGES

* no breaking changes, but a major version bump because I made an error operating release-please

### Features

* "Headless" UI components
([#136](storacha/w3ui#136))
([b702889](storacha/w3ui@b702889))
* delegate access to spaces
([storacha#293](storacha/w3ui#293))
([d99c96c](storacha/w3ui@d99c96c))
* import a space into w3console
([storacha#309](storacha/w3ui#309))
([f9df8a8](storacha/w3ui@f9df8a8))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Travis Vachon <travis@dag.house>
Peeja pushed a commit to storacha/upload-service that referenced this pull request Jan 29, 2025
🤖 I have created a release *beep* *boop*
---


##
[2.1.0](storacha/w3ui@solid-keyring-v2.0.1...solid-keyring-v2.1.0)
(2023-02-06)


### Features

* delegate access to spaces
([storacha#293](storacha/w3ui#293))
([d99c96c](storacha/w3ui@d99c96c))
* import a space into w3console
([storacha#309](storacha/w3ui#309))
([f9df8a8](storacha/w3ui@f9df8a8))


### Bug Fixes

* get solid examples working again
([storacha#199](storacha/w3ui#199))
([9b8c1ef](storacha/w3ui@9b8c1ef))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Travis Vachon <travis@dag.house>
Peeja pushed a commit to storacha/upload-service that referenced this pull request Jan 29, 2025
🤖 I have created a release *beep* *boop*
---


## 1.0.0 (2023-03-23)


### ⚠ BREAKING CHANGES

* use new account model
([storacha#400](storacha/w3ui#400))

### Features

* add terms of service page
([storacha#417](storacha/w3ui#417))
([e216efd](storacha/w3ui@e216efd))
* adds space-finder autocomplete combobox
([storacha#268](storacha/w3ui#268))
([5894cdc](storacha/w3ui@5894cdc))
* allow users to set page size in W3APIProvider
([storacha#308](storacha/w3ui#308))
([22d917a](storacha/w3ui@22d917a))
* club tropical w3 auth boxen
([storacha#350](storacha/w3ui#350))
([92fa065](storacha/w3ui@92fa065))
* delegate access to spaces
([storacha#293](storacha/w3ui#293))
([d99c96c](storacha/w3ui@d99c96c))
* import a space into w3console
([storacha#309](storacha/w3ui#309))
([f9df8a8](storacha/w3ui@f9df8a8))
* Improve upload component flow
([storacha#285](storacha/w3ui#285))
([4f5cf4f](storacha/w3ui@4f5cf4f))
* publish console to IPFS & Cloudflare from CI
([storacha#287](storacha/w3ui#287))
([df4715a](storacha/w3ui@df4715a))
* Storybook story improvements
([storacha#294](storacha/w3ui#294))
([c031ff7](storacha/w3ui@c031ff7))
* use new account model
([storacha#400](storacha/w3ui#400))
([b594536](storacha/w3ui@b594536))
* w3console example app
([storacha#255](storacha/w3ui#255))
([fbcdc42](storacha/w3ui@fbcdc42))


### Bug Fixes

* add _headers ([storacha#418](storacha/w3ui#418))
([625199d](storacha/w3ui@625199d))
* fix w3console styling
([storacha#320](storacha/w3ui#320))
([31cbe91](storacha/w3ui@31cbe91))
* remove authenticator class when registed
([storacha#352](storacha/w3ui#352))
([e115f9f](storacha/w3ui@e115f9f))
* w3console polish
([storacha#284](storacha/w3ui#284))
([654d507](storacha/w3ui@654d507))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants