mirror of
https://github.com/kmc7468/arkvault.git
synced 2025-12-16 06:58:46 +00:00
DEK를 AES-256-KW를 이용해 암호화하는 것으로 변경
This commit is contained in:
@@ -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),
|
||||
);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user