fix: account isolation, auto-import signer certs, and no-key error handling #35

This commit is contained in:
Linus Rath
2026-03-28 17:32:06 +01:00
parent 6e0c79ca2c
commit c7c22bd210
18 changed files with 240 additions and 45 deletions
+6
View File
@@ -30,6 +30,12 @@ export function SmimeStatusBanner({ status, onUnlockKey, className }: SmimeStatu
text: t('unlock_key_desc'),
variant: 'warning',
});
} else if (status.decryptionError === 'no-key') {
items.push({
icon: <Lock className="w-4 h-4" />,
text: t('status_encrypted_no_key'),
variant: 'warning',
});
} else {
items.push({
icon: <ShieldX className="w-4 h-4" />,