busya
5c59a2c79b
feat(security): add encryption health inventory and key recovery wizard
Backend:
- GET /api/security/encryption/health — inventory of all stored encrypted
secrets (LLM providers, DB connections, profile Git tokens) with
decrypt attempt and structured broken/healthy status
- GET /api/security/encryption/fingerprint — non-secret key fingerprint
- POST /api/security/encryption/recover — bulk replacement of
undecryptable secrets with partial_success semantics
Frontend:
- KeyRecoveryModel.svelte.ts — state machine (idle→scanning→
healthy/needs_recovery→editing→saving→complete/partial_success/error)
- KeyRecoveryWizard.svelte — tabbed dialog with LLM/DB/Git sections,
security guidance, re-encrypt command display, edit/save flow
- SystemSettings entry point — 'Check encrypted secrets' card with
fingerprint and broken count
- API methods: getEncryptionHealth, recoverEncryptedSecrets
- Types: EncryptionRecoveryTypes
- i18n: en/ru strings for recovery flow
Tests: 226 passed
2026-07-06 18:05:05 +03:00
..
2026-05-25 08:36:33 +03:00
2026-06-11 19:12:49 +03:00
2026-05-17 14:18:02 +03:00
2026-07-06 18:05:05 +03:00
2026-07-06 14:24:17 +03:00
2026-05-26 19:18:28 +03:00
2026-05-26 19:18:28 +03:00
2026-06-15 17:31:43 +03:00
2026-06-16 09:34:10 +03:00
2026-07-06 14:24:17 +03:00
2026-06-01 16:34:07 +03:00
2026-07-06 01:22:39 +03:00
2026-07-06 01:22:39 +03:00
2026-07-06 16:18:55 +03:00
2026-07-06 15:49:48 +03:00
2026-06-29 17:15:25 +03:00
2026-07-06 10:06:07 +03:00
2026-07-06 10:06:07 +03:00
2026-07-06 10:06:07 +03:00
2026-05-20 23:54:53 +03:00
2026-05-14 11:20:17 +03:00