Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 172331
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Crypto team <crypto@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Daniel Kenzelmann <gentoo@kenzelmann.dyndns.info>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

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

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


Not eligible to see or edit group visibility for this bug.






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


Description:   Opened: 2007-03-26 19:56 0000
The GnuPG ebuild hardcodes a photo viewer

myconf="${myconf} --with-photo-viewer=${viewer}

From gnupg doc:

--with-photo-viewer=FIXED_VIEWER
                    Force the photo viewer to be FIXED_VIEWER and
                    disable any ability for the user to change it in
                    their options file.


1. It should not force a specific viewer, by default the viewer can be set in
the config UNLESS you specify it at compile time with "--with-photo-viewer",
thus, that line in the ebuild should be disabled.

2. IF you want to force users to use a fixed viewer you have to use at least a
correct config
currently  it is "--with-photo-viewer=/usr/bin/xloadimage" which WON'T work.
you have to use --with-photo-viewer="xloadimage -fork -quiet -title 'KeyID
0x%k' stdin" (be careful with the quotes)
which happens to be the default if you don't specify "--with-photo-viewer" at
all

Reproducible: Always

Steps to Reproduce:
1. include Photo-ID in GnuPG key
2. try to view it
3. will not work, no matter what you try as /usr/bin/xloadimage is hardcoded
which also is not a correct gnupg photo-viewer string




This also affects tools like Seahorse.

------- Comment #1 From Alon Bar-Lev (RETIRED) 2007-03-27 06:46:32 0000 -------
I never used images....
What happens if you don't specify with-photo-viewer or disable-photo-viewers
and you don't have xloadimage or xli installed?
Does gnupg still works (apart of images), or we still need to keep the
dependency?

------- Comment #2 From Daniel Kenzelmann 2007-03-27 07:46:39 0000 -------
GnuPG will always work, it just won't display the photos if you specify a wrong
photo-viewer in the config or on the commandline.

You can also just use e.g. cat like --photo-viewer "cat - > Pic0x%k.jpg" which
will just put the image into a file or use a script to send the image somewhere
else, thus there is no real dependency to any X-application.

------- Comment #3 From Alon Bar-Lev (RETIRED) 2007-03-31 16:31:02 0000 -------
crypto: Unless someone has a good reason, I think I will drop the dependency
(adding elog) so users may install a filter for their choice.

------- Comment #4 From Daniel Black 2007-03-31 22:44:21 0000 -------
sounds good Alon

------- Comment #5 From Alon Bar-Lev (RETIRED) 2007-04-02 09:01:00 0000 -------
OK.
Fixed in:
gnupg-2.0.3-r1
gnupg-1.4.7-r1

Daniel, please verify that this is what you wished for.

------- Comment #6 From Daniel Kenzelmann 2007-04-02 20:02:52 0000 -------
Great, thanks, that's it.

Now if only someone could update the seahorse ebuild as in bug 128780  (the
ebuild in portage requires gnupg 1.4.x) then i could clean out my portage
overlay a little bit :-)

------- Comment #7 From Alon Bar-Lev (RETIRED) 2007-04-03 09:41:26 0000 -------
I am glad that it is working.

Regarding seahorse... I just don't have control over it... The seahorse
maintainer (gnome) seem like don't care to make it working... Is it working for
you with gpg2? Can you update bug#164523 with you configuration so people may
find the problem they are having with their environment.

Thanks!

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug