Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

AES_ENCRYPTION_SECRET rotation

Abierto
#620 1 comentario 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
25/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
go
Área
security

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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).

Lenguaje dominante
Go
Estrellas
1.1k
Forks
70
Merge medio
1 d 3 h
PR fusionados (30 d)
50

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de hookdeck/outpost

Todos los issues de hookdeck/outpost

Issues similares

Más issues de Go

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.