Hi,

i have the following issue(s):
There is a password store somewhere on disk. That store is linked into home.

# ls -lh ~/.password-store/
# lrwxrwxrwx 1 xxx xxx 25 Sep  4 08:48 secrets -> /some/path/config/Secrets/

The first issue is pass complaining about that:
# pass insert -f -m secrets/test
# fatal: /root/.password-store/psi-secrets/test.gpg: '/root/.password-store/psi-secrets/test.gpg' is outside repository

2nd issue: There is a git repository in one of the parent directories, say /some/path/. pass tries to git commit to that repository, which is not meant for pass to be used.

# pass rm -f secrets/test
# removed '~/.password-store/secrets/test.gpg'
# fatal: ~/.password-store/secrets/test.gpg: '~/.password-store/secrets/test.gpg' is outside repository
#
# *** Please tell me who you are.
#
# Run
#
#  git config --global user.email "[email protected]"
#  git config --global user.name "Your Name"
#
# to set your account's default identity.
# Omit --global to set the identity only in this repository.
#
# fatal: unable to auto-detect email address (got 'xxx@xxx.(none)')


pass did not do any of those things previously, although i don't know what changed. The current version in use is v1.7.3.

I use this quick hack as a workaround:
sed -i 's/\(set_git\s\)/set_git2 /' /usr/bin/pass
sed -i '2iset_git2() { true; }' /usr/bin/pass

Am i missing something?

_______________________________________________
Password-Store mailing list
[email protected]
https://lists.zx2c4.com/mailman/listinfo/password-store

Reply via email to