diff --git a/packages/constants/src/lib/constants/constants.ts b/packages/constants/src/lib/constants/constants.ts index b3e623fc1e..8125f78bd6 100644 --- a/packages/constants/src/lib/constants/constants.ts +++ b/packages/constants/src/lib/constants/constants.ts @@ -1251,6 +1251,7 @@ export const LIT_CURVE = { EcdsaK256: 'K256', EcdsaCaitSith: 'ECDSA_CAIT_SITH', // Legacy alias of K256 EcdsaCAITSITHP256: 'EcdsaCaitSithP256', + EcdsaK256Sha256: 'EcdsaK256Sha256', } as const; export type LIT_CURVE_TYPE = keyof typeof LIT_CURVE; diff --git a/packages/lit-node-client-nodejs/src/lib/helpers/get-signatures.ts b/packages/lit-node-client-nodejs/src/lib/helpers/get-signatures.ts index b222523ae6..ee3ce0484d 100644 --- a/packages/lit-node-client-nodejs/src/lib/helpers/get-signatures.ts +++ b/packages/lit-node-client-nodejs/src/lib/helpers/get-signatures.ts @@ -229,7 +229,8 @@ export const getSignatures = async (params: { if ( sigType !== LIT_CURVE.EcdsaCaitSith && sigType !== LIT_CURVE.EcdsaK256 && - sigType !== LIT_CURVE.EcdsaCAITSITHP256 + sigType !== LIT_CURVE.EcdsaCAITSITHP256 && + sigType !== LIT_CURVE.EcdsaK256Sha256 ) { throw new UnknownSignatureType( {