Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
57 commits
Select commit Hold shift + click to select a range
813e218
wistefan Feb 3, 2023
37a633c
add more showcasing
wistefan Feb 3, 2023
22c3f48
nice body
wistefan Feb 3, 2023
4d26b1b
with logo
wistefan Feb 3, 2023
d89012e
try to submit
wistefan Feb 3, 2023
84448d3
token
wistefan Feb 3, 2023
48d877b
wistefan Feb 3, 2023
9e485f7
wistefan Feb 3, 2023
3bdfec9
logging
wistefan Feb 3, 2023
e3871b0
wistefan Feb 3, 2023
42189f7
wistefan Feb 3, 2023
429d65d
set default
wistefan Feb 3, 2023
b22c809
add the body to the message
wistefan Feb 3, 2023
d594751
wistefan Feb 3, 2023
3cbb257
wistefan Feb 8, 2023
69fd6b3
clean api
wistefan Feb 8, 2023
8b1e3f3
split frontend and api
wistefan Feb 10, 2023
8fe5ed8
wistefan Feb 10, 2023
457cbb0
try
wistefan Feb 10, 2023
818569a
wistefan Feb 10, 2023
d1fa3bb
wistefan Feb 10, 2023
0dcf6aa
wistefan Feb 10, 2023
895e66b
wistefan Feb 10, 2023
d4ba211
wistefan Feb 10, 2023
42fe85a
verify something
wistefan Feb 13, 2023
5150244
wistefan Feb 13, 2023
3e815f6
wistefan Feb 13, 2023
8ba2ab0
use right template
wistefan Feb 13, 2023
7a72888
wistefan Feb 13, 2023
72f722b
wistefan Feb 14, 2023
bf0150f
more logging
wistefan Feb 14, 2023
fbfd374
readable output
wistefan Feb 14, 2023
2536beb
cahnge type
wistefan Feb 14, 2023
2938fca
wistefan Feb 14, 2023
17e0a81
wistefan Feb 14, 2023
dc6dfa6
wistefan Feb 14, 2023
3699617
wistefan Feb 14, 2023
b504a59
wistefan Feb 14, 2023
22f537f
omit empty
wistefan Feb 14, 2023
1244f9b
wistefan Feb 14, 2023
0c982cd
wistefan Feb 14, 2023
285d4b8
setup with configured did
wistefan Feb 15, 2023
dffea49
wistefan Feb 15, 2023
2fbdfee
wistefan Mar 13, 2023
9f728ac
wistefan Mar 13, 2023
9741512
wistefan Mar 13, 2023
ac693c9
wistefan Mar 13, 2023
3bf2e24
wistefan Mar 13, 2023
9a001be
wistefan Mar 13, 2023
e8ec7b0
wistefan Mar 13, 2023
53eaa21
log
wistefan Mar 13, 2023
ed3487f
and more
wistefan Mar 13, 2023
84b56c2
log err
wistefan Mar 13, 2023
1996cd4
wistefan Mar 13, 2023
abebfe4
wistefan Mar 13, 2023
52aa9cf
wistefan Mar 13, 2023
d47af7f
more logging
wistefan Mar 14, 2023
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
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# vcverifier
# VCVerifier

