[TASK] Enable encryption for SQLite database to protect data at rest

Aperta
#207 0 commenti 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@Aravinda-HWK ci sta già lavorando.

Dal 23/1/2026.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

enhancement
What needs to be done?
Description

Currently, the application uses a plain SQLite database file, which can be read by anyone with filesystem access. This task aims to introduce database-level encryption so that data at rest is protected and unreadable without the application-provided key.

The goal is to ensure that:

  • The SQLite database file is encrypted on disk
  • Only the application (with the correct key) can read/write the database
  • Accidental access, backups, or file leaks do not expose sensitive data
Proposed Approach
  • Use SQLCipher (or an equivalent SQLite encryption solution)
  • Integrate with Go’s database/sql layer
  • Load the encryption key securely at runtime (e.g., environment variable, secret manager)
  • Avoid hardcoding encryption keys in the source code
Lingua principale
Go
Stelle
12
Fork
13
Merge medio
2g 3h
PR unite (30g)
8

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di OpenGovMail/raven

Tutte le issue di OpenGovMail/raven

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.