From 7986346f5d882e81978eed8e7bac253770d1e77d Mon Sep 17 00:00:00 2001 From: Filip Skokan Date: Thu, 25 Jan 2024 11:36:09 +0100 Subject: [PATCH] chore: cleanup dead code --- lib/helpers/keystore.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/helpers/keystore.js b/lib/helpers/keystore.js index c1bfc437..60ddd609 100644 --- a/lib/helpers/keystore.js +++ b/lib/helpers/keystore.js @@ -52,7 +52,7 @@ function getAlgorithms(use, alg, kty, crv) { switch (crv) { case 'P-256': case 'P-384': - algs = algs.concat([`ES${crv.slice(-3)}`.replace('21', '12')]); + algs = algs.concat([`ES${crv.slice(-3)}`]); break; case 'P-521': algs = algs.concat(['ES512']);