Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

git clone failed with entry not in the password store #57

Open
avoidik opened this issue Nov 7, 2022 · 1 comment
Open

git clone failed with entry not in the password store #57

avoidik opened this issue Nov 7, 2022 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@avoidik
Copy link

avoidik commented Nov 7, 2022

hello,

a plain simple clone attempt has failed with the following error

git clone https://x.y.z/abc.git
Cloning into 'abc'...

Error: failed to retrieve secret "get": entry is not in the password store
Username for 'https://x.y.z': abc
Password for 'https://[email protected]': 

Error: failed to retrieve secret "store": entry is not in the password store
remote: Enumerating objects: 2733, done.
remote: Counting objects: 100% (2733/2733), done.
remote: Compressing objects: 100% (2440/2440), done.
remote: Total 2733 (delta 1767), reused 401 (delta 285), pack-reused 0
Receiving objects: 100% (2733/2733), 379.23 KiB | 2.30 MiB/s, done.
Resolving deltas: 100% (1767/1767), done.

gopass installation method

$ gopass setup --storage fs

relevant config

[credential]
	credentialStore = gpg
	helper =
	helper = /usr/bin/gopass
[gpg]
	program = /usr/bin/gpg
$ cat ~/.config/gopass/config.yml
autoclip: false
autoimport: false
cliptimeout: 45
exportkeys: true
nopager: false
notifications: true
parsing: true
path: /home/xyz/.password-store
safecontent: false
mounts: {}
keychain: false
$ /usr/bin/gopass ls
gopass

relevant trace log

$ GIT_CURL_VERBOSE=1 GIT_TRACE=1 git clone https://x.y.z/abc.git
...
09:51:09.618663 run-command.c:664       trace: run_command: '/usr/bin/gopass get'

Error: failed to retrieve secret "get": entry is not in the password store
Username for 'https://x.y.z': abc
Password for 'https://[email protected]':
...
09:51:18.421130 run-command.c:664       trace: run_command: '/usr/bin/gopass store'

Error: failed to retrieve secret "store": entry is not in the password store
...

versions

$ /usr/bin/gopass -v
gopass 1.14.9 go1.19.1 linux arm64
$ git --version
git version 2.30.2
@jmgilman
Copy link

Same error. It feels like there's a configuration step getting missed. How are passwords initialized in the gopass database? I don't see anything in the README.

@dominikschulz dominikschulz self-assigned this Mar 21, 2023
@dominikschulz dominikschulz added the bug Something isn't working label Mar 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants