Skip to content

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

@avoidik

Description

@avoidik

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions