Skip to content

Commit

Permalink
fix empty presentation fails
Browse files Browse the repository at this point in the history
Signed-off-by: F-Node-Karlsruhe <christian.fries@eecc.de>
  • Loading branch information
F-Node-Karlsruhe committed Oct 9, 2023
1 parent cc6447a commit 0885a0f
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 3 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ WIP
---


1.7.3 (2023-10-09)
---

- support empty presentations for proof of possession


1.7.2 (2023-09-11)
---

Expand Down
2 changes: 1 addition & 1 deletion api/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vc-verifier",
"version": "1.7.2",
"version": "1.7.3",
"description": "The EECC verifier for verifiable credentials which provides an verification API as well as the corresponding UI.",
"main": "index.js",
"type": "module",
Expand Down
2 changes: 2 additions & 0 deletions api/src/services/verifier/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ function getSuites(proof: Proof | Proof[]): unknown[] {

function getPresentationStatus(presentation: VerifiablePresentation): CredentialStatus[] | CredentialStatus | undefined {

if (!presentation.verifiableCredential) return undefined;

const credentials = (
Array.isArray(presentation.verifiableCredential)
? presentation.verifiableCredential
Expand Down
2 changes: 1 addition & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "verifier_frontend",
"version": "1.7.2",
"version": "1.7.3",
"description": "Vue frontend for the EECC vc verifier API",
"scripts": {
"build": "vue-cli-service build",
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/store/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import api from '../api'

export default createStore({
state: {
version: '1.7.2',
version: '1.7.3',
authentication: undefined,
verifiables: [],
disclosedCredentials: [],
Expand Down

0 comments on commit 0885a0f

Please sign in to comment.