vcverifier includes in a single binary demo versions of Issuer, Verifier and Wallet (same-device only, for a cross-device wallet please see [VCWallet](https://github.com/hesusruiz/VCWallet)).
VCerifier includes in a single binary demo versions of Issuer, Verifier and Wallet (same-device only, for a cross-device wallet please see [VCWallet](https://github.com/hesusruiz/VCWallet)).

This facilitates installation and allows to see how all components fit together and the protocol flows between them.

Expand Down
257 changes: 0 additions & 257 deletions api/api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,133 +10,7 @@ tags:
description: All api-endpoints, e.g. the once that can be reused by other applicatios
- name: verifier
description: All endpoints belonging to the verifier functionality
- name: issuer
description: All endpoints belonging to the issuer functionality
- name: core
description: All endpoints belonging to core functionality, e.g. setup and info stuff
- name: wallet
description: All endpoints belonging to the wallet functionality
- name: base
description: General endpoints, providing information or entrypoint routing
paths:
/issuer/api/v1/newcredential:
get:
tags:
- issuer
- frontend
operationId: IssuerPageNewCredentialFormDisplay
summary: Returns the page to issue new credentials
responses:
'200':
description: Show the credentials input page
content:
text/html:
schema:
type: object
post:
tags:
- issuer
- frontend
operationId: IssuerPageNewCredentialFormPost
summary: Issues a new credentials and renders them to a page
requestBody:
required: true
content:
application/x-www-form-urlencoded:
schema:
$ref: '#/components/schemas/VCCreate'
responses:
'200':
description: Show the created credential on a rendered page
content:
text/html:
schema:
type: object
/issuer/api/v1/creddetails/{id}:
get:
tags:
- issuer
- frontend
parameters:
- $ref: '#/components/parameters/Id'
operationId: IssuerPageCredentialDetails
summary: Show the credential details on a rendered page
responses:
'200':
description: Present the credential details in a rendered html page
content:
text/html:
schema:
type: object
/issuer/api/v1/displayqrurl/{id}:
get:
tags:
- issuer
- frontend
parameters:
- $ref: '#/components/parameters/Id'
operationId: IssuerPageDisplayQRURL
summary: Show the credential encoded as a qr-code on a rendered html page
responses:
'200':
description: Present the credential qr-code in a rendered html page
content:
text/html:
schema:
type: object

/issuer/api/v1/allcredentials:
get:
tags:
- issuer
- api
operationId: IssuerAPIAllCredentials
summary: Return the ids of all issued credentials
responses:
'200':
description: Returns the list of ids
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/CredentialId'
/issuer/api/v1/credential:
post:
tags:
- issuer
- api
operationId: CreateNewCredential
summary: Issues a new credentials and returns it
requestBody:
required: true
content:
application/x-www-form-urlencoded:
schema:
$ref: '#/components/schemas/VCCreate'
responses:
'200':
description: Return the created credential
content:
application/json:
schema:
$ref: '#/components/schemas/VerifiableCredential'
/issuer/api/v1/credential/{id}:
get:
tags:
- issuer
- api
parameters:
- $ref: '#/components/parameters/Id'
operationId: IssuerAPICredential
summary: Return credential with the given ID
responses:
'200':
description: The credential
content:
text/plain:
schema:
$ref: '#/components/schemas/VerifiableCredential'
/verifier/api/v1/displayqr:
get:
tags:
Expand Down Expand Up @@ -301,87 +175,6 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/JWKSet'

/wallet/api/v1/selectcredential:
get:
tags:
- wallet
- frontend
operationId: WalletPageSelectCredential
summary: Present a rendered page with the available credentials
responses:
'200':
description: The rendered page
content:
text/html:
schema:
type: object
/wallet/api/v1/sendcredential:
get:
tags:
- wallet
- frontend
parameters:
- $ref: '#/components/parameters/QueryState'
- $ref: '#/components/parameters/QueryId'
- $ref: '#/components/parameters/RedirectUri'
operationId: WalletPageSendCredential
summary: Executes a post with the given credential to the redirect_uri and returns a rendered page, presenting the post-result
responses:
'200':
description: The rendered page
content:
text/html:
schema:
type: object
/core/api/v1/createdid:
get:
tags:
- core
- api
operationId: CoreAPICreateDID
summary: Wrapper for the waltid-ssikit custodian endpoint for creating did's of type key
responses:
'200':
description: Creation result from the ssikit
content:
application/json:
schema:
type: string
example: did:key:z6MkibsKombswvCMhej83YbHsyknL2uc5kVazwr4xB3JqeUX
/core/api/v1/listcredentialtemplates:
get:
tags:
- core
- api
operationId: CoreAPIListCredentialTemplates
summary: Wrapper for the waltid-ssikit signatory endpoint for listing templates
responses:
'200':
description: List of templates, no offical spec available from ssikit, format is assumed
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/CredentialTemplate'
/core/api/v1/getcredentialtemplate/{id}:
get:
tags:
- core
- api
parameters:
- $ref: '#/components/parameters/Id'
operationId: CoreAPIGetCredentialTemplate
summary: Wrapper for the waltid-ssikit signatory endpoint for retrieving a template
responses:
'200':
description: The requested template.
content:
application/json:
schema:
description: SSIKit doc says type string, but its a vc-object instead.
type: object
/:
get:
tags:
Expand All @@ -396,20 +189,6 @@ paths:
text/plain:
schema:
type: object
/issuer:
get:
tags:
- base
- frontend
operationId: HandleIssuerHome
summary: Returns the rendered homepage for the issuer functionality
responses:
'200':
description: The issuer page
content:
text/plain:
schema:
type: object
/verifier:
get:
tags:
Expand Down Expand Up @@ -477,23 +256,6 @@ components:
type: string
example: https://my-verifier.com/verifier/api/v1/authenticationresponse
schemas:
CredentialTemplate:
type: object
properties:
mutable:
type: boolean
example: false
name:
type: string
example: VerifiableId
template:
type: string
CredentialId:
type: object
properties:
id:
type: string
example: urn:uuid:e44beccc-a766-4baf-8cd0-17f86ef74a5c
CredentialsType:
type: array
items:
Expand Down Expand Up @@ -608,25 +370,6 @@ components:
properties:
credential:
$ref: '#/components/schemas/VerifiableCredential'
VCCreate:
type: object
properties:
email:
type: string
format: email
example: test@test.org
firstName:
type: string
example: Test
familyName:
type: string
example: User
target:
type: string
example: did:key:myuserkey
roles:
type: string
example: GOLD_CUSTOMER,STANDARD_CUSTOMER
BackendInfo:
type: object
properties:
Expand Down
Loading