feat(PROJ-18): E-Mail Integritätsprüfung (SHA-256 Verifikation)
- Storage: VerifyIntegrity, GetAllIDs, GetVerifyStatus + DB-Spalten
- main: Hintergrund-Worker alle 5 Minuten (beim Start sofort: 40/40 OK)
- API: verify_ok + verified_at in GET /api/mails/{id} Antwort
- Frontend: Grüner Haken / graues X / rotes X in Mail-Ansicht
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
+2
-1
@@ -30,7 +30,8 @@
|
||||
| PROJ-16 | LDAP / Active Directory Anbindung | In Progress | [PROJ-16](PROJ-16-ldap-active-directory.md) | 2026-03-13 |
|
||||
|
||||
| PROJ-17 | Admin Dashboard – Systemauslastung & Archiv-Übersicht | In Review | [PROJ-17](PROJ-17-system-dashboard.md) | 2026-03-14 |
|
||||
| PROJ-18 | E-Mail Integritätsprüfung | In Progress | [PROJ-18](PROJ-18-integritaetspruefung.md) | 2026-03-14 |
|
||||
|
||||
<!-- Add features above this line -->
|
||||
|
||||
## Next Available ID: PROJ-18
|
||||
## Next Available ID: PROJ-19
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
# PROJ-18: E-Mail Integritätsprüfung
|
||||
|
||||
## Status: In Progress
|
||||
**Created:** 2026-03-14
|
||||
|
||||
## User Stories
|
||||
- Als Admin möchte ich sehen ob eine archivierte E-Mail unverändert ist, damit ich Manipulationen erkennen kann.
|
||||
|
||||
## Acceptance Criteria
|
||||
- [x] Hintergrund-Job läuft alle 5 Minuten und prüft alle E-Mails
|
||||
- [x] Prüfung: SHA-256 der entschlüsselten Datei == gespeicherte ID
|
||||
- [x] Ergebnis wird in DB gespeichert (verify_ok, verified_at)
|
||||
- [x] Mail-Ansicht zeigt grünen Haken (verifiziert OK), graues X (noch nicht geprüft) oder rotes X (Manipulation erkannt)
|
||||
|
||||
## Implementation Notes
|
||||
- verify_ok BOOLEAN + verified_at TIMESTAMPTZ in emails-Tabelle
|
||||
- Background worker in main.go, Ticker 5 Minuten
|
||||
- GET /api/mails/{id} gibt verified_ok + verified_at zurück
|
||||
Reference in New Issue
Block a user