Skip to content

Commit

Permalink
chore: cleanup dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
panva committed Jan 25, 2024
1 parent 01cd89a commit 5886b0c
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions lib/helpers/keystore.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,6 @@ const isPlainObject = require('./is_plain_object');

const internal = Symbol();

function fauxAlg(kty) {
switch (kty) {
case 'RSA':
return 'RSA-OAEP';
case 'EC':
return 'ECDH-ES';
case 'OKP':
return 'ECDH-ES';
case 'oct':
return 'HS256';
default:
return undefined;
}
}

const keyscore = (key, { alg, use }) => {
let score = 0;

Expand Down

0 comments on commit 5886b0c

Please sign in to comment.