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

Feature: Authorized Presenters #76

Open
OR13 opened this issue Mar 21, 2021 · 4 comments
Open

Feature: Authorized Presenters #76

OR13 opened this issue Mar 21, 2021 · 4 comments

Comments

@OR13
Copy link
Collaborator

OR13 commented Mar 21, 2021

Users should be able to store configurations in their wallet that help provide UI or software automation support for reducing friction associated with verifiable presentations.

For example the what-is-the-difference-between-authorized-keys-and-known-hosts-file-for-ssh

A holder may wish to configure their wallet to automatically store presentations from certain holders, without buffering them... or may wish to only buffer presentations that contain credentials that not in their "Authorized Presenters" list.

This object is similar to Connection, in that it relates to an established relationship between parties.

@OR13
Copy link
Collaborator Author

OR13 commented Mar 21, 2021

Related VC HTTP API PR: w3c-ccg/vc-api#168

@OR13
Copy link
Collaborator Author

OR13 commented Mar 26, 2021

I am proposing that this object by useful to determine if a presentation should be stored.... in pseudo code:

Holder 1 -> Notify -> Holder 2
Holder 1 <- Domain, Challenge <- Holder 2

Holder 1 -> Present -> Holder 2

...

Holder 2 Lookup AuthorizedPresenters if presentation is authorized (matches expectations)

Holder 2 store credentials in PendingPresentations

...

Holder 1 <- Receipt? <- Holder 2

@sudeshrshetty
Copy link
Contributor

sudeshrshetty commented Apr 6, 2021

@OR13 Do you think we need new interfaces for these holder presentation exchange scenarios? (adding notify & present & authorizePresenter etc)

or based on query type we can modify existing wallet.query() interface to support some of steps in this flow.

@OR13
Copy link
Collaborator Author

OR13 commented Apr 7, 2021

@sudeshrshetty good question. I have been designing them as new interfaces... and am running into the stateful persistence issues related to them its all pretty experimental currently, but I am working on it here: transmute-industries/verifiable-data#30

once it feels like the api is good I will open a PR that should be easier to review.

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

No branches or pull requests

2 participants