On Mon, 03 Oct 2005 the mental interface of
Igor Genibel told:

> * Elimar Riesebieter <[EMAIL PROTECTED]> [2005-10-03 12:11:47 +0200]:
> 
> > On Sun, 02 Oct 2005 the mental interface of
> > Igor Genibel told:
> > 
> > [...]
> > > Yes of course. But gpgme give the hability to use gpg agent which is 
> > > really
> > > useful: no need to type the passphrase for each signed mail, package 
> > > signing,
> > 
> > Passphrase timeout is controlled via $pgp_timeout.
> 
> Yes I know that but the main goal of gpg-agent is to be used by all "signing"
> processes.

But gpg-agent doesn't depend on mutt-ng!

> > > ...
> > > You need to have a configured gnupg agent for it to work but you can
> > > enable/disable this at runtime.
> > 
> > I fiddeled around gpgme. Starting a gpg-agent via .xsession or
> > something similar is ok. I have to start it in a vt, where pinentry
> > doesn't work correctly. I can't send signed messages, because there
> > is no chance to tell the gpg-agent my passphrase. Maybe I've
> > overseen something
> > 
> > Else I found a signature info like:
> > [-- Begin signature information --]
> > Error getting key information: Ambiguous name
> > [-- End signature information --]
> > 
> > which is print correct without gpgme.
> 
> Hum, do you want my config files ?

No, but these are errors belong to libgpgme11, which is mostly
"designed" in conjunction to gnupg2, which isn't the default in
Debian.

> > > It is a 2 lines patch:
> > > Add libgpgme11-dev in the Build-Depends and add --enable-gpgme in rules
> > 
> > Not that all, we have to explain the users on how to use gpgme.  For
> 
> You don't have to. Do you explain your user own to send a mail ? to sign a
> mail ? The funtionality will be present for those who want to use it. If
> theyr really want, they need to find the right way to do it.

Yes we have to explain every feature in the upstream manual or at
least in our README's.

> > me I did not really understand the use of gpgme in relation to
> > mutt-ng. What are the advantages and how to use them? But maybe
> > somone can enlighten me ;)
> 
> I hope I will :)
> I uses gnupg for:
> - signing/crypting mail messages

Me too, without gpgme

> - verify signature and decrypt mails

Me too, without gpgme

> - sign my packages (debian)

Me too, without gpgme

> - sign workflow files...

Me to, .......

> There are at least 3 processes that uses gnupg so gpgme and gnupg-agent help
> to save time by providing one time my passphrase if it didn't timed out.

So please tell me how to start a shell independend gpg-agent, as
this is done usualy by eval `gpg-agent --daemon`. And within mutt
pinentry doesn't work on vt's which is an important bug then.
We have to create a script which exports GPG_AGENT_INFO. If the user
changes the shell (maybe in screen or from X to vt) it has to be
exported again unless there are dozend agents running? We need a
file. Maybe in /var/tmp, which contains the variable and make sure it
is read by every user loginshell. Hmm, $crypt_use_gpgme doesn't do
that like reading the db dir for qdbm.

> It is really useful.

I agree, but there is no sense to use it within mutt.
Did you asked the mutt-maintainers, why it isn't compiled by
default with-gpgme?

> It currently use mutt-ng with gpgme support, I hope I'll not repacage it
> anymore :)

The compile runs less than 2 minutes ;-)

Elimar

-- 
  Learned men are the cisterns of knowledge, 
  not the fountainheads ;-)

Attachment: pgpuae9tQn0Wh.pgp
Description: PGP signature

Reply via email to