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
The encryption design gives the age key file as ~/.config/sops/age/keys.txt everywhere: sops reads it there on Linux only #978
docs/architecture/3.5.13-encryption-provider.md:44-45 gives the ambient age identity as SOPS_AGE_KEY or ~/.config/sops/age/keys.txt. The path is right only on Linux. sops v3.12.1, the version writ builds with, reads sops/age/keys.txt under its user configuration directory (age/keysource.go:393-399, :440-444):
Linux:XDG_CONFIG_HOME, else ~/.config.
macOS:XDG_CONFIG_HOME when set, else ~/Library/Application Support.
Windows: always %AppData%.
sops also reads SOPS_AGE_KEY_FILE, SOPS_AGE_KEY_CMD, the two SSH variables, and ~/.ssh/id_ed25519 and ~/.ssh/id_rsa, and tries every identity it finds.
On Windows this runs against devlore's rule that XDG locations hold there too (#903): a key kept at devlore's ~/.config/sops/age/keys.txt is found only when SOPS_AGE_KEY_FILE points at it.
The user guide carries the full table as of #974 (docs/guides/writ/index.md § Secrets, "Where writ finds your keys"). The design document wasn't changed there, because changing a design is the owner's ruling. Found 2026-09-29 by #974's review.
Resolution
The design document names the per-platform locations or links the guide's table, and says whether writ should point sops at devlore's XDG location on Windows or leave that to the user.
Activity
feat(writ): writ's templates end in .tmpl, and .template is left to o…
David-Noble-at-work commentedon Nov 9, 2026
star github triage sweep added this issue to Triage: devlore, for the rule it breaks:
no-evidence: no Evidence of completion section