From 225cfa7f69f8a792729d891e461abf45d86a4e58 Mon Sep 17 00:00:00 2001 From: Sam Hellawell Date: Mon, 29 Apr 2024 22:12:57 +0100 Subject: [PATCH] Use Scnhorr alg for Sr25519Signature class --- package.json | 2 +- src/utils/vc/crypto/Sr25519Signature2020.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index a6f54aa52..b29b6fed1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@docknetwork/sdk", - "version": "8.1.3", + "version": "8.1.4", "main": "index.js", "license": "MIT", "repository": { diff --git a/src/utils/vc/crypto/Sr25519Signature2020.js b/src/utils/vc/crypto/Sr25519Signature2020.js index 2b4c9fc01..591cf5736 100644 --- a/src/utils/vc/crypto/Sr25519Signature2020.js +++ b/src/utils/vc/crypto/Sr25519Signature2020.js @@ -17,7 +17,7 @@ export default class Sr25519Signature2020 extends CustomLinkedDataSignature { type: Sr25519SigName, LDKeyClass: Sr25519VerificationKey2020, contextUrl: SUITE_CONTEXT_URL, - alg: 'EdDSA', + alg: 'Schnorr', signer: signer || Sr25519Signature2020.signerFactory(keypair, verificationMethod), verifier, useProofValue,