Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 83537 - gpg-agent doesn't work with pinentry-curses
Summary: gpg-agent doesn't work with pinentry-curses
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Crypto team [DISABLED]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-28 03:27 UTC by Martin Tsachev
Modified: 2005-03-25 14:16 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Tsachev 2005-02-28 03:27:30 UTC
I can't get gpg-agent to work with pinentry-curses, it works fine with pinentry-qt and keychain. Tried without keychain too and setting GPG_TTY before starting the gpg-agent with no luck.

I only found this information http://lists.gnupg.org/pipermail/gnupg-users/2003-July/019184.html but it's a patch to gnupg 1.2.2 and I'm using 1.2.6.


Reproducible: Always
Steps to Reproduce:




Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.3.5, glibc-2.3.4.20040808-
r1, 2.6.10-gentoo-r6-p3 i686)
=================================================================
System uname: 2.6.10-gentoo-r6-p3 i686 Pentium III (Katmai)
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 10 2005, 11:33:00)
]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.5, 1.7.9-r1, 1.6.3, 1.4_p6, 1.9.4, 1.8.5-r3
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/
config /var/qmail/alias /var/qmail/control /var/vpopmail/domains /var/vpopmail/
etc"
CONFIG_PROTECT_MASK="/etc/gconf /etc/init.d /etc/mail/dspam /etc/terminfo /etc/
env.d"
CXXFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp://gentoo.itdnet.net/gentoo/ http://gentoo.mirror.icd.hu/ 
http://gd.tuwien.ac.at/opsys/linux/gentoo/"
LC_ALL="POSIX"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 acl acpi bash-completion crypt curl emboss font-server gdbm libg++ 
libwww mmx mysql ncurses nptl pam perl pic python readline slang spell sse ssl 
tiff truetype-fonts type1-fonts vhosts xml2 zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LDFLAGS, PORTDIR_OVERLAY
Comment 1 Martin Tsachev 2005-02-28 03:30:08 UTC
gpg-agent[20406.0x8064588] DBG: -> OK Pleased to meet you
gpg-agent[20406.0x8064588] DBG: <- OPTION ttyname=/dev/tty
gpg-agent[20406.0x8064588] DBG: -> OK
gpg-agent[20406.0x8064588] DBG: <- OPTION ttytype=xterm
gpg-agent[20406.0x8064588] DBG: -> OK
gpg-agent[20406.0x8064588] DBG: <- OPTION lc-ctype=C
gpg-agent[20406.0x8064588] DBG: -> OK
gpg-agent[20406.0x8064588] DBG: <- OPTION lc-messages=C
gpg-agent[20406.0x8064588] DBG: -> OK
gpg-agent[20406.0x8064588] DBG: <- GET_PASSPHRASE B094153B617D8F1769EF39F0E2FBAA57F32CC609 X X You+need+a+passphrase+to+unlock+the+secret+key+for+user:%0A"Martin+Tsachev+(Backups)+<backup@mtweb.org>"%0A1024-bit+DSA+key,+ID+F32CC609,+created+2004-05-01%0A
gpg-agent[20406]: starting a new PIN Entry
gpg-agent[20406]: DBG: connection to PIN entry established
gpg-agent[20406]: command get_passphrase failed: Operation cancelled
gpg-agent[20406.0x8064588] DBG: -> ERR 67108963 Operation cancelled <GPG Agent>
gpg: cancelled by user
gpg-agent[20406.0x8064588] DBG: <- [EOF]
gpg-agent[20406.0x8064588] DBG: -> OK Pleased to meet you
gpg-agent[20406.0x8064588] DBG: <- OPTION ttyname=/dev/tty
gpg-agent[20406.0x8064588] DBG: -> OK
gpg-agent[20406.0x8064588] DBG: <- OPTION ttytype=xterm
gpg-agent[20406.0x8064588] DBG: -> OK
gpg-agent[20406.0x8064588] DBG: <- OPTION lc-ctype=C
gpg-agent[20406.0x8064588] DBG: -> OK
gpg-agent[20406.0x8064588] DBG: <- OPTION lc-messages=C
gpg-agent[20406.0x8064588] DBG: -> OK
gpg-agent[20406.0x8064588] DBG: <- CLEAR_PASSPHRASE B094153B617D8F1769EF39F0E2FBAA57F32CC609
gpg-agent[20406.0x8064588] DBG: -> OK
gpg: no default secret key: bad passphrase
gpg: signing failed: bad passphrase
Comment 2 Aron Griffis (RETIRED) gentoo-dev 2005-03-12 14:39:47 UTC
I'm using the following together successfully, with pinentry-curses

gpg-agent-1.9.15
pinentry-0.7.2
keychain-2.5.3.1
Comment 3 Martin Tsachev 2005-03-12 14:49:19 UTC
Fixed with pinentry-0.7.2
Comment 4 Marcelo Goes (RETIRED) gentoo-dev 2005-03-25 14:16:42 UTC
Closing bug since it has been fixed.