Re: kmail openpgp plugin problems

2003-01-19 Thread Alan Chandler
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Saturday 18 Jan 2003 11:00 pm, Dirk Schmidt wrote:
...
 I've experienced exactly the same problem.
 But, after I installed mutts-gpgme and libncursesw5 (which will be
 installed automatically by apt-get), the pinentry dialog appeared when
 using mutts. The strange thing is, that thereafter pinentry-gtk worked from
 kmail, too.

 I could not proove until now, that the installation of the packages above
 was the real solution, though I didn't change anything apart from that.

 Maybe you could also try your luck with installing mutts-gpgme and create a
 signed message with it.

 If the problem disappears on your system too, my observation would be
 confirmed and we then could search the problem's real cause. Not less
 strange is the fact, that you can remove mutts-gpgme and libncursesw5 then
 and kmail will still work.

I don't know what I am talking about ...  but,

If the mutts-gpgme use creates a .xxx file in your home directory which 
pinentry-gtk needs to work then the behaviour that you see will be explained.

perhaps an ls -al on $HOME to see of there are any candidates that were 
created about the time of first use might be a start.


- -- 
Alan Chandler
[EMAIL PROTECTED]
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+KnCVuFHxcV2FFoIRAouiAKC2BE4yhL7uRPckfLJmDNoeh+QL5QCgtbjC
M91Mhg+/bdJT+PQgkYivPzI=
=Poun
-END PGP SIGNATURE-




Re: kmail openpgp plugin problems

2003-01-19 Thread Tom Badran
On Saturday 18 Jan 2003 10:14 pm, Hendrik Sattler wrote:
 Am Samstag, 18. Januar 2003 22:30 schrieb Tom Badran:
  Ok, i now have your versions of the above package and all the packages in
  the aegyption directory on ktown, and rebooted to make sure i get new
  clean gpg-agent etc running. I still get exactly the same errors about
  not having a passphrase.

 Question: Your private key DOES have a passphrase, doesn't it? You might
 take a look at the goals of the aegypten project and thus keys without a
 passphrase might not be accepted.

Yes it does.

Tom




Re: kmail openpgp plugin problems [FIXED]

2003-01-19 Thread Tom Badran
Whats needed is for the GPG_AGENT_INFO environment variable to be set. As i 
was loading gpg-agent with a shell script nothing else was seeing this 
variable. The only way i can start gpg-agent properly is to put it into my 
/usr/bin/startkde script. Its in my xsession but that doesnt do anything, how 
are .xsession files supposed to work?

Tom




kmail openpgp plugin problems

2003-01-18 Thread Tom Badran
Firstly, i set up everything exactly as the aegypten projects website 
describes except using pinentry-gtk instead of qt as reccomended by ralf, and 
btw im using ralfs debs. I also have been using the same gpg setup for a long 
time without problems from the command line.

Strange problem, i can encrypt emails fine, im not asked for a password and 
all works well, to myself and to others. However i can sign messages, i get a 
pop up box saying :

This message could not be signed!
The Crypto Plug-In '/usr/lib/cryptplug/gpgme-openpgp.so' reported the 
following details:
#19 : No Passphrase
Your configuration might be invalid or the Plug-In damaged.
Please contact your system administrator.

Also, when recieving an encrypted message i get:

Cannot decrypt message.
Error: No passphrase.
Content could *not* be decrypted.
reason:
Crypto Plug-In /usr/lib/cryptplug/gpgme-openpgp.so could not decrypt the 
data.
proposal:
Error: No passphrase.
End of encrypted message

