Merge pull request #1808 from mavbozo/gpg-agent-docs
Docs to fix gpg: can't query passphrase in batch mode in debian
This commit is contained in:
commit
62385866c9
1 changed files with 17 additions and 0 deletions
17
doc/GPG.md
17
doc/GPG.md
|
@ -251,6 +251,23 @@ ignored.
|
|||
|
||||
## Troubleshooting
|
||||
|
||||
### Debian based distributions
|
||||
|
||||
#### gpg: can't query passphrase in batch mode
|
||||
|
||||
Could not decrypt credentials from /home/xxx/.lein/credentials.clj.gpg
|
||||
gpg: can't query passphrase in batch mode
|
||||
gpg: decryption failed: secret key not available
|
||||
|
||||
|
||||
This error happens with gpg 1.4.12. Make sure that you have `use-agent` option explicitly enabled in `~/.gnupg/gpg.conf`. See gpg option list.
|
||||
|
||||
You can test whether this solution works with
|
||||
|
||||
gpg --quiet --batch --decrypt ~/.lein/credentials.clj.gpg
|
||||
|
||||
If the system asked your passphrase then problem solved.
|
||||
|
||||
### Mac OSX
|
||||
|
||||
#### Unable to get GPG installed via Homebrew and OSX Keychain to work
|
||||
|
|
Loading…
Reference in a new issue