fix: encryption key status polish for edge cases

Aperta
#2,051 0 commenti 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@Wikid82 ci sta già lavorando.

Dal 25/11/2026.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

backend frontend ssl

Low-severity observations from QA of #2048:

  1. backend/internal/crypto/rotation_service.go:216-222: a legacy slot holding the same key as the current key is neither dropped nor logged, so the status page lists it as its own "Still needed" row. A next key equal to current is already dropped (:208-213).
  2. While a next key is configured and no rotation has run, every start logs a Warn about rows needing a key other than the rotation target. Info fits better.
  3. A configured next key that nothing uses yet shows "No longer needed" (frontend/src/pages/EncryptionManagement.tsx:50-51). Correct by definition, but reads oddly just before a rotation.
  4. The start-up reconcile summary runs before the legacy certificate migration, so on the start that migrates it reports certificate_keys=0.
Lingua principale
Go
Stelle
17
Fork
2
Merge medio
1h 42m
PR unite (30g)
173

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 Wikid82/Charon

Tutte le issue di Wikid82/Charon

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.