Sorry to bother you again, but I still cannot do signed commits. I don't know what else to try.

On Thu, 14 Mar 2013, Robin H. Johnson wrote:
On Thu, Mar 14, 2013 at 10:50:00AM +0700, gro...@gentoo.org wrote:
But my first attempt to do a signed commit has failed:
Your GPG agent is broken/missing.
These are steps I have done:

elrond ~ # eselect pinentry list
Available pinentry binary implementations:
  [1]   pinentry-gtk-2
  [2]   pinentry-qt4 *
  [3]   pinentry-curses

In /etc/kde/startup/agent-startup.sh:

if [ -x /usr/bin/gpg-agent ]; then
  eval "$(/usr/bin/gpg-agent --daemon)"
fi

In /etc/kde/shutdown/agent-shutdown.sh:

if [ -n "${GPG_AGENT_INFO}" ]; then
  kill $(echo ${GPG_AGENT_INFO} | cut -d':' -f 2) >/dev/null 2>&1
fi

grozin@elrond ~/.gnupg $ cat gpg-agent.conf
pinentry-program /usr/bin/pinentry-qt4
no-grab
default-cache-ttl 100000

In ~/.gnupg/gpg.conf:
use-agent

Then I exited a kde session, and said startx again. Now

grozin@elrond ~ $ echo ${GPG_AGENT_INFO}
/tmp/gpg-oJuN4k/S.gpg-agent:14103:1

Looks like gpg-agent is running. Now an attempt to commit:

grozin@elrond /home/gentoo-x86/media-gfx/fotoxx $ repoman commit -m 'Fix linking with gold (bug #462286), thanks to adrian.bass...@hotmail.co.uk'

RepoMan scours the neighborhood...
Creating Manifest for /home/gentoo-x86/media-gfx/fotoxx

Note: use --include-dev (-d) to check dependencies for 'dev' profiles

* 2 files being committed... 1 have headers that will change.
* Files with headers will cause the manifests to be changed and committed separately.

Using commit message:
------------------------------------------------------------------------------
Fix linking with gold (bug #462286), thanks to adrian.bass...@hotmail.co.uk

(Portage version: 2.2.0_alpha169/cvs/Linux i686, signed Manifest commit with key 00C6DAB1!)
------------------------------------------------------------------------------

Warning: untrusted X11 forwarding setup failed: xauth key data not generated
Warning: No xauth data; using fake authentication data for X11 forwarding.
X11 forwarding request failed on channel 0
/var/cvsroot/gentoo-x86/media-gfx/fotoxx/ChangeLog,v  <--  ChangeLog
new revision: 1.49; previous revision: 1.48
/var/cvsroot/gentoo-x86/media-gfx/fotoxx/files/fotoxx-13.03.patch,v <-- files/fotoxx-13.03.patch
new revision: 1.2; previous revision: 1.1
Creating Manifest for /home/gentoo-x86/media-gfx/fotoxx
gpg: no default secret key: No secret key
gpg: /home/gentoo-x86/media-gfx/fotoxx/Manifest: clearsign failed: No secret key
!!! !!! gpg exited with '2' status
!!! Disabled FEATURES='sign'
Warning: untrusted X11 forwarding setup failed: xauth key data not generated
Warning: No xauth data; using fake authentication data for X11 forwarding.
X11 forwarding request failed on channel 0
/var/cvsroot/gentoo-x86/media-gfx/fotoxx/Manifest,v  <--  Manifest
new revision: 1.50; previous revision: 1.49

Commit complete.
RepoMan sez: "If everyone were like you, I'd be out of business!"

grozin@elrond /home/gentoo-x86/media-gfx/fotoxx $

My understanding was that I'll be asked for the pass phrase. But this does not happen. And I don't know what else I have to configure.

Desperate,
Andrey

Reply via email to