Gentoo Archives: gentoo-dev

From: grozin@g.o
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] RFC: Gentoo GPG key policies
Date: Fri, 22 Mar 2013 06:38:02
Message-Id: alpine.LRH.1.10.1303221323120.9653@star.inp.nsk.su
In Reply to: Re: [gentoo-dev] RFC: Gentoo GPG key policies by "Robin H. Johnson"
1 Sorry to bother you again, but I still cannot do signed commits. I don't
2 know what else to try.
3
4 On Thu, 14 Mar 2013, Robin H. Johnson wrote:
5 > On Thu, Mar 14, 2013 at 10:50:00AM +0700, grozin@g.o wrote:
6 >> But my first attempt to do a signed commit has failed:
7 > Your GPG agent is broken/missing.
8 These are steps I have done:
9
10 elrond ~ # eselect pinentry list
11 Available pinentry binary implementations:
12 [1] pinentry-gtk-2
13 [2] pinentry-qt4 *
14 [3] pinentry-curses
15
16 In /etc/kde/startup/agent-startup.sh:
17
18 if [ -x /usr/bin/gpg-agent ]; then
19 eval "$(/usr/bin/gpg-agent --daemon)"
20 fi
21
22 In /etc/kde/shutdown/agent-shutdown.sh:
23
24 if [ -n "${GPG_AGENT_INFO}" ]; then
25 kill $(echo ${GPG_AGENT_INFO} | cut -d':' -f 2) >/dev/null 2>&1
26 fi
27
28 grozin@elrond ~/.gnupg $ cat gpg-agent.conf
29 pinentry-program /usr/bin/pinentry-qt4
30 no-grab
31 default-cache-ttl 100000
32
33 In ~/.gnupg/gpg.conf:
34 use-agent
35
36 Then I exited a kde session, and said startx again. Now
37
38 grozin@elrond ~ $ echo ${GPG_AGENT_INFO}
39 /tmp/gpg-oJuN4k/S.gpg-agent:14103:1
40
41 Looks like gpg-agent is running. Now an attempt to commit:
42
43 grozin@elrond /home/gentoo-x86/media-gfx/fotoxx $ repoman commit -m 'Fix
44 linking with gold (bug #462286), thanks to Adrian.Bassett@××××××××××.uk'
45
46 RepoMan scours the neighborhood...
47 >>> Creating Manifest for /home/gentoo-x86/media-gfx/fotoxx
48
49 Note: use --include-dev (-d) to check dependencies for 'dev' profiles
50
51 * 2 files being committed... 1 have headers that will change.
52 * Files with headers will cause the manifests to be changed and committed
53 separately.
54
55 Using commit message:
56 ------------------------------------------------------------------------------
57 Fix linking with gold (bug #462286), thanks to
58 Adrian.Bassett@××××××××××.uk
59
60 (Portage version: 2.2.0_alpha169/cvs/Linux i686, signed Manifest commit
61 with key 00C6DAB1!)
62 ------------------------------------------------------------------------------
63
64 Warning: untrusted X11 forwarding setup failed: xauth key data not
65 generated
66 Warning: No xauth data; using fake authentication data for X11 forwarding.
67 X11 forwarding request failed on channel 0
68 /var/cvsroot/gentoo-x86/media-gfx/fotoxx/ChangeLog,v <-- ChangeLog
69 new revision: 1.49; previous revision: 1.48
70 /var/cvsroot/gentoo-x86/media-gfx/fotoxx/files/fotoxx-13.03.patch,v <--
71 files/fotoxx-13.03.patch
72 new revision: 1.2; previous revision: 1.1
73 >>> Creating Manifest for /home/gentoo-x86/media-gfx/fotoxx
74 gpg: no default secret key: No secret key
75 gpg: /home/gentoo-x86/media-gfx/fotoxx/Manifest: clearsign failed: No
76 secret key
77 !!! !!! gpg exited with '2' status
78 !!! Disabled FEATURES='sign'
79 Warning: untrusted X11 forwarding setup failed: xauth key data not
80 generated
81 Warning: No xauth data; using fake authentication data for X11 forwarding.
82 X11 forwarding request failed on channel 0
83 /var/cvsroot/gentoo-x86/media-gfx/fotoxx/Manifest,v <-- Manifest
84 new revision: 1.50; previous revision: 1.49
85
86 Commit complete.
87 RepoMan sez: "If everyone were like you, I'd be out of business!"
88
89 grozin@elrond /home/gentoo-x86/media-gfx/fotoxx $
90
91 My understanding was that I'll be asked for the pass phrase. But this does
92 not happen. And I don't know what else I have to configure.
93
94 Desperate,
95 Andrey

Replies

Subject Author
Re: [gentoo-dev] RFC: Gentoo GPG key policies Panagiotis Christopoulos <pchrist@g.o>