1 import type { KeyTransparencyState, VerifyOutboundPublicKeys } from '@proton/shared/lib/interfaces';
2 import { KeyTransparencyActivation } from '@proton/shared/lib/interfaces';
3 import { defaultKeyTransparencyState } from '@proton/shared/lib/keyTransparency';
5 export interface KTContext {
6 verifyOutboundPublicKeys: VerifyOutboundPublicKeys;
7 ktActivation: KeyTransparencyActivation;
8 ktState: KeyTransparencyState;
11 export const defaultKTContext: KTContext = {
12 verifyOutboundPublicKeys: async () => {
15 ktActivation: KeyTransparencyActivation.DISABLED,
16 ktState: defaultKeyTransparencyState,