Like i say, it works encrypting, but not decrypting or signing, and im never 
asked for my passphrase. I am definately using the plugin and not the inline 
version (i activated the plugin and in the new message dialog it now defaults 
to OpenPGP (plugin).

Any Ideas?

Thanks

Tom




Re: kmail openpgp plugin problems

2003-01-18 Thread Ralf Nolden
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Samstag, 18. Januar 2003 20:36, Tom Badran wrote:
 Firstly, i set up everything exactly as the aegypten projects website
 describes except using pinentry-gtk instead of qt as reccomended by ralf,
 and btw im using ralfs debs. I also have been using the same gpg setup for
 a long time without problems from the command line.

 Strange problem, i can encrypt emails fine, im not asked for a password and
 all works well, to myself and to others. However i can sign messages, i get
 a pop up box saying :

 This message could not be signed!
 The Crypto Plug-In '/usr/lib/cryptplug/gpgme-openpgp.so' reported the
 following details:
 #19 : No Passphrase
 Your configuration might be invalid or the Plug-In damaged.
 Please contact your system administrator.

 Also, when recieving an encrypted message i get:

 Cannot decrypt message.
 Error: No passphrase.
 Content could *not* be decrypted.
 reason:
 Crypto Plug-In /usr/lib/cryptplug/gpgme-openpgp.so could not decrypt
 the data.
 proposal:
 Error: No passphrase.
 End of encrypted message

 Like i say, it works encrypting, but not decrypting or signing, and im
 never asked for my passphrase. I am definately using the plugin and not the
 inline version (i activated the plugin and in the new message dialog it now
 defaults to OpenPGP (plugin).

 Any Ideas?

Hi Tom,

I've updated the packages again due to that Matze found out that apparently it 
doesn't work with libgcrypt-1.1.11 but requires 1.1.10. Also please make sure 
that you *don't*  use any of the original packages from unstable in 
conjunction with the aegypten stuff, but my packages. That makes it easier to 
track down any problems. Especially those are:

libgcrypt
cryptplug
gpgme


Ralf


 Thanks

 Tom

- -- 
We're not a company, we just produce better code at less costs.
- 
Ralf Nolden
[EMAIL PROTECTED]

The K Desktop Environment   The KDevelop Project
http://www.kde.org  http://www.kdevelop.org
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+KbiWu0nKi+w1Ky8RAu17AJ9h0INY9iBr4HmN79+gjrda5Ho2PQCffkGR
bfH5iEbwCu0DHO1JqGD3SpU=
=XLKW
-END PGP SIGNATURE-





Re: kmail openpgp plugin problems

2003-01-18 Thread Tom Badran
On Saturday 18 Jan 2003 8:27 pm, Ralf Nolden wrote:
 I've updated the packages again due to that Matze found out that apparently
 it doesn't work with libgcrypt-1.1.11 but requires 1.1.10. Also please make
 sure that you *don't*  use any of the original packages from unstable in
 conjunction with the aegypten stuff, but my packages. That makes it easier
 to track down any problems. Especially those are:

 libgcrypt
 cryptplug
 gpgme

Ok, i now have your versions of the above package and all the packages in the 
aegyption directory on ktown, and rebooted to make sure i get new clean 
gpg-agent etc running. I still get exactly the same errors about not having a 
passphrase.

Any more ideas? Would you like to see any of my configs/.gnupg directory 
structure?

Tom




Re: kmail openpgp plugin problems

2003-01-18 Thread Hendrik Sattler
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Am Samstag, 18. Januar 2003 22:30 schrieb Tom Badran:
 Ok, i now have your versions of the above package and all the packages in
 the aegyption directory on ktown, and rebooted to make sure i get new clean
 gpg-agent etc running. I still get exactly the same errors about not having
 a passphrase.

Question: Your private key DOES have a passphrase, doesn't it? You might take 
a look at the goals of the aegypten project and thus keys without a 
passphrase might not be accepted.

HS

- -- 
Mein GPG-Key ist auf meiner Homepage verfügbar: http://www.hendrik-sattler.de
oder über pgp.net

PingoS - Linux-User helfen Schulen: http://www.pingos.schulnetz.org
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.0 (GNU/Linux)

iD8DBQE+KdHczvr6q9zCwcERAqcwAJ49WUkriksxr+2D0ERZ0GoBnHUsfwCeNTXs
s45uvRLQ7SuDtKqGS0VB9Tw=
=B4sW
-END PGP SIGNATURE-




Re: kmail openpgp plugin problems

2003-01-18 Thread Dirk Schmidt
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Am Samstag, 18. Januar 2003 22:30 schrieb Tom Badran:

 On Saturday 18 Jan 2003 8:27 pm, Ralf Nolden wrote:

   This message could not be signed!
   The Crypto Plug-In '/usr/lib/cryptplug/gpgme-openpgp.so' reported the
   following details: #19 : No Passphrase [...]

  I've updated the packages again due to that Matze found out that
  apparently it doesn't work with libgcrypt-1.1.11 but requires 1.1.10.
  Also please make sure that you *don't*  use any of the original packages
  from unstable in conjunction with the aegypten stuff, but my packages.
  That makes it easier to track down any problems. Especially those are:
 
  libgcrypt
  cryptplug
  gpgme

 Ok, i now have your versions of the above package and all the packages in
 the aegyption directory on ktown, and rebooted to make sure i get new clean
 gpg-agent etc running. I still get exactly the same errors about not having
 a passphrase.

 Any more ideas?

I've experienced exactly the same problem.
But, after I installed mutts-gpgme and libncursesw5 (which will be installed 
automatically by apt-get), the pinentry dialog appeared when using mutts. The 
strange thing is, that thereafter pinentry-gtk worked from kmail, too.

I could not proove until now, that the installation of the packages above was 
the real solution, though I didn't change anything apart from that.

Maybe you could also try your luck with installing mutts-gpgme and create a 
signed message with it.

If the problem disappears on your system too, my observation would be 
confirmed and we then could search the problem's real cause. Not less strange 
is the fact, that you can remove mutts-gpgme and libncursesw5 then and kmail 
will still work.


Dirk
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+KdyADtHLVOb9JRcRAlNaAJwOoCsuWeUDHQdJnFlxQUkGloV6ewCfQAFC
xjg6dfbDuYcTxjKq6R3PV4E=
=ScGc
-END PGP SIGNATURE-




Re: OpenPGP Plugin

2002-10-23 Thread David Pashley
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Wednesday 23 October 2002 12:28 am, Hasso Tepper wrote:
 David Pashley wrote:
  It is a bit easier than ralf thinks, but still not particularly
  easy.
 
  run:
  apt-get install libgpgme-dev
  apt-get source libgpgme6
 
  cd in to gpgme source dir
  edit debian/rules and add --enable-gpgmeplugin to the configure
  line [0] run debuild -us -uc
  then copy the debian/tmp/usr/lib/gpgme dir to /usr/lib
 
  In kmail, load both of the .so files in /usr/lib/gpgme. You should
  fine that they now work.
 
  NOTE: THIS IS NOT SUPPORTED AND THE FILES WILL NOT BE DEALT WITH BY
  THE PACKAGING SYSTEM
 
  [0] You will need to check the correct name for this option. use
  ./configure --help

 But it is not enough to _use_ plugin. You will need gpg-agent and
 pinentry as well.

It will allow you to read PGP/MIME emails, but not send them.

 --
 Hasso

- -- 
David Pashley
[EMAIL PROTECTED]
Nihil curo de ista tua stulta superstitione.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.0 (GNU/Linux)

iD8DBQE9tmQ0YsCKa6wDNXYRAsdfAJ9gtOL2gzUP5W/pL2xlXoI1k2TbkQCgpJzC
x7r2/cnO5oXGSTn5j/6GYHU=
=yFOB
-END PGP SIGNATURE-




Re: OpenPGP Plugin

2002-10-22 Thread David Pashley
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tuesday 22 October 2002 4:55 am, Ralf Nolden wrote:
 On Monday 21 October 2002 23:34, Oracle Administrator wrote:
  KMail complains when I click on certain messages with the dialog that the
  openpgp plugin is not installed.
 
  I am running Debian unstable and apt-get update nightly.
 
  How can I install this plugin?

 That's quite complicated and is not yet available as a deb package. It is
 included in the Ägypten project that is connected to the S/MIME stuff.

 http://www.gnupg.org/aegypten/


It is a bit easier than ralf thinks, but still not particularly easy.

run:
apt-get install libgpgme-dev
apt-get source libgpgme6

cd in to gpgme source dir
edit debian/rules and add --enable-gpgmeplugin to the configure line [0]
run debuild -us -uc
then copy the debian/tmp/usr/lib/gpgme dir to /usr/lib

In kmail, load both of the .so files in /usr/lib/gpgme. You should fine that 
they now work.

NOTE: THIS IS NOT SUPPORTED AND THE FILES WILL NOT BE DEALT WITH BY THE 
PACKAGING SYSTEM

[0] You will need to check the correct name for this option. use ./configure 
- --help

- -- 
David Pashley
[EMAIL PROTECTED]
Nihil curo de ista tua stulta superstitione.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.0 (GNU/Linux)

iD8DBQE9tXmwYsCKa6wDNXYRAsORAKCHpmVEOdSA7pDV29gui4N8sPgFXgCfVlAf
IjE1eKlf0FW+8tEb91iKiLA=
=uMeX
-END PGP SIGNATURE-




Re: OpenPGP Plugin

2002-10-22 Thread Ralf Nolden
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tuesday 22 October 2002 18:15, David Pashley wrote:
 On Tuesday 22 October 2002 4:55 am, Ralf Nolden wrote:
  On Monday 21 October 2002 23:34, Oracle Administrator wrote:
   KMail complains when I click on certain messages with the dialog that
   the openpgp plugin is not installed.
  
   I am running Debian unstable and apt-get update nightly.
  
   How can I install this plugin?
 
  That's quite complicated and is not yet available as a deb package. It is
  included in the Ägypten project that is connected to the S/MIME stuff.
 
  http://www.gnupg.org/aegypten/

 It is a bit easier than ralf thinks, but still not particularly easy.

 run:
   apt-get install libgpgme-dev
   apt-get source libgpgme6

 cd in to gpgme source dir
 edit debian/rules and add --enable-gpgmeplugin to the configure line [0]
 run debuild -us -uc
 then copy the debian/tmp/usr/lib/gpgme dir to /usr/lib

 In kmail, load both of the .so files in /usr/lib/gpgme. You should fine
 that they now work.

 NOTE: THIS IS NOT SUPPORTED AND THE FILES WILL NOT BE DEALT WITH BY THE
 PACKAGING SYSTEM

Thanks for the hint - is that in unstable or in testing ? I'm working with the 
real stuff (tm) here for a project where I have to go into detail in the 
coming weeks.

Ralf

 [0] You will need to check the correct name for this option. use
 ./configure --help

 --
 David Pashley
 [EMAIL PROTECTED]
 Nihil curo de ista tua stulta superstitione.

- -- 
We're not a company, we just produce better code at less costs.
- 
Ralf Nolden
[EMAIL PROTECTED]

The K Desktop Environment   The KDevelop Project
http://www.kde.org  http://www.kdevelop.org
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.0 (GNU/Linux)

iD8DBQE9taltu0nKi+w1Ky8RAup5AKC4JQcx+IEJKfjq2UkVReMYDRsWXACgjbO5
A7OC7NhJlJL1Ancm9iC9o9s=
=j8RZ
-END PGP SIGNATURE-





Re: OpenPGP Plugin

2002-10-22 Thread Hasso Tepper
David Pashley wrote:
 It is a bit easier than ralf thinks, but still not particularly
 easy.

 run:
   apt-get install libgpgme-dev
   apt-get source libgpgme6

 cd in to gpgme source dir
 edit debian/rules and add --enable-gpgmeplugin to the configure
 line [0] run debuild -us -uc
 then copy the debian/tmp/usr/lib/gpgme dir to /usr/lib

 In kmail, load both of the .so files in /usr/lib/gpgme. You should
 fine that they now work.

 NOTE: THIS IS NOT SUPPORTED AND THE FILES WILL NOT BE DEALT WITH BY
 THE PACKAGING SYSTEM

 [0] You will need to check the correct name for this option. use
 ./configure --help

But it is not enough to _use_ plugin. You will need gpg-agent and 
pinentry as well.

-- 
Hasso




OpenPGP Plugin

2002-10-21 Thread Oracle Administrator
KMail complains when I click on certain messages with the dialog that the 
openpgp plugin is not installed.

I am running Debian unstable and apt-get update nightly.

How can I install this plugin?
-- 
Comments and information are appreciated.

Robert




Re: OpenPGP Plugin

2002-10-21 Thread Ralf Nolden
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Monday 21 October 2002 23:34, Oracle Administrator wrote:
 KMail complains when I click on certain messages with the dialog that the
 openpgp plugin is not installed.

 I am running Debian unstable and apt-get update nightly.

 How can I install this plugin?
That's quite complicated and is not yet available as a deb package. It is 
included in the Ägypten project that is connected to the S/MIME stuff.

http://www.gnupg.org/aegypten/
 --
 Comments and information are appreciated.

 Robert

- -- 
We're not a company, we just produce better code at less costs.
- 
Ralf Nolden
[EMAIL PROTECTED]

The K Desktop Environment   The KDevelop Project
http://www.kde.org  http://www.kdevelop.org
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.0 (GNU/Linux)

iD8DBQE9tMwyu0nKi+w1Ky8RApRtAKCyFLgUzsQOLmX/yOUn5SQl/SD4bQCcDfqt
skDWxAUvMx2UCwP2vbKUmr8=
=a/4b
-END PGP SIGNATURE-