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
Not sure if you've solved this for yourself yet, but I just discovered that running agenix in the terminal doesn't seem to pick up the config-defined value of identityPaths. Once I realized this, I tested various combinations of ed25519 keys in my config and everything decrypted correctly at runtime, even though they don't all decrypt with agenix. I figured I'd mention it in case it helps anyone coming across this issue.
I am importing the
agenix
module into my `home-manager config like soAnd then in my
home.nix
, I am importingsecret_defs.nix
, which defines theidentityPaths
tossh
private keys I know exist.I have the
RULES
variableset
set so agenix should be looking at the correct config that defines the users/systems.When I pass the keys in through
--identity
, I am able to decrypt the secret.Trying to decrypt with the
-v
option does not suggest that the path I configured has even been searched.It may be ignoring this config as a whole, since the
test1.path
variable doesn't seem to be respected either, as it is not decrypted there.What am I doing wrong here?
The text was updated successfully, but these errors were encountered: