-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Docker compose fixes. Move config to sub dirs
- Loading branch information
Showing
48 changed files
with
237 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
REACT_APP_OID4VP_AGENT_BASE_URL=http://ssi-agent:5000 | ||
REACT_APP_OID4VP_PRESENTATION_DEF_ID=sphereon | ||
REACT_APP_OID4VCI_AGENT_BASE_URL='http://ssi-agent:5000/sphereon2023' | ||
REACT_APP_OID4VP_AGENT_BASE_URL=http://192.168.2.90:5000 | ||
REACT_APP_OID4VP_PRESENTATION_DEF_ID=sphereon2023 | ||
REACT_APP_OID4VCI_AGENT_BASE_URL='http://192.168.2.90:5000/sphereon2023' | ||
REACT_APP_ENVIRONMENT=sphereon | ||
PORT=5001 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"privateKeyHex": "f4446e5eb1201a7769cb35f02f24b06c0ac3ff49eb085f8562f06fc6c42e68cd", | ||
"did": "did:jwk:eyJhbGciOiJFUzI1NiIsInVzZSI6InNpZyIsImt0eSI6IkVDIiwiY3J2IjoiUC0yNTYiLCJ4IjoiVEcySDJ4MmRXWE4zdUNxWnBxRjF5c0FQUVZESkVOX0gtQ010YmdqYi1OZyIsInkiOiI5TThOeGQwUE4yMk05bFBEeGRwRHBvVEx6MTV3ZnlaSnM2WmhLSVVKMzM4In0", | ||
"createArgs": { | ||
"provider": "did:jwk", | ||
"options": { | ||
"kid": "03f9478ffb86fb6142795d4da9b2653c55d7d6bdb3e82a551e1f0bd022b7bf9768", | ||
"type": "Secp256r1", | ||
"keyType": "Secp256r1" | ||
} | ||
} | ||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
148 changes: 148 additions & 0 deletions
148
packages/agent/conf/examples/oid4vci_metadata/sphereon.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,148 @@ | ||
{ | ||
"correlationId": "http://192.168.2.90:5000/sphereon2023", | ||
"overwriteExisting": true, | ||
"metadata": { | ||
"credential_issuer": "http://192.168.2.90:5000/sphereon2023", | ||
"credential_endpoint": "http://192.168.2.90:5000/sphereon2023/credentials", | ||
"display": [ | ||
{ | ||
"name": "Sphereon International", | ||
"description": "Sphereon International" | ||
} | ||
], | ||
"credentials_supported": [ | ||
{ | ||
"display": [ | ||
{ | ||
"name": "Sphereon guest", | ||
"description": "Sphereon guest credential for demo purposes.", | ||
"text_color": "#FFFFFF", | ||
"background_image": { | ||
"url": "https://i.ibb.co/kmfrH4F/tulips.png", | ||
"alt_text": "Black and white photo of tulips with one red tulip" | ||
}, | ||
"logo": { | ||
"url": "https://i.ibb.co/NWQQ9kt/sphereon-logo.png", | ||
"alt_text": "Red square depicting Sphereon logo." | ||
} | ||
}, | ||
{ | ||
"locale": "en-US", | ||
"name": "Sphereon guest", | ||
"description": "Sphereon guest credential for demo purposes.", | ||
"text_color": "#FFFFFF", | ||
"background_image": { | ||
"url": "https://i.ibb.co/kmfrH4F/tulips.png", | ||
"alt_text": "Black and white photo of tulips with one red tulip" | ||
}, | ||
"logo": { | ||
"url": "https://i.ibb.co/NWQQ9kt/sphereon-logo.png", | ||
"alt_text": "Red square depicting Sphereon logo." | ||
} | ||
}, | ||
{ | ||
"locale": "nl-NL", | ||
"name": "Sphereon gast", | ||
"description": "Sphereon gast credential wordt uitgegeven voor demo doeleinden.", | ||
"text_color": "#FFFFFF", | ||
"background_image": { | ||
"url": "https://i.ibb.co/kmfrH4F/tulips.png", | ||
"alt_text": "Black and white photo of tulips with one red tulip" | ||
}, | ||
"logo": { | ||
"url": "https://i.ibb.co/NWQQ9kt/sphereon-logo.png", | ||
"alt_text": "Red square depicting Sphereon logo." | ||
} | ||
} | ||
], | ||
"order": [ | ||
"firstName", | ||
"lastName", | ||
"email", | ||
"type" | ||
], | ||
"credentialSubject": { | ||
"firstName": { | ||
"value_type": "string", | ||
"display": [ | ||
{ | ||
"name": "FirstName" | ||
}, | ||
{ | ||
"name": "FirstName", | ||
"locale": "en-US" | ||
}, | ||
{ | ||
"name": "Voornaam", | ||
"locale": "nl-NL" | ||
} | ||
] | ||
}, | ||
"lastName": { | ||
"value_type": "string", | ||
"display": [ | ||
{ | ||
"name": "LastName" | ||
}, | ||
{ | ||
"name": "LastName", | ||
"locale": "en-US" | ||
}, | ||
{ | ||
"name": "Achternaam", | ||
"locale": "nl-NL" | ||
} | ||
] | ||
}, | ||
"email": { | ||
"value_type": "string", | ||
"display": [ | ||
{ | ||
"name": "Email" | ||
}, | ||
{ | ||
"name": "Email", | ||
"locale": "en-US" | ||
}, | ||
{ | ||
"name": "Email", | ||
"locale": "nl-NL" | ||
} | ||
] | ||
}, | ||
"type": { | ||
"value_type": "string", | ||
"display": [ | ||
{ | ||
"name": "Type" | ||
}, | ||
{ | ||
"name": "Type", | ||
"locale": "en-US" | ||
}, | ||
{ | ||
"name": "Type", | ||
"locale": "nl-NL" | ||
} | ||
] | ||
} | ||
}, | ||
"id": "sphereon2023", | ||
"types": [ | ||
"VerifiableCredential", | ||
"GuestCredential" | ||
], | ||
"format": "jwt_vc_json", | ||
"cryptographic_binding_methods_supported": [ | ||
"did:web", | ||
"did:jwk" | ||
], | ||
"cryptographic_suites_supported": [ | ||
"ES256", | ||
"ES256K", | ||
"EdDSA" | ||
] | ||
} | ||
] | ||
} | ||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"definitionId": "sphereon2023", | ||
"correlationId": "http://192.168.2.90:5000/sphereon2023", | ||
"issuerOpts": { | ||
"didOpts": { | ||
"checkLinkedDomains": "if_present" | ||
} | ||
} | ||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"definitionId": "sphereon2023", | ||
"rpOpts": { | ||
"didOpts": { | ||
"checkLinkedDomains": "if_present" | ||
} | ||
} | ||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
30 changes: 30 additions & 0 deletions
30
packages/agent/conf/examples/presentation_definitions/sphereon.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{ | ||
"id": "sphereon2023", | ||
"purpose": "For this portal we need your e-mail address and name from a Sphereon guest credential", | ||
"input_descriptors": [ | ||
{ | ||
"id": "4ce7aff1-0234-4f35-9d21-251668a60950", | ||
"name": "Sphereon Guest", | ||
"purpose": "You need to provide a Guest Credential.", | ||
"schema": [ | ||
{ | ||
"uri": "GuestCredential" | ||
} | ||
], | ||
"constraints": { | ||
"fields": [ | ||
{ | ||
"path": [ | ||
"$.credentialSubject.type", | ||
"$.vc.credentialSubject.type" | ||
], | ||
"filter": { | ||
"type": "string", | ||
"pattern": "Sphereon Guest" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
] | ||
} |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.