mirror of
https://github.com/kmc7468/arkvault.git
synced 2026-11-04 08:10:28 +09:00
암호 관련 모듈 리팩토링
This commit is contained in:
1 parent
1307783de1
commit
db900d8038
5 files changed
+15
-17
No files matched your search
@@ -48,7 +48,7 @@ export const requestInitialMasterKeyRegistration = async (
|
||||
) => {
|
||||
const res = await callPostApi<InitialMasterKeyRegisterRequest>("/api/mek/register/initial", {
|
||||
mek: masterKeyWrapped,
|
||||
mekSig: await signMasterKeyWrapped(1, masterKeyWrapped, signKey),
|
||||
mekSig: await signMasterKeyWrapped(masterKeyWrapped, 1, signKey),
|
||||
});
|
||||
return res.ok || res.status === 409;
|
||||
};
|
||||
Reference in new issue
Block a user