diff options
author | Matthew Miller <matthew@millerti.me> | 2022-11-19 23:03:48 -0800 |
---|---|---|
committer | Matthew Miller <matthew@millerti.me> | 2022-11-19 23:03:48 -0800 |
commit | c9943c58ff9e0f1295dc900dd19f2465df5c7157 (patch) | |
tree | 64ad6e76540aabcb1067832280b297b8112abf80 /packages/server/src | |
parent | 8e6c7b4020f98742ed50d226c1a131b98c4810bf (diff) |
Add missing key type to error
Diffstat (limited to 'packages/server/src')
-rw-r--r-- | packages/server/src/helpers/iso/isoCrypto/verifyEC2.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/server/src/helpers/iso/isoCrypto/verifyEC2.ts b/packages/server/src/helpers/iso/isoCrypto/verifyEC2.ts index 9e91d3e..02cea5f 100644 --- a/packages/server/src/helpers/iso/isoCrypto/verifyEC2.ts +++ b/packages/server/src/helpers/iso/isoCrypto/verifyEC2.ts @@ -64,7 +64,7 @@ export async function verifyEC2(opts: { } else if (crv === COSECRV.P521) { _crv = 'P-521'; } else { - throw new Error(`Unexpected COSE crv value of ${crv}`); + throw new Error(`Unexpected COSE crv value of ${crv} (EC2)`); } const keyData: JsonWebKey = { |