gopass
gopass copied to clipboard
"Failed to check environment" & "Failed to list store" after fresh install
Summary
I am already using pass, but wanted to give gopass a try, so I installed gopass via homebrew. Running gopass
gave the following output:
2024-02-08 12:22:59.974 defaults[42905:76386752]
The domain/default pair of (org.gpgtools.common, UseKeychain) does not exist
⚠ Failed to check environment: exit status 1
🚥 Syncing with all remotes ...
[<root>] ❌ Failed to list store: lstat /System/Volumes/Data/home/leon: no such file or directory
gitfs pull and push ... OK❌ Failed to list store: lstat /System/Volumes/Data/home/leon: no such file or directory
(no changes)
done
✅ All done
__ _ _ _ _ _ ___ ___
/'_ '\ /'_'\ ( '_'\ /'_' )/',__)/',__)
( (_) |( (_) )| (_) )( (_| |\__, \\__, \
'\__ |'\___/'| ,__/''\__,_)(____/(____/
( )_) | | |
\___/' (_)
🌟 Welcome to gopass!
⚠ This is the built-in shell. Type 'help' for a list of commands.
Since then, all commands just return
❯ gopass ls
Error: failed to list store: lstat /System/Volumes/Data/home/leon: no such file or directory
I feel like the problem might have started with Failed to check environment: exit status 1
. I couldn't find where the error is coming from and I don't know how to fix that.
Steps To Reproduce
Not sure, if reproducable. For me, all I had to do was:
homebrew install gopass
gopass
Expected behavior
gopass just works like a replacement for pass, without any errors and warnings.
Environment
- OS: macOS (with Apple M1 Pro chip)
- OS version: 14.1.1
- gopass Version: gopass 1.15.11 go1.21.4 darwin arm64
- Installation method: homebrew
Additional context
The error might be a red herring. I'll try to improve the error message but other than that I would need more log output to diagnose this further.
Please run gopass with GOPASS_DEBUG=true
set in the environment.