Skip to content

Commit

Permalink
fix: type issue
Browse files Browse the repository at this point in the history
Signed-off-by: Berend Sliedrecht <[email protected]>
  • Loading branch information
Berend Sliedrecht committed Nov 20, 2024
1 parent 87cdbda commit 14ea9ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/easypid/src/crypto/pin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ export const signPinNonceAndDeviceKeyWithPinDerivedEphPriv = async (

const payload = Buffer.from([
...TypedArrayEncoder.fromString(pinNonce),
...TypedArrayEncoder.fromString(TypedArrayEncoder.toBase64URL(deviceKeyPair.asJwkInBytes())),
...TypedArrayEncoder.fromString(TypedArrayEncoder.toBase64URL(await deviceKeyPair.asJwkInBytes())),
])

const toBeSigned = `${TypedArrayEncoder.toBase64URL(
Expand Down

0 comments on commit 14ea9ca

Please sign in to comment.