vaultix
vaultix copied to clipboard
Vaultix fails with password-protected age identity files
Vaultix does not work with an identity file that contains a password-protected age private key.
Steps to reproduce:
- Generate a password-protected age identity file:
age-keygen | age -p > identity.age - Configure vaultix to use this identity file:
{
inputs,
...
}:
{
imports = [ inputs.vaultix.flakeModules.default ];
flake.vaultix = {
identity = inputs.self + "/identity.age";
};
}
- Run the edit command:
nix run .#vaultix.app.x86_64-linux.edit -- secret.age
Expected behavior:
vaultix should prompt for the passphrase and decrypt the secret using the protected identity.
Actual behavior:
The command fails with the error:
INFO: [vaultix::cmd] editing secrets
Error: handle ssh key fail
Location:
src/parser/identity.rs:280:17
Environment:
- NixOS: 25.05
This issue blocks the use of password-protected age identities with vaultix.