Skip to content

Commit 1f4d17e

Browse files
armfazhthibmeu
authored andcommitted
Removing libsodium ready.
1 parent 821e5a2 commit 1f4d17e

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

examples/browser-extension/src/background.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,6 @@ import {
77
import _sodium from "libsodium-wrappers";
88
import jwk from "../../rfc9421-keys/ed25519.json" assert { type: "json" };
99

10-
// Make sure sodium is ready
11-
(async () => {
12-
await _sodium.ready;
13-
})();
14-
1510
// THIS IS DETERMINISTIC AND BASED ON THE KEY MATERIAL
1611
let KEY_ID = "not-set-yet";
1712
jwkToKeyID(jwk, helpers.WEBCRYPTO_SHA256, helpers.BASE64URL_DECODE).then(

0 commit comments

Comments
 (0)