mirror of
https://github.com/kmc7468/arkvault.git
synced 2025-12-17 23:48:45 +00:00
클라이언트 승인 대기 페이지 구현
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
requestClientRegistration,
|
||||
storeClientKeys,
|
||||
requestTokenUpgrade,
|
||||
requestInitialMekRegistration,
|
||||
requestInitialMasterKeyRegistration,
|
||||
} from "./service";
|
||||
|
||||
import IconKey from "~icons/material-symbols/key";
|
||||
@@ -72,11 +72,7 @@
|
||||
throw new Error("Failed to upgrade token");
|
||||
|
||||
if (
|
||||
!(await requestInitialMekRegistration(
|
||||
data.mekDraft,
|
||||
$clientKeyStore.encryptKey,
|
||||
$clientKeyStore.signKey,
|
||||
))
|
||||
!(await requestInitialMasterKeyRegistration(data.masterKeyWrapped, $clientKeyStore.signKey))
|
||||
)
|
||||
throw new Error("Failed to register initial MEK");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user