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/SPHEREON-1174 #107

Open
wants to merge 3 commits into
base: feature/SPHEREON-1176
Choose a base branch
from
Open
Show file tree
Hide file tree
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
24 changes: 12 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,18 +28,18 @@
"did-jwt": "6.11.6",
"did-jwt-vc": "3.1.3",
"ethr-did": "2.3.9",
"@sphereon/ssi-types": "0.26.1-unstable.12",
"@sphereon/ssi-sdk.core": "0.26.1-unstable.12",
"@sphereon/ssi-sdk.data-store": "0.26.1-unstable.12",
"@sphereon/ssi-sdk.pd-manager": "0.26.1-unstable.12",
"@sphereon/ssi-sdk.siopv2-oid4vp-rp-auth": "0.26.1-unstable.12",
"@sphereon/ssi-sdk.presentation-exchange": "0.26.1-unstable.12",
"@sphereon/oid4vci-client": "0.12.1-next.23",
"@sphereon/oid4vci-common": "0.12.1-next.23",
"@sphereon/oid4vci-issuer": "0.12.1-next.23",
"@sphereon/oid4vci-issuer-server": "0.12.1-next.23",
"@sphereon/ui-components.core": "0.2.1-next.46",
"@sphereon/ui-components.ssi-react": "0.2.1-next.46",
"@sphereon/ssi-types": "0.26.1-next.127",
"@sphereon/ssi-sdk.core": "0.26.1-next.127",
"@sphereon/ssi-sdk.data-store": "0.26.1-next.127",
"@sphereon/ssi-sdk.pd-manager": "0.26.1-next.127",
"@sphereon/ssi-sdk.siopv2-oid4vp-rp-auth": "0.26.1-next.127",
"@sphereon/ssi-sdk.presentation-exchange": "0.26.1-next.127",
"@sphereon/oid4vci-client": "0.13.0",
"@sphereon/oid4vci-common": "0.13.0",
"@sphereon/oid4vci-issuer": "0.13.0",
"@sphereon/oid4vci-issuer-server": "0.13.0",
"@sphereon/ui-components.core": "0.2.1-next.49",
"@sphereon/ui-components.ssi-react": "0.2.1-next.49",
"@sphereon/pex": "3.3.2",
"@sphereon/pex-models": "2.2.4",
"@sphereon/did-auth-siop": "0.6.4",
Expand Down
13 changes: 8 additions & 5 deletions packages/agent/conf/demos/dbc/oid4vci_metadata/dbc.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,15 @@
"display": [
{
"name": "Dutch Blockchain Coalition",
"description": "Dutch Blockchain Coalition Issuer"
"description": "Dutch Blockchain Coalition Issuer",
"logo": {
"url": "https://dutchblockchaincoalition.org/assets/images/icons/Logo-DBC.png",
"alt_text": "An orange block shape, with the text Dutch Blockchain Coalition next to it, portraying the logo of the Dutch Blockchain Coalition."
}
}
],
"credentials_supported": [
{
"credential_configurations_supported": {
"DIIPv2": {
"display": [
{
"name": "DBC DIIP",
Expand Down Expand Up @@ -111,7 +115,6 @@
]
}
},
"id": "dbc2023",
"types": [
"VerifiableCredential",
"DIIPv2"
Expand All @@ -125,7 +128,7 @@
"ES256"
]
}
],
},
"credential_supplier_config": {
"templates_base_dir": "templates/dbc",
"template_mappings": [
Expand Down
2 changes: 1 addition & 1 deletion packages/agent/conf/demos/dbc/oid4vci_options/dbc.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"correlationId": "https://ssi.dutchblockchaincoalition.org/agent",
"definitionId": "dbc2023",
"definitionId": "DIIPv2",
"issuerOpts": {
"didOpts": {
"checkLinkedDomains": "if_present"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
{
"@context": [
"https://www.w3.org/2018/credentials/v1"
],
"type": [
"VerifiableCredential",
"DBCConferenceAttendee"
],
"expirationDate": "{{{ dateTimeAfterMonths 1 }}}",
"credentialSubject": {
"firstName": "{{firstName}}",
"lastName": "{{lastName}}",
"email": "{{emailAddress}}",
"event": {
"name": "DBC Conference 2023",
"date": "2023-06-26"
}
}
"@context": [
"https://www.w3.org/2018/credentials/v1"
],
"type": [
"VerifiableCredential",
"DBCConferenceAttendee"
],
"expirationDate": "{{{ dateTimeAfterMonths 1 }}}",
"credentialSubject": {
"firstName": "{{firstName}}",
"lastName": "{{lastName}}",
"email": "{{emailAddress}}",
"event": {
"name": "DBC Conference 2023",
"date": "2023-06-26"
}
}
}
26 changes: 13 additions & 13 deletions packages/agent/conf/demos/dbc/templates/dbc/DIIPv2.hbs
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"@context": [
"https://www.w3.org/2018/credentials/v1"
],
"type": [
"VerifiableCredential",
"DIIPv2"
],
"expirationDate": "{{{ dateTimeAfterDays 90 }}}",
"credentialSubject": {
"firstName": "{{firstName}}",
"lastName": "{{lastName}}",
"emailAddress": "{{emailAddress}}"
}
"@context": [
"https://www.w3.org/2018/credentials/v1"
],
"type": [
"VerifiableCredential",
"DIIPv2"
],
"expirationDate": "{{{ dateTimeAfterDays 90 }}}",
"credentialSubject": {
"firstName": "{{firstName}}",
"lastName": "{{lastName}}",
"emailAddress": "{{emailAddress}}"
}
}
13 changes: 8 additions & 5 deletions packages/agent/conf/demos/fmdm/oid4vci_metadata/fmdm.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,15 @@
"display": [
{
"name": "Future Mobility Alliance",
"description": "Future Data Market Place Issuer"
"description": "Future Data Market Place Issuer",
"logo": {
"url": "https://i.ibb.co/vkfZCvr/FMDM-card-logo.png",
"alt_text": "A green and blue circle shape, with the text Future Mobility Data Marketplace next to it, portraying the logo of the Future Mobility Alliance."
}
}
],
"credentials_supported": [
{
"credential_configurations_supported": {
"GuestCredential": {
"display": [
{
"name": "FMA Guest",
Expand Down Expand Up @@ -130,7 +134,6 @@
]
}
},
"id": "fmdm2023",
"types": [
"VerifiableCredential",
"GuestCredential"
Expand All @@ -146,7 +149,7 @@
"EdDSA"
]
}
],
},
"credential_supplier_config": {
"templates_base_dir": "templates/fmdm",
"template_mappings": [
Expand Down
28 changes: 14 additions & 14 deletions packages/agent/conf/demos/fmdm/templates/fmdm/GuestCredential.hbs
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
"@context": [
"https://www.w3.org/2018/credentials/v1"
],
"type": [
"VerifiableCredential",
"GuestCredential"
],
"expirationDate": "{{{ dateTimeAfterDays 7 }}}",
"credentialSubject": {
"firstName": "{{firstName}}",
"lastName": "{{lastName}}",
"email": "{{email}}",
"type": "Future Mobility Alliance Guest"
}
"@context": [
"https://www.w3.org/2018/credentials/v1"
],
"type": [
"VerifiableCredential",
"GuestCredential"
],
"expirationDate": "{{{ dateTimeAfterDays 7 }}}",
"credentialSubject": {
"firstName": "{{firstName}}",
"lastName": "{{lastName}}",
"email": "{{email}}",
"type": "Future Mobility Alliance Guest"
}
}
28 changes: 13 additions & 15 deletions packages/agent/conf/demos/sphereon/oid4vci_metadata/sphereon.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,15 @@
"display": [
{
"name": "Sphereon International",
"description": "Sphereon International"
"description": "Sphereon International",
"logo": {
"url": "https://i.ibb.co/NWQQ9kt/sphereon-logo.png",
"alt_text": "Red square depicting Sphereon logo."
}
}
],
"credentials_supported": [
{
"credential_configurations_supported": {
"DIIPv2": {
"display": [
{
"name": "Sphereon DIIP",
Expand Down Expand Up @@ -110,7 +114,6 @@
]
}
},
"id": "DIIPv2",
"types": [
"VerifiableCredential",
"DIIPv2"
Expand All @@ -124,7 +127,7 @@
"ES256"
]
},
{
"OpenBadgeCredential":{
"display": [
{
"name": "Example University Degree",
Expand All @@ -148,7 +151,6 @@
}
}
],
"id": "OpenBadgeCredentialJwt",
"types": [
"VerifiableCredential",
"OpenBadgeCredential"
Expand All @@ -161,7 +163,7 @@
"EdDSA"
]
},
{
"PermanentResidentCard":{
"display": [
{
"name": "Permanent Resident Card",
Expand All @@ -185,7 +187,6 @@
}
}
],
"id": "PermantResidentCardJwt",
"types": [
"VerifiableCredential",
"PermanentResidentCard"
Expand All @@ -201,7 +202,7 @@
"EdDSA"
]
},
{
"GuestCredential":{
"display": [
{
"name": "Sphereon guest",
Expand Down Expand Up @@ -317,7 +318,6 @@
]
}
},
"id": "sphereon2023",
"types": [
"VerifiableCredential",
"GuestCredential"
Expand All @@ -333,7 +333,7 @@
"EdDSA"
]
},
{
"MembershipExample":{
"display": [
{
"name": "Membership Example",
Expand Down Expand Up @@ -449,7 +449,6 @@
]
}
},
"id": "MembershipExample",
"types": [
"VerifiableCredential",
"MembershipExample"
Expand All @@ -465,7 +464,7 @@
"EdDSA"
]
},
{
"VerifiedEmployee":{
"display": [
{
"name": "Verified Employee",
Expand Down Expand Up @@ -615,7 +614,6 @@
]
}
},
"id": "VerifiedEmployee",
"types": [
"VerifiableCredential",
"VerifiedEmployee"
Expand All @@ -631,7 +629,7 @@
"EdDSA"
]
}
],
},
"credential_supplier_config": {
"templates_base_dir": "templates/sphereon",
"template_mappings": [
Expand Down
15 changes: 15 additions & 0 deletions packages/agent/conf/demos/sphereon/templates/sphereon/DIIPv2.hbs
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"@context": [
"https://www.w3.org/2018/credentials/v1"
],
"type": [
"VerifiableCredential",
"DIIPv2"
],
"expirationDate": "{{{ dateTimeAfterDays 90 }}}",
"credentialSubject": {
"firstName": "{{firstName}}",
"lastName": "{{lastName}}",
"emailAddress": "{{emailAddress}}"
}
}
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
"@context": [
"https://www.w3.org/2018/credentials/v1"
],
"type": [
"VerifiableCredential",
"GuestCredential"
],
"expirationDate": "{{{ dateTimeAfterDays 7 }}}",
"credentialSubject": {
"firstName": "{{firstName}}",
"lastName": "{{lastName}}",
"E-mail": "{{emailAddress}}",
"type": "Sphereon Guest"
}
"@context": [
"https://www.w3.org/2018/credentials/v1"
],
"type": [
"VerifiableCredential",
"GuestCredential"
],
"expirationDate": "{{{ dateTimeAfterDays 7 }}}",
"credentialSubject": {
"firstName": "{{firstName}}",
"lastName": "{{lastName}}",
"E-mail": "{{emailAddress}}",
"type": "Sphereon Guest"
}
}
Loading