DEK를 AES-256-KW를 이용해 암호화하는 것으로 변경

This commit is contained in:
static
2025-01-02 06:41:01 +09:00
parent b07d67b958
commit baf48579b8
12 changed files with 39 additions and 30 deletions

View File

@@ -1,6 +1,6 @@
import { json } from "@sveltejs/kit";
import { authorize } from "$lib/server/modules/auth";
import { masterKeyListResponse } from "$lib/server/schemas/mek";
import { masterKeyListResponse, type MasterKeyListResponse } from "$lib/server/schemas/mek";
import { getClientMekList } from "$lib/server/services/mek";
import type { RequestHandler } from "./$types";
@@ -15,6 +15,6 @@ export const GET: RequestHandler = async ({ cookies }) => {
mek: encMek,
mekSig: encMekSig,
})),
}),
} satisfies MasterKeyListResponse),
);
};