From e8d4ae2e57829f3f7ab6a997a3602ca918aa9a8a Mon Sep 17 00:00:00 2001 From: Sam Hellawell Date: Tue, 30 Apr 2024 20:46:42 +0100 Subject: [PATCH] Use dockbbs credential algorithm --- _credentials/forsur.js | 2 +- _credentials/quotient.js | 2 +- utils/issue-crendentials.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/_credentials/forsur.js b/_credentials/forsur.js index c51bcb2..fa2f236 100644 --- a/_credentials/forsur.js +++ b/_credentials/forsur.js @@ -14,7 +14,7 @@ export function createBiometricsCredential({ url: `${dockUrl}/credentials`, body: { anchor: false, - algorithm: "dockbbs+", + algorithm: "dockbbs", distribute: true, credential: { id: `https://creds-testnet.dock.io/${uuidv4()}`, diff --git a/_credentials/quotient.js b/_credentials/quotient.js index f01f446..29f8f08 100644 --- a/_credentials/quotient.js +++ b/_credentials/quotient.js @@ -15,7 +15,7 @@ export function createBankIdCredential({ url: `${dockUrl}/credentials`, body: { anchor: false, - algorithm: 'dockbbs+', + algorithm: 'dockbbs', distribute: true, credential: { id: `https://creds-testnet.dock.io/${uuidv4()}`, diff --git a/utils/issue-crendentials.js b/utils/issue-crendentials.js index 29f4ce2..8217ac3 100644 --- a/utils/issue-crendentials.js +++ b/utils/issue-crendentials.js @@ -9,7 +9,7 @@ export const issueRevokableCredential = async (credential, setRevokableCredentia let registry = null; if (isRevocable) { - const type = credentialPayload.algorithm === 'dockbbs+' ? 'DockVBAccumulator2022' : 'StatusList2021Entry'; + const type = credentialPayload.algorithm === 'dockbbs' ? 'DockVBAccumulator2022' : 'StatusList2021Entry'; registry = await getExistingRegistry(_credential.issuer.id, type); if (!registry) {