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:
@@ -22,7 +22,7 @@ export const getUserClientList = async (userId: number) => {
|
||||
return {
|
||||
userClients: userClients.map(({ clientId, state }) => ({
|
||||
id: clientId,
|
||||
state,
|
||||
state: state as "pending" | "active",
|
||||
})),
|
||||
};
|
||||
};
|
||||
@@ -83,7 +83,7 @@ export const getUserClientStatus = async (userId: number, clientId: number) => {
|
||||
}
|
||||
|
||||
return {
|
||||
state: userClient.state,
|
||||
state: userClient.state as "pending" | "active",
|
||||
isInitialMekNeeded: await isInitialMekNeeded(userId),
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user