Documentation
¶
Overview ¶
Package homeperms is the single enumeration of the config-home secret paths and their canonical modes, shared by init (the seeder) and doctor (the fixer) so they can never disagree. Mirrors facade._secret_perms + SECRET_DIR/FILE_MODE.
Index ¶
Constants ¶
const ( DirMode os.FileMode = 0o700 FileMode os.FileMode = 0o600 )
Secret modes for the config home.
Variables ¶
This section is empty.
Functions ¶
func SecretPerms ¶
func SecretPerms(p paths.Paths) []perms.ManagedPath
SecretPerms returns every config-home secret path with its canonical mode.
"Secret" is read broadly. The state models are not key material, but the manifest maps every hostname and login the user talks to, providers.json can hold API tokens for the deployment backends, and a bundle's .contents sidecar names every key in the archive. None of that should be readable by other local accounts.
Types ¶
This section is empty.