settings reprotect: name the default key, report values it cannot reach, and settle rows of unregistered areas
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
- 54/100
- Type d'issue
- Bug
- Clarté
- Plutôt claire
- Activité
- Active
- Stack technique
- csharp
- Domaine
- backend, documentation, testing
Piste de recherche
Start with the fluentcms settings reprotect implementation and its tests, then read the related behavior in #3364 and #3433. The issue also points to docs/host-configuration.md; inspect how settings areas and cached key rings are handled before choosing the unregistered-area cleanup behavior. Done means the output names the default key id, unreachable protected values are reported without revealing values, the cleanup path is decided and documented, and tests cover the command changes.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
Follow-ups of fluentcms settings reprotect (#3364, #3433), found in its review. None loses or shows a secret.
- The command does not say which ring key it protected under. It ends with exit code 0 whatever the default key is. Run before the key that is to be kept has become the default, it succeeds, and retiring the old key afterwards still loses the secrets. Name the id of the default key in the output; the id is not secret.
- Protected values the pass cannot reach in a registered area are skipped without a word. A
fcms-protected:v1:value under a key the class no longer has, or no longer marks as a secret, is left as it is and the command ends with 0. Rows of an area no class registers are reported; these are not. - No way to remove the settings rows of an area no class registers. A host that removed a plugin with secret settings gets exit code 1 from every run, and neither the API nor
resetknows the area. - The docs do not say when an instance may still write under the old key. A running instance caches the ring for up to 24 hours, so with a key made by hand it can protect a write under the old default after the pass. Say when to run the pass, or that the instances are restarted first.
Wanted
- The default key's id in the command's output, with a test.
- Such values reported by area and scope, never by value, with a test.
- A decision on the rows of an unregistered area: a command or an option that removes them, or the documented way to do it.
- The sentence in
docs/host-configuration.md.
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