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
Let Host-Scoped secrets_sync Buckets Hold the Same Home-Relative Title #4249
scripts/secrets_sync.py titles each item with its path under the home directory. Before a create, it refuses a title that another Secrets * bucket already holds. That refusal was added so two copies of one file cannot drift apart.
A host's own SSH key has the same path on every host. So once bucket host-alpha holds .ssh/id_ed25519, a push of host-beta's own .ssh/id_ed25519 is refused. Per-host buckets therefore work for one host only.
How to Reproduce
With the fake op in tests/test_secrets_sync.py: push .ssh/id_ed25519 from one temporary home to bucket host-alpha. Then push a different .ssh/id_ed25519 from a second temporary home to bucket host-beta. The second push is refused as a title host-alpha holds.
Decided Fix
Settled with the maintainer on 2026-11-16:
A bucket named host-<name> is host-scoped. The shared-title check skips other host-* buckets when the bucket being pushed is itself a host-* bucket. A title in any bucket not named host-* still collides with every other bucket, host buckets included.
pull refuses selecting two host-* buckets in one run, naming both. One host restores one host bucket.
status with no bucket still lists every vault's titles. A title held by several host buckets is not reported as a conflict.
The README states the host- prefix and what it changes.
Done
Merged into develop with tests covering the push across two host buckets, the collision of a host bucket with a shared one in each direction, and the pull refusal.
Activity
Let Host-Scoped secrets_sync Buckets Hold the Same Home-Relative Title (