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

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

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);