FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo Development

 
 
LinkBack Thread Tools
 
Old 01-01-2008, 06:32 PM
Wolfgang Illmeyer
 
Default Can somebody please fix the gpg1 vs gpg2 hell?

Hi.
While I'm writing this, I'm trying to do a "client-side" slotting of gpg2
myself, because when I run gpg 1.x, Psi and Basket work, and when I run 2.x
kmail works, but never all three at the same time.
Please stop your arguments about wether or not to slot or and just let me use
my applications. Many thanks.

Wolfgang
(User)
--
gentoo-dev@gentoo.org mailing list
 
Old 01-01-2008, 08:21 PM
Wolfgang Illmeyer
 
Default Can somebody please fix the gpg1 vs gpg2 hell?

There we go.
Run the attached script, and it will install gpg1 & 2 and modify gpgme to use
gpg2. This allows for using gpg1 for psi as well as gpg2 for kmail (needs
gpg2 in gpgme).
I haven't found out how to make basket run correctly (needs gpg1 in gpgme for
caching gpg passphrase), because both basket and kmail use gpgme and I
haven't found out how to use both versions of gpg simultaneously with gpgme.
I guess this problem could already be solved, if somebody actually cared to
slot gpg2.

/Wolfgang

Am Dienstag, 1. Januar 2008 schrieb Wolfgang Illmeyer:
> Hi.
> While I'm writing this, I'm trying to do a "client-side" slotting of gpg2
> myself, because when I run gpg 1.x, Psi and Basket work, and when I run 2.x
> kmail works, but never all three at the same time.
> Please stop your arguments about wether or not to slot or and just let me
> use my applications. Many thanks.
>
> Wolfgang
> (User)
 
Old 01-02-2008, 01:43 AM
"Robin H. Johnson"
 
Default Can somebody please fix the gpg1 vs gpg2 hell?

On Tue, Jan 01, 2008 at 10:21:35PM +0100, Wolfgang Illmeyer wrote:
> I haven't found out how to make basket run correctly (needs gpg1 in gpgme for
> caching gpg passphrase), because both basket and kmail use gpgme and I
> haven't found out how to use both versions of gpg simultaneously with gpgme.
> I guess this problem could already be solved, if somebody actually cared to
> slot gpg2.
gpgme is completely unable to support both versions at the same time.
It takes the path to GnuPG when the libray is compiled, and defaults to
/usr/bin/gpg.

I'm interested as to how Debian and other distros resolved the issue.
Debian for example only provides gpgme using gnupg-1.

To restate it more clearly from your paragraph above:
kmail DEPENDS on gpgme built-with gnupg-2
psi DEPENDS on gpgme built-with gnupg-1
basket DEPENDS on gpgme built-with gnupg-1

The best course of action here is fixing PSI and Basket to work properly
with GnuPG2.

The PSI issue was being tracked in bug 183075, but the users stopped
providing information, and it worked from what alonbl could determine.
I see it's open as bug 197588 again, hopefully we get enough user
interaction to actually solve it now.

I don't find any bug for Basket, could you please open one with your
information about the problems you are having?

Also, could you confirm that you are indeed running the agent before any
of the above stuff is started?

--
Robin Hugh Johnson
Gentoo Linux Developer & Infra Guy
E-Mail : robbat2@gentoo.org
GnuPG FP : 11AC BA4F 4778 E3F6 E4ED F38E B27B 944E 3488 4E85
 
Old 01-02-2008, 02:51 PM
"William L. Thomson Jr."
 
Default Can somebody please fix the gpg1 vs gpg2 hell?

On Tue, 2008-01-01 at 18:43 -0800, Robin H. Johnson wrote:
>
> gpgme is completely unable to support both versions at the same time.
> It takes the path to GnuPG when the libray is compiled, and defaults to
> /usr/bin/gpg.

It's a stupid mess since from what I can tell, gnupg and gpgme has the
same upstream. They made gnupg-2 able to co-exist with gnupg-1, but
seemed to have forgotten all about gpgme. Unless the idea there is
anything using gpgme, should be gnupg-2, not gnupg-1.

Early reports of issues with gpgme fell on deaf ears upstream, and
doesn't seem things have improved at all there

> I'm interested as to how Debian and other distros resolved the issue.

Me to

<muttered smart ass voice>
By providing both!
</muttered smart ass voice>

1 luv

Granted providing both still leaves the issue with gpgme. Damn the
upstream, damn them I say.

--
William L. Thomson Jr.
Gentoo/Java
 
Old 01-03-2008, 06:24 AM
Wolfgang Illmeyer
 
Default Can somebody please fix the gpg1 vs gpg2 hell?

Am Mittwoch, 2. Januar 2008 schrieb Robin H. Johnson:
> On Tue, Jan 01, 2008 at 10:21:35PM +0100, Wolfgang Illmeyer wrote:

> To restate it more clearly from your paragraph above:
> kmail DEPENDS on gpgme built-with gnupg-2
> psi DEPENDS on gpgme built-with gnupg-1
> basket DEPENDS on gpgme built-with gnupg-1

Nope, psi does not depend on gpgme, it uses gpg directly - so it can use gpg1
while the gpgme stuff can use v2 at the same time.

> The best course of action here is fixing PSI and Basket to work properly
> with GnuPG2.

AFAIK they can't be, because they need to cache the passphrase, which is not
supported by gpg2. Does anybody know how passphrase caching works with gpg1?
Maybe it is possible to write some plugin/extension/patch to allow gpg2 to do
the same?

> The PSI issue was being tracked in bug 183075, but the users stopped
> providing information, and it worked from what alonbl could determine.
> I see it's open as bug 197588 again, hopefully we get enough user
> interaction to actually solve it now.
>
> I don't find any bug for Basket, could you please open one with your
> information about the problems you are having?

I'll have a look at the bugs today after work

> Also, could you confirm that you are indeed running the agent before any
> of the above stuff is started?

I'm confused - do you mean the password agent? Hasn't the password agent been
deprecated for a long time? I use pinentry for gpg2 What is the advantage
of running "the agent"?

/Wolfgang
--
gentoo-dev@gentoo.org mailing list
 
Old 01-03-2008, 07:35 AM
"Alon Bar-Lev"
 
Default Can somebody please fix the gpg1 vs gpg2 hell?

On 1/3/08, Wolfgang Illmeyer <wolfgang.illmeyer@gmx.net> wrote:
> AFAIK they can't be, because they need to cache the passphrase, which is not
> supported by gpg2. Does anybody know how passphrase caching works with gpg1?
> Maybe it is possible to write some plugin/extension/patch to allow gpg2 to do
> the same?

Please continue this discussion at:
http://bugs.gentoo.org/show_bug.cgi?id=197588

Alon.
--
gentoo-dev@gentoo.org mailing list
 

Thread Tools




All times are GMT. The time now is 07:22 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org