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

Specify roles/components in endpoint steps for Supply Chain Import #5

Merged
merged 3 commits into from
Jan 25, 2022
Merged
Changes from all commits
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
52 changes: 33 additions & 19 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -188,18 +188,24 @@ <h3>Get Digital Permanent Resident Card</h3>
<li>X. Website as Consumer</li>
</ul></p>
<p><b>Endpoints: </b><ul>
<li>1. /presentations/Available,</li>
<li>[
<i> 1. Issuer-Service /identity/map (out of scope for this spec: lookup code to map to DID/do 2FA)</i>,
]</li>
<li>2. Issuer-App /presentations/issue, </li>
<li>3. Issuer-App /presentations/submissions, </li>
<li>[
3. Verifier-Service? /presentations/verify,
Verifier-Service? /credentials/verify,
]</li>
<li>3. /credentials/issue </li>
</ul></p>
<li>Holder-Service --> Holder-App/registerCredentialHandler -- <b>does-not-exist-yet/out-of-scope?</b></li>
<li>Holder (Louis) --> Holder-App (browser) --> Issuer-App/getCredential (uscis.gov/getPRC) -- <b>out-of-scope</b></li>
<li>Holder (Louis) --> Holder-App (browser) --> Issuer-App/authenticate (uscis.gov/authenticate) -- <b>out-of-scope</b></li>
<li>Issuer-App --> Holder-App/requestPresentation -- <b>does-not-exist-yet</b></li>
<li>Holder-App --> Holder/selectHolderService -- <b>out-of-scope</b></li>
<li>Holder-App --> Holder-Service/requestPresentation -- <b>does-not-exist/out-of-scope?</b></li>
<li>Holder-Service --> Holder/selectWallet -- <b>out-of-scope</b></li>
<li>Holder-Service --> Holder/selectProfile -- <b>out-of-scope</b></li>
<li>Holder-Service --> Holder-App/requestedPresentaiton -- <b>out-of-scope</b></li>
<li>Holder-App --> Issuer-App/requestedPresentation -- <b>does-not-exist-yet</b></li>
<li>Issuer-App --> Issuer-Service/credentials/issue?"providedVP" -- <b>exists</b></li>
<li>Issuer-Service --> Issuer-App/credentials/issued?"issuedCredentialsWrappedByIssuerApp" -- <b>does-not-exist-yet</b></li>
<li>Issuer-App --> Holder-App/newCredential?"issuedCredentialsUnwrappedByIssuerApp" -- <b>does-not-exist-yet</b></li>
<li>Holder-App --> Holder/selectHolderService -- <b>out-of-scope</b></li>
<li>Holder-App --> Holder-Service/storeCredentials -- <b>does-not-exist/out-of-scope?</b></li>
<li>Holder-Service --> Holder/selectWallet -- <b>out-of-scope</b></li>
<li>Holder-Service --> Holder/selectProfile -- <b>out-of-scope</b></li>
</ul></p>
<p><i>Contributed by: </i>Digital Bazaar</p>
</section>
<section>
Expand Down Expand Up @@ -233,6 +239,7 @@ <h3>Refresh Expired Over Age Token</h3>
</ul></p>
<p><i>Contributed by: </i>Digital Bazaar</p>
</section>

<section>
<h3>Execute Multi-stage Presentation Workflow</h3>
<p>Description: Ignio, a logistics manager for "Kirk Company", would like to submit all necessary paperwork
Expand Down Expand Up @@ -318,13 +325,14 @@ <h3>Submit/Sign/Verify a test credential to a licensure system</h3>
<li>X. Issuance-as-a-Service, </li>
</ul></p>
<p><b>Endpoints:</b></li>
<li>/credentials/issue,</li>
<li></credentials/issue,</li>
<li><i>/issuer/lookup (out of scope; in-scope for the <a href=https://gataca-io.github.io/verifier-apis/#interfaces>UVI</a>, tho!),</i></li>
<li>/presentations/verify,</li>
<li>/credentials/verify,</li>
<li>/credentials/verify,</li>>
</p>
<p><i>Contributed by:</i>RANDA Solutions</p>
</section>

<section>
<h3>Supply Chain Import</h3>
<p>In order to export steel products to the global market, Steel Mills Global must prove
Expand All @@ -345,11 +353,17 @@ <h3>Supply Chain Import</h3>
<li>X. Re-Presentation and VC+VP Verification across a common supply chain process.</li>
</ul></p>
<p><b>Endpoints:</b></li>
<li><i>(VERIFIER-APP?) /presentations/available,</i></li>
<li>/presentations/issue,</li>
<li>/presentations/submissions,</li>
<li>[/presentations/verify, /credentials/verify,]</li>
<li>/credentials/issue</li>
<li>Holder (SMG) --> Holder App --> Verifier App: Notify ( GET /presentations/available ) </li>
<li>Holder App <-- Verifier App: return Domain & Challenge </li>
<li> {Holder App --> Holder Storage: get VCs}</li>
<li> {Holder App --> Holder Storage and/or KMS: get keys ( out of scope )}</li>
Copy link
Contributor

Choose a reason for hiding this comment

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

I don't understand this one. Is it to the storage or to the KMS? And why are we getting keys? IMO, private keys should never be transmitted.

Suggested change
<li> {Holder App --> Holder Storage and/or KMS: get keys ( out of scope )}</li>

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

it was in the diagram from your meeting with them, but omitted in the corresponding use-case. i wasn't at the meeting so I have no context

<li>Holder App --> Holder Service: sign VP ( POST /presentations/issue ) </li>
<li>Holder App <-- Holder Service: return signed VP </li>
<li>Holder App --> Verifier App: Submit Presentation ( POST /presentations/submissions/ )</li>
<li>Verifier App --> Verifier Service: Verify VP ( POST /presentations/verify, /credential/verify ) </li>
<li> {Verifier App: Business Logic}</li>
<li>Verifier App --> Verifier Storage: Store VC ( out of scope? ) </li>
<li>[ Holder App <-- Verifier App: ACK ]</li>
</ul></p>
<p><i>Contributed by:</i>Transmute Industries</p>
</section>
Expand Down