Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 140890 - gnupg-1.9.20-r3 - symmetrical encryption/decryption does not work with gpg-agent
Summary: gnupg-1.9.20-r3 - symmetrical encryption/decryption does not work with gpg-agent
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Crypto team [DISABLED]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-18 03:08 UTC by Alexander Zimmerer
Modified: 2006-10-04 21:04 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 Alexander Zimmerer 2006-07-18 03:08:39 UTC
When trying to encrypt a file with symmetric encryption the following happens:
(this works on other distributions)

gentoo ~ # gpg --symmetric DATA
gpg-agent[18920]: command get_passphrase failed: Operation cancelled
gpg: cancelled by user
gpg: error creating passphrase: invalid passphrase
gpg: symmetric encryption of `DATA' failed: invalid passphrase
gentoo ~ #

Environment:

Portage 2.1-r1 (default-linux/x86/2006.0, gcc-3.3.6, glibc-2.3.6-r4, 2.6.14.2 i686)
=================================================================
System uname: 2.6.14.2 i686 Pentium III (Coppermine)
Gentoo Base System version 1.6.15
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.3.5-r2, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium3 -fprefetch-loop-arrays -funroll-loops -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib/X11/xkb /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo"
CXXFLAGS="-O2 -march=pentium3 -fprefetch-loop-arrays -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://ftp.easynet.nl/mirror/gentoo/"
LANG="en_US"
LC_ALL="en_US"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp-portage"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 alsa apache2 apm avi berkdb bitmap-fonts cli crypt dlloader dri eds emboss encode esd foomaticdb fortran gdbm gif gstreamer gtk2 imlib ipv6 isdnlog jpeg libg++ libwww mad mikmod motif mp3 mpeg ncurses nls nptl offensive ogg oss pam pcre pdflib perl png pppd psyco python qt3 qt4 readline reflection samba session smp spell spl ssl tcpd truetype truetype-fonts type1-fonts udev vorbis xml xmms xorg zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux userland_GNU"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

gentoo ~ # epm -q gnupg pinentry
gnupg-1.9.20-r3
gnupg-1.4.2.2
pinentry-0.7.2-r2

gentoo ~ # cat .gnupg/gpg.conf | grep use-agent
use-agent
gentoo ~ # cat .gnupg/gpg-agent.conf
pinentry-program /usr/bin/pinentry
no-grab
default-cache-ttl 1800
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2006-10-04 21:04:06 UTC
please test with gnupg-1.4.5 and gnupg-1.9.22 (you need both of them) and report back. REOPEN if it still occurs.