Update all packages, fix critical bugs

This commit is contained in:
Jesse Wierzbinski 2024-03-03 17:29:44 -10:00
parent d85fe9efb6
commit 64629754ca
No known key found for this signature in database
15 changed files with 48217 additions and 113 deletions

View file

@ -310,10 +310,10 @@ export const getRelationshipToOtherUser = async (
* Generates keys for the user.
*/
export const generateUserKeys = async () => {
const keys = (await crypto.subtle.generateKey("Ed25519", true, [
const keys = await crypto.subtle.generateKey("Ed25519", true, [
"sign",
"verify",
])) as CryptoKeyPair;
]);
const privateKey = btoa(
String.fromCharCode.apply(null, [