Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

AES_ENCRYPTION_SECRET rotation

Aperta
#620 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
go
Ambito
security

Direzione di ricerca

Start by locating how AES_ENCRYPTION_SECRET is configured and how webhook destination secrets are decrypted and encrypted. Then check how destination listing and retrieval handle decryption failures, and identify the CLI entry points for commands that process destinations. Done means old secrets can be decrypted and re-encrypted with the rotation secret without making existing destinations unusable.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement

Is your feature request related to a problem? Please describe.

It doesn't currently seem possible to rotate the AES_ENCRYPTION_SECRET configuration value. This is potentially required for compliant environments, where encryption secrets need to be rotated in regular intervals.

Describe the solution you'd like

A potential solution could look like this:

  • Add a second configuration variable, AES_ENCRYPTION_SECRET_ROTATION
  • If present, use it as a fallback during decryption if decryption with AES_ENCRYPTION_SECRET fails
  • Add a CLI command which goes through all webhook destinations, decrypts the secret, and re-encrypts with AES_ENCRYPTION_SECRET_ROTATION

Describe alternatives you've considered

None.

Additional context

If discovered this during setting up our internal Outpost setup. I had to move AES_ENCRYPTION_SECRET to key vault, and in the process the secret changed, rendering my existing destination settings useless. (As a side-note, but less critical, retrieving a destination or list of destinations with the wrong encryption secret just errors).

Lingua principale
Go
Stelle
1.1k
Fork
70
Merge medio
1g 3h
PR unite (30g)
50

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

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 hookdeck/outpost

Tutte le issue di hookdeck/outpost

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.