diff --git a/src/kernel/auth.ts b/src/kernel/auth.ts index 026a42b..4f00743 100644 --- a/src/kernel/auth.ts +++ b/src/kernel/auth.ts @@ -86,9 +86,10 @@ async function login(key: Uint8Array) { return; } - let pubKeyRet = await newBootloaderQuery("exchangeCommunicationKeys", { - data: bytesToHex(x25519.getPublicKey(privKey)), - }); + let pubKeyRet = await newBootloaderQuery( + "exchangeCommunicationKeys", + bytesToHex(x25519.getPublicKey(privKey)), + ); if (pubKeyRet[1]) { alert(`Failed to login: could not get communication key: ${pubKeyRet[1]}`);