feat(master_key): download master key file

This commit is contained in:
charlesgauthereau
2026-02-18 19:07:14 +01:00
parent ebe5c63a7b
commit 833872603a
6 changed files with 74 additions and 67 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
import {getMasterServerKeyContent} from "@/features/keys/keys.action";
export async function generateEdgeKey(serverUrl: string, agentId: string): Promise<string> {
const masterKey = getMasterServerKeyContent()
const masterKey = await getMasterServerKeyContent()
const edgeKeyData = {
serverUrl,
agentId,