`min secret set`: check whether the edited rule still routes the old secret before keeping or removing the item · Issue #4056 · gominimal/minimal · GitHub
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
min secret set: check whether the edited rule still routes the old secret before keeping or removing the item #4056
Found in review of #4009 (comment), at crates/minimal/src/cmd/secret.rs:993. Unresolved when this issue was filed.
Check whether the edited rule still routes the old secret to a new authority.
If an editor adds a second authority to the replacement rule before the store rejects the new value, rollback correctly preserves the edit. But the full-rule comparison then skips removal of the old item. The edited rule still sends that item to the first new authority.
Check whether the current rule for the native item still permits a destination introduced by the replacement. Keep the item when the editor removes the rule or removes those destinations. Do not use full-rule equality as the routing check.
Activity