Let the reference host read its key ring with a previous certificate
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 52/100
Línea de trabajo
Start in src/FluentCMS.Host/ReferenceHost.cs and trace how the reference host configures Data Protection with ProtectKeysWithCertificate. Find the matching tests for certificate-protected key ring reads and add coverage showing that keys protected by either certificate can be read while new keys use the new certificate. Update docs/docker.md and docs/host-configuration.md with the replacement steps, including fluentcms settings reprotect; done when the acceptance checks pass.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Problem
The reference host and its image protect the Data Protection key ring with one certificate (ProtectKeysWithCertificate in src/FluentCMS.Host/ReferenceHost.cs). Nothing loads a previous certificate for reading (UnprotectKeysWithAnyCertificate). When the certificate is replaced, every ring key the old one protected becomes unreadable at once, and with it every secret setting, token and cookie those keys protect. fluentcms settings reprotect (#3364) cannot help: with the old certificate no key is protected by the new one, and with the new certificate the old keys cannot be read, so it ends with FCMS3308.
A host of one's own can configure both certificates; the image cannot.
Proposal
Let the reference host take one or more previous certificates that are used only to read the ring, and document the replacement as: add the new certificate with the old one as previous, wait for or make a new default key, run fluentcms settings reprotect, then drop the old certificate.
Acceptance
- A host configured with a new certificate and the previous one reads ring keys protected by either and protects new keys with the new one
-
docs/docker.mdanddocs/host-configuration.mdgive the steps of a certificate replacement, withsettings reprotectin its place - A test for the read with a previous certificate
Found in the review of #3433. Bundle 25.
- Lenguaje dominante
- C#
- Estrellas
- 567
- Forks
- 107
- Merge medio
- 1 h 19 min
- PR fusionados (30 d)
- 353
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de fluentcms/FluentCMS
-
area:localization plugin type:bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
area:storage type:bug
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
Los mantenedores suelen responder en 1 día
-
area:testing type:bug
Dificultad 3/5 1-2 días Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
area:api area:publishing type:feature
Dificultad 4/5 3-5 días Aptitud para principiantes 55/100
fluentcms/FluentCMS#3473 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
area:storage plugin type:bug
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
Los mantenedores suelen responder en 1 día
Todos los issues de fluentcms/FluentCMS
Issues similares
-
[Bug]: Threading.Analyzers 0.7.79 does not load on the .NET 10 SDK (CS9057), CHT rules silently offAbiertobug regression threading
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
CryptoHives/Foundation#362 ·
Los mantenedores suelen responder en 1 día
-
[Bug]: 本地歌词翻译显示错误Abiertobug need-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
Fervent-Tempo/AF-Media-Bar#321 ·
-
a-corriger documentation
Dificultad 1/5 Menos de una hora Aptitud para principiantes 87/100
christian-raj/S-Aloha#345 ·
-
bug 要トリアージ
Dificultad 2/5 1-3 horas Aptitud para principiantes 64/100
Los mantenedores suelen responder en 1 día
-
worldInstancedOccluderNode reads its appendix count as one byte, but it is a VLQPosiblemente ocupada @spuddeh la tomó hoy. Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día