mirror of
https://github.com/versia-pub/server.git
synced 2026-03-13 05:49:16 +01:00
Update all packages, fix critical bugs
This commit is contained in:
parent
d85fe9efb6
commit
64629754ca
15 changed files with 48217 additions and 113 deletions
|
|
@ -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, [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue