-
-
Notifications
You must be signed in to change notification settings - Fork 521
Closed
Labels
bugDefectsDefects
Description
Summary
Even if git push/pull works always with gopass, in otp it gives an error.
Thank you
Steps To Reproduce
~> gopass version
gopass 1.15.11 go1.21.4 linux amd64
~> gopass otp -c xyz/otp
✔ Copied token for xzy/otp to clipboard. Will clear in 45 seconds.
❌ Task failed: failed to push to git remote: signal: killed: fatal: the remote end hung up unexpectedly
~> gopass sync
🚥 Syncing with all remotes ...
✅ All done
Expected behavior
Environment
~> cat /etc/redhat-release
Fedora release 39 (Thirty Nine)
Additional context
GOPASS_DEBUG=true gopass otp --password xzy/otp
...
2024/01/10 16:40:31.560075 queue/background.go:106 queue.(*Queue).Add enqueued task
2024/01/10 16:40:31.560089 action/otp.go:170 action.(*Action).otp Saved counter as 47
2024/01/10 16:40:31.560103 action/otp.go:179 action.(*Action).otp OTP period: 30s
2024/01/10 16:40:31.560110 action/otp.go:189 action.(*Action).otp 196570
196570
2024/01/10 16:40:31.560159 gitfs/git.go:145 gitfs.(*Git).captureCmd store.gitDiffIndex: /usr/bin/git [git diff-index --quiet HEAD] (/home/xyz/.local/share/gopass/stores/root)
2024/01/10 16:40:31.560179 gitfs/git.go:155 gitfs.(*Git).Cmd CMD: gitDiffIndex [diff-index --quiet HEAD]
Error: context canceled
Output:
Stdout: ""
Stderr: ""
2024/01/10 16:40:31.560201 gitfs/git.go:145 gitfs.(*Git).captureCmd store.gitCommit: /usr/bin/git [git commit --date=1704901231 +00:00 -m Save secret to xyz/otp: ] (/home/xyz/.local/share/gopass/stores/root)
2024/01/10 16:40:31.560206 gitfs/git.go:155 gitfs.(*Git).Cmd CMD: gitCommit [commit --date=1704901231 +00:00 -m Save secret to xyz/otp: ]
Error: context canceled
Output:
Stdout: ""
Stderr: ""
2024/01/10 16:40:31.560219 queue/background.go:89 queue.(*Queue).run ERROR: Task failed: failed to commit changes to git: context canceled:
❌ Task failed: failed to commit changes to git: context canceled:
2024/01/10 16:40:31.560229 queue/background.go:97 queue.(*Queue).run Task done
2024/01/10 16:40:31.560233 queue/background.go:99 queue.(*Queue).run all tasks done
Metadata
Metadata
Assignees
Labels
bugDefectsDefects