DEK를 AES-256-KW를 이용해 암호화하는 것으로 변경

This commit is contained in:
static
2025-01-02 06:41:01 +09:00
parent b07d67b958
commit baf48579b8
12 changed files with 39 additions and 30 deletions

View File

@@ -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),
};
};