diff --git a/client/components/admin/BankSyncAdminCard.tsx b/client/components/admin/BankSyncAdminCard.tsx index 65dbee2..53f3182 100644 --- a/client/components/admin/BankSyncAdminCard.tsx +++ b/client/components/admin/BankSyncAdminCard.tsx @@ -23,6 +23,7 @@ interface BankSyncConfig { seed_days?: number; worker?: BankSyncWorker; encryption_key_source?: string; + key_fingerprint?: string | null; } function timeAgo(iso: string | null | undefined): string | null { @@ -293,6 +294,17 @@ export default function BankSyncAdminCard() { Regular database backups preserve all user connections.

+ {config?.key_fingerprint && ( +

+ Active key fingerprint{' '} + {config.key_fingerprint} + {' '}— a one-way check of the current key (never the key itself). Keep your{' '} + TOKEN_ENCRYPTION_KEY in a password manager; this fingerprint lets you + confirm a running instance matches the key you saved, and spot an accidental key change (which would make + existing secrets unrecoverable). +

+ )} +