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
After providing password to KeepassXC, chezmoi shows diff with no errors.
Output of command with the --verbose flag
❯ chezmoi diff --no-pager --verbosechezmoi: template: dot_config/template_file.tmpl:3:29: executing "dot_config/template_file.tmpl" at <keepassxc "entry">: error calling keepassxc: /usr/bin/keepassxc-cli show /path/to/file.kdbx --quiet --show-protected 'entry': exit status 1
Output of chezmoi doctor
❯ chezmoi doctor RESULT CHECK MESSAGEok version v2.44.0, commit 9902245adf529f5617dd1606a08f53f1fb1e8fa9, built at 2024-01-10T13:14:57Z, built by goreleaserok latest-version v2.44.0ok os-arch linux/amd64 (Fedora Linux 39 (KDE Plasma))ok uname Linux tltp 6.6.9-200.fc39.x86_64 #1 SMP PREEMPT_DYNAMIC Mon Jan 1 20:05:54 UTC 2024 x86_64 GNU/Linuxok go-version go1.21.6 (gc)ok executable /usr/bin/chezmoiok upgrade-method sudo-upgrade-packageok config-file ~/.config/chezmoi/chezmoi.toml, last modified 2023-10-27T08:39:45+02:00warning source-dir ~/.local/share/chezmoi is a git working tree (dirty)ok suspicious-entries no suspicious entrieswarning working-tree ~/.local/share/chezmoi is a git working tree (dirty)ok dest-dir ~ is a directoryok umask 022ok cd-command found /bin/zshok cd-args /bin/zshinfo diff-command not setok edit-command found /usr/bin/vimok edit-args /usr/bin/vimok git-command found /usr/bin/git, version 2.43.0ok merge-command found /usr/bin/vimdiffok shell-command found /bin/zshok shell-args /bin/zshinfo age-command age not found in $PATHok gpg-command found /usr/bin/gpg, version 2.4.3info pinentry-command not setinfo 1password-command op not found in $PATHinfo bitwarden-command bw not found in $PATHinfo bitwarden-secrets-command bws not found in $PATHinfo dashlane-command dcli not found in $PATHinfo doppler-command doppler not found in $PATHinfo gopass-command gopass not found in $PATHok keepassxc-command found /usr/bin/keepassxc-cli, version 2.7.6ok keepassxc-db /path/to/file.kdbx is a fileinfo keeper-command keeper not found in $PATHinfo lastpass-command lpass not found in $PATHinfo pass-command pass not found in $PATHinfo passhole-command ph not found in $PATHinfo rbw-command rbw not found in $PATHok vault-command found /usr/bin/vault, version 1.15.4info vlt-command vlt not found in $PATHinfo secret-command not set
Additional context
Using --debug gives the culprit:
❯ chezmoi diff --no-pager --debug2024-01-12T12:52:11+01:00 ERR Output error="exit status 1" args=["keepassxc-cli","show","/path/to/file.kdbx","--quiet","--show-protected","entry"] duration=30.927591ms exitCode=1 output= path=/usr/bin/keepassxc-cli size=0 systemTime=7.986 userTime=22.548chezmoi: template: dot_config/template_file.tmpl:3:29: executing "dot_config/template_file.tmpl" at <keepassxc "entry">: error calling keepassxc: /usr/bin/keepassxc-cli show /path/to/file.kdbx --quiet --show-protected 'entry': exit status 1
Describe the bug
A clear and concise description of what the bug is.
To reproduce
Have keepassxc configured to use a key file, e.g. (
chezmoi data | jq '.chezmoi.config.keepassxc
):Run
chezmoi diff
Expected behavior
After providing password to KeepassXC, chezmoi shows diff with no errors.
Output of command with the
--verbose
flagOutput of
chezmoi doctor
Additional context
Using
--debug
gives the culprit:compared to the older version (v.2.43.0):
one can notice that the new version does not use
-k /path/to/file.key
arguments.The text was updated successfully, but these errors were encountered: