Idea: config: [mounts] path
should be set using ~
if GOPASS_HOMEDIR
set.
#2897
Labels
Milestone
config: [mounts] path
should be set using ~
if GOPASS_HOMEDIR
set.
#2897
Summary
the
config
file has absolute path of stores like/.../.local/share/gopass/stores/root
using custom sync software leads to path inconsistencies, e.g. mac vs windows.
Steps To Reproduce
create a store under windows, copy folder to mac, set GOPASS_HOMEDIR try
gopass ls
Expected behavior
the env var
GOPASS_HOMEDIR
should somehow be respected, but[mounts] path
inconfig
takes precedence.Environment
macos 14.5 / brew
gopass 1.15.13 go1.22.2 darwin arm64
Additional context
if there is no value for
[mounts] path
inconfig
, theGOPASS_HOMEDIR
is respected and everything works, but first call to e.g.gopass ls
recreates thepath
entry, which breaks crossplatform execution.The text was updated successfully, but these errors were encountered: