Package: gnupg2
Version: 2.0.20-1
Severity: normal

--- Please enter the report below this line. ---
Hello @ll,
when I create a test file via
<quote>
echo test > test
</quote>
and then use
<quote>
gpg2 --sign test
</quote>
to sign my test file, I get the following message
<quote>
You need a passphrase to unlock the secret key for
user: "Test User"
2048-bit RSA key, ID $secret, created 2013-10-21

gpg: can't connect to the agent - trying fall back
gpg-agent[4199]: enabled debug flags: assuan
gpg: problem with the agent: No pinentry
gpg: no default secret key: Operation cancelled
gpg: signing failed: Operation cancelled
</quote>
... :( If I try the same with gpg (1.4.15)
<quote>
gpg --sign test
</quote>
, I get
<quote>
You need a passphrase to unlock the secret key for
user: "Test User"
2048-bit RSA key, ID $secret, created 2013-10-21

can't connect to `/tmp/gpg-rz6R90/S.gpg-agent': No such file or
directory
gpg: can't connect to `/tmp/gpg-rz6R90/S.gpg-agent': connect failed
</quote>
and - despite of the "No such file..." and "connect failed" messages -
am able to sign my test file ... ;) I have installed different pinentry
packages (dpkg -l | grep pinentry says
<quote>
ii  pinentry-curses                                   0.8.1-1
amd64        curses-based PIN or pass-phrase entry dialog for GnuPG
ii  pinentry-qt4                                      0.8.1-1
amd64        Qt-4-based PIN or pass-phrase entry dialog for GnuPG) and
have an entry for it in ~/.gnupg/gpg-agent.conf ("pinentry-program
/usr/bin/pintentry-curses", but it does not make any differnce, if I
enter "pinentry-program /usr/bin/pintentry-qt4" here ... :( ), but still
I am not able to use gpg2 ... :( It would be nice, if this can get fixed
... ;)
Sorry for the inconvenience
Thomas.

--- System information. ---
Architecture: amd64
Kernel:       Linux 3.10-3-amd64

Debian Release: jessie/sid
  500 wheezy-pgdg     apt.postgresql.org 
  500 unstable        snapshots.ekiga.net 
  500 unstable        download.jitsi.org 
  500 testing         www.deb-multimedia.org 
  500 testing         ftp.de.debian.org 
  500 testing         apt.last.fm 
  500 stable          security.debian.org 
  500 stable          dl.google.com 
  500 libreofficebox  LibOx 4.1 Test-ISO 
  500 isv:ownCloud:testing download.opensuse.org 

--- Package information. ---
Depends                (Version) | Installed
================================-+-=============
gnupg-agent         (= 2.0.20-1) | 2.0.20-1
libassuan0            (>= 2.0.1) | 2.1.1-1
libbz2-1.0                       | 1.0.6-5
libc6                  (>= 2.15) | 2.17-93
libcurl3-gnutls      (>= 7.16.2) | 7.32.0-1
libgcrypt11           (>= 1.4.5) | 1.5.3-2
libgpg-error0          (>= 1.10) | 1.12-0.2
libksba8              (>= 1.2.0) | 1.3.0-2
libreadline6            (>= 6.0) | 6.2+dfsg-0.1
zlib1g              (>= 1:1.1.4) | 1:1.2.8.dfsg-1
dpkg                (>= 1.15.4)  | 1.16.12
 OR install-info                 | 5.2.0.dfsg.1-1


Package's Recommends field is empty.

Suggests        (Version) | Installed
=========================-+-===========
gnupg-doc                 | 
xloadimage                | 

-- 
"Indecision is the basis of flexibility"
                -- button at a Science Fiction convention.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to