mirror of
https://github.com/kmc7468/arkvault.git
synced 2025-12-17 23:48:45 +00:00
/api/mek/register, /api/mek/register/initial Endpoint에서 MEK에 대한 서명을 요구하도록 변경
This commit is contained in:
@@ -71,7 +71,13 @@
|
||||
)
|
||||
throw new Error("Failed to upgrade token");
|
||||
|
||||
if (!(await requestInitialMekRegistration(data.mekDraft, $clientKeyStore.encryptKey)))
|
||||
if (
|
||||
!(await requestInitialMekRegistration(
|
||||
data.mekDraft,
|
||||
$clientKeyStore.encryptKey,
|
||||
$clientKeyStore.signKey,
|
||||
))
|
||||
)
|
||||
throw new Error("Failed to register initial MEK");
|
||||
|
||||
await goto(data.redirectPath);
|
||||
|
||||
Reference in New Issue
Block a user