First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 212405
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Crypto team <crypto@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Mario Lenz <m@riolenz.de>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
gnupg-2.0.9.ebuild Fixed ebuild. text/plain Kristoffer 2008-08-19 22:54 0000 2.46 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 212405 depends on: Show dependency tree
Show dependency graph
Bug 212405 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2008-03-05 18:17 0000
app-crypt/gpa can't send keys to a keyserver with gnupg2.

Reproducible: Always

Steps to Reproduce:
1. emerge gnupg2 and gpa
2. unmerge gnupg if installed
3. send a key from your keyring to a keyserver (protocol hkp)

Actual Results:  
gpa complains about a missing plugin for hkp

Expected Results:  
Well: Send the key to a keyserver, of course :-)

To me, it looks like GPA can't find gpgkeys_hkp (which doesn't exist) if gnupg
isn't installed. But there's a file /usr/libexec/gpg2keys_hkp. After:

cp -p /usr/libexec/gpg2keys_hkp /usr/libexec/gnupg/gpgkeys_hkp

everything works. I don't know if this a problem of GPA itself or Gentoo
specific, but a quick hack to solve this might be a link

/usr/libexec/gnupg/gpgkeys_hkp -> /usr/libexec/gpg2keys_hkp

created by gnupg2.

------- Comment #1 From Alon Bar-Lev (RETIRED) 2008-03-06 07:21:52 0000 -------
Thanks!

------- Comment #2 From Kristoffer 2008-08-19 22:54:21 0000 -------
Created an attachment (id=163334) [edit]
Fixed ebuild.

This isn't fixed as of ebuilds gpg-2.0.9 and gpa-0.7.6, so IMHO this bug should
be reopened (but the fix is trivial).

Right now gpg will install the "plugins" (gpgkeys_hkp et al) into /usr/libexec,
but gpa will look for them in ${libexecdir}/gnupg. So we can't use the
--libexecdir conf flag in gpa to set this to something that works, since it
will always look for the gnupg sub directory.

I guess the way to go here is to make the gpg ebuild install the plugins into
/usr/libexec/gnupg. I've attached an ebuild which does this, and I've confirmed
that gpa can use keyservers after re-installing gpg using this ebuild. Don't
know if this breaks assumptions made by other packages using gpg plugins
though.

First Last Prev Next    No search results available      Search page      Enter new bug