Let the reference host read its key ring with a previous certificate
Les mainteneurs répondent en général sous 1 jour
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Accessibilité débutants
- 52/100
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
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.
- Langage dominant
- C#
- Étoiles
- 567
- Forks
- 107
- Merge moyen
- 1 h 19 min
- PR mergées (30 j)
- 353
Préparer son environnement
- Fournit un Dockerfile ou un fichier Docker Compose
- Propose un modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de fluentcms/FluentCMS
-
area:localization plugin type:bug
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
Les mainteneurs répondent en général sous 1 jour
-
area:storage type:bug
Difficulté 4/5 3-5 jours Accessibilité débutants 48/100
Les mainteneurs répondent en général sous 1 jour
-
area:testing type:bug
Difficulté 3/5 1-2 jours Accessibilité débutants 72/100
Les mainteneurs répondent en général sous 1 jour
-
area:api area:publishing type:feature
Difficulté 4/5 3-5 jours Accessibilité débutants 55/100
fluentcms/FluentCMS#3473 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
area:storage plugin type:bug
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 35/100
Les mainteneurs répondent en général sous 1 jour
Toutes les issues de fluentcms/FluentCMS
Issues similaires
-
[Bug]: Threading.Analyzers 0.7.79 does not load on the .NET 10 SDK (CS9057), CHT rules silently offOuvertebug regression threading
Difficulté 2/5 1-3 heures Accessibilité débutants 74/100
CryptoHives/Foundation#362 ·
Les mainteneurs répondent en général sous 1 jour
-
[Bug]: 本地歌词翻译显示错误Ouvertebug need-triage
Difficulté 2/5 1-3 heures Accessibilité débutants 65/100
Fervent-Tempo/AF-Media-Bar#321 ·
-
a-corriger documentation
Difficulté 1/5 Moins d'une heure Accessibilité débutants 87/100
christian-raj/S-Aloha#345 ·
-
bug 要トリアージ
Difficulté 2/5 1-3 heures Accessibilité débutants 64/100
Les mainteneurs répondent en général sous 1 jour
-
worldInstancedOccluderNode reads its appendix count as one byte, but it is a VLQPeut-être pris @spuddeh l’a pris aujourd’hui. Ouverte
Difficulté 1/5 Moins d'une heure Accessibilité débutants 78/100
Les mainteneurs répondent en général sous 1 jour