Date: Mon, 24 Feb 2020 14:11:19 -0000 (UTC)
As far as I have seen in the pass script, --batch mode is oly invoked if you
are running a gpg agent or are running gpg2.
Do you have gpg2 installed?
Do you have a gpg agent configured?
You may need to include the following line in your ~.profile :
export GPG_TTY=$(tty)
Shadrock Uhuru <niyal...@gmail.com> wrote:
[-- text/plain, encoding 8bit, charset: utf-8, 61 lines --]
Hi
From: Rubén Llorente <port...@use.startmail.com>
To: misc@openbsd.org
Subject: Re: pass 'password manager' problem
Date: Fri, 21 Feb 2020 16:22:37 -0000 (UTC)
Do you have a ~.gnupg/gpg.conf ? Pass works fine for me.
Shadrock Uhuru <niyal...@gmail.com> wrote:
[-- text/plain, encoding 7bit, charset: utf-8, 6 lines --]
running 'pass username' returns
"gpg: Sorry, we are in batchmode - can't get input",
am i missing a piece of software or setting ?
shadrock
yes i have the following
cat ~/.gnupg/gpg.conf
use-agent
pinentry-mode loopback
personal-cipher-preferences CAMELLIA256 AES256 AES192 AES CAST5
# personal-cipher-preferences AES256 AES192 AES CAST5 CAMELLIA192
# BLOWFISH TWOFISH CAMELLIA128 3DES
personal-digest-preferences SHA512 SHA384 SHA256 SHA224
personal-compress-preferences BZIP2 ZIP ZLIB
default-preference-list SHA512 SHA384 SHA256 SHA224 AES256 AES192 AES
CAST5 ZLIB BZIP2 ZIP Uncompressed
cert-digest-algo SHA512
digest-algo SHA256
s2k-mode 3
s2k-digest-algo SHA512
s2k-cipher-algo AES256
s2k-count 1015808
charset utf-8
fixed-list-mode
no-greeting
no-secmem-warning
no-comments
no-emit-version
keyid-format 0xlong
list-options show-uid-validity
verify-options show-uid-validity
keyserver-options import-clean-sigs import-clean-uids export-clean-sigs
export-clean-uids
keyserver hkp://hkps.pool.sks-keyservers.net
keyserver-options auto-key-retrieve
keyserver-options no-honor-keyserver-url
escape-from-lines
bzip2-compress-level 9
compress-level 9
with-fingerprint
---------------------------------------------------------------------------
shadrock
Hi
yes i have gpg2 installed
gpg-agent.conf has
cat .gnupg/gpg-agent.conf
default-cache-ttl 300
max-cache-ttl 999999
and i've added export GPG_TTY=$(tty) ~/.profile
but still no joy.
shadrock