Skip to content

Commit

Permalink
fix: allow for HMAC key to be extractable
Browse files Browse the repository at this point in the history
  • Loading branch information
rygine committed Mar 12, 2024
1 parent b73dde4 commit cd39432
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/crypto/encryption.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export async function hkdfHmacKey(
{ name: 'HKDF', hash: 'SHA-256', salt, info: hkdfNoInfo },
key,
{ name: 'HMAC', hash: 'SHA-256', length: 256 },
false,
true,
['sign', 'verify']
)
}
Expand Down

0 comments on commit cd39432

Please sign in to comment.