클라이언트 승인 대기 페이지 구현

This commit is contained in:
static committed 2024-12-31 21:58:13 +09:00
1 parent ccad4fbd8b
commit e5cbd46b35
13 files changed
+243 -59

No files matched your search

+7 -1
View File
@@ -7,5 +7,11 @@ export interface ClientKeys {
verifyKey: CryptoKey;
}
export interface MasterKey {
state: "active" | "retired" | "dead";
masterKey: CryptoKey;
}
export const clientKeyStore = writable<ClientKeys | null>(null);
export const mekStore = writable<Map<number, CryptoKey>>(new Map());
export const masterKeyStore = writable<Map<number, MasterKey> | null>(null);