Let the reference host read its key ring with a previous certificate
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 52/100
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
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.
- Vorherrschende Sprache
- C#
- Sterne
- 567
- Forks
- 107
- Ø Merge
- 1 Std. 19 Min.
- Gemergte PRs (30 T.)
- 353
Entwicklungsumgebung
- Enthält ein Dockerfile oder eine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus fluentcms/FluentCMS
-
area:localization plugin type:bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
Maintainer antworten meist innerhalb von 1 Tag
-
area:storage type:bug
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 48/100
Maintainer antworten meist innerhalb von 1 Tag
-
area:testing type:bug
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 72/100
Maintainer antworten meist innerhalb von 1 Tag
-
area:api area:publishing type:feature
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 55/100
fluentcms/FluentCMS#3473 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
area:storage plugin type:bug
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 35/100
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in fluentcms/FluentCMS
Ähnliche Issues
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 63/100
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 62/100
martin-stromberg/FinanceManager#562 ·
Maintainer antworten meist innerhalb von 1 Tag
-
:eyeglasses: status: needs review needs-area-label
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 70/100
gitextensions/gitextensions#13469 ·
Maintainer antworten meist innerhalb von 2 Tagen
-
[Bug]: Threading.Analyzers 0.7.79 does not load on the .NET 10 SDK (CS9057), CHT rules silently offOffenbug regression threading
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 74/100
CryptoHives/Foundation#362 ·
Maintainer antworten meist innerhalb von 1 Tag
-
[Bug]: 本地歌词翻译显示错误Offenbug need-triage
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 65/100
Fervent-Tempo/AF-Media-Bar#321 ·