Bug#339933: signing-party: [caff] problem with a mailserver (but Gnus and Mozilla work)

2005-11-23 Thread Luca Capello
Hello Peter!

On Wed 23 Nov 2005 15:43 +0100, Peter Palfrader wrote:
> On Wed, 23 Nov 2005, Luca Capello wrote:
>
>> Discard my previous questions, I found what you were referring to:
>
> Hmm.  Didn't see the previous mail, maybe it was lost in the
> migration you mention below?

No, actually my previous mail was never sent, because of an
authentication problem with the university mail server.  Usually I use
my own mail server when I'm outside the university, but for some
unknown reason (too much tests ;-) ) when I sent my previous mail
Postfix tried to send it via the university mail server, resulting in:

Nov 20 18:45:21 gismo postfix/smtp[10869]: EA66DC020:
to=<[EMAIL PROTECTED]>, relay=mbx.unige.ch[129.194.9.229],
delay=1, status=bounced (host mbx.unige.ch[129.194.9.229] said:
530 5.7.0 No AUTH command has been given. (in reply to MAIL FROM
command))

Attached, just FYI.

> So, since this fixes it and I can't think of a reason not to always
> explicitly set it to 7bit I'll add it to caff as well.

Thank you, I'm waiting for the new signing-party version, so I will
keep the university address in my PGP key ;-)

> Thanks,

You're welcome :-D

Thx, bye,
Gismo / Luca



Luca-never-sent-mail.msg.gz
Description: Luca's never sent mail


pgpjSExxFeO9d.pgp
Description: PGP signature


Bug#339933: signing-party: [caff] problem with a mailserver (but Gnus and Mozilla work)

2005-11-23 Thread Peter Palfrader
On Wed, 23 Nov 2005, Luca Capello wrote:

> Discard my previous questions, I found what you were referring to:

Hmm.  Didn't see the previous mail, maybe it was lost in the migration
you mention below?

> =
> --- /usr/bin/caff.ORG   2005-11-20 18:37:06.0 +0100
> +++ /usr/bin/caff   2005-11-23 15:35:07.0 +0100
> @@ -727,7 +727,8 @@
> $message = $stdout;
>  
> $message_entity = MIME::Entity->build(
> -   Type=> [...] );
> +   Type=> [...] ).
> +   Encoding=> "7bit");
>  
> $message_entity->attach(
> Type=> "application/pgp-encrypted",
> $message_entity = MIME::Entity->build(
> = 
> 
> And I'm sorry for the delay, yesterday there was a mail server
> migration, so I waited for the new results: both the mail servers (the
> old and the new) are broken, because defining the encoding solves the
> problem (in both cases).
> 
> So, as you guessed in your first reply, caff has nothing to do here.

So, since this fixes it and I can't think of a reason not to always
explicitly set it to 7bit I'll add it to caff as well.

Thanks,
Peter
-- 
 PGP signed and encrypted  |  .''`.  ** Debian GNU/Linux **
messages preferred.| : :' :  The  universal
   | `. `'  Operating System
 http://www.palfrader.org/ |   `-http://www.debian.org/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#339933: signing-party: [caff] problem with a mailserver (but Gnus and Mozilla work)

2005-11-23 Thread Luca Capello
Hello!

On Sun 20 Nov 2005 18:45 +0100, Luca Capello wrote:
> On Sun 20 Nov 2005 14:51 +0100, Peter Palfrader wrote:
>> Try to set the encoding to 7bit where we build the multipart/encrypted
>> mime part in send_mail().
>>
>> If that fixes it your mail server is broken.
>
> Ok, I checked send_mail(): am I correct if I say that it's already
> encoded to 7bit?
[...]
> Or should I change the charset from UTF-8 to us-ascii?

Discard my previous questions, I found what you were referring to:
=
--- /usr/bin/caff.ORG   2005-11-20 18:37:06.0 +0100
+++ /usr/bin/caff   2005-11-23 15:35:07.0 +0100
@@ -727,7 +727,8 @@
$message = $stdout;
 
$message_entity = MIME::Entity->build(
-   Type=> [...] );
+   Type=> [...] ).
+   Encoding=> "7bit");
 
$message_entity->attach(
Type=> "application/pgp-encrypted",
$message_entity = MIME::Entity->build(
= 

And I'm sorry for the delay, yesterday there was a mail server
migration, so I waited for the new results: both the mail servers (the
old and the new) are broken, because defining the encoding solves the
problem (in both cases).

So, as you guessed in your first reply, caff has nothing to do here.

Thank you for you support, I'm going to report the problem to the
university helpdesk.

Thx, bye,
Gismo / Luca


pgpX2jOZqW3Ir.pgp
Description: PGP signature


Bug#339933: signing-party: [caff] problem with a mailserver (but Gnus and Mozilla work)

2005-11-20 Thread Luca Capello
Hello!

On Sun 20 Nov 2005 12:47 +0100, Christoph Berg wrote:
> Re: Luca Capello in <[EMAIL PROTECTED]>
>> It seems that you completely ignored the rest of my report.
>
> The rest of the report said the same.

Let me disagree explaining why I opened this bug:

1) I used caff to sign Martin's key.

2) I couldn't see the bcc: mails caff sent to me.

3) My key signed by Martin to zoo.unige.ch was screwed-up.

4) I thought the university mail server cannot handle encrypted mails
   (it can handle signed mails as I always send signed mails).

5) I tried with Mozilla and Gnus via the university mail server and
   the encrypted mails were readable.

6) I filed this bug, _explaining_ that ATM the problem is specific to
   the couple caff + university mail server (which is what you can
   find in the rest of my report).

Anyway, now that I was asked for more info the above is just the
interpretation I give to my report: maybe my English wasn't perfect,
so excuse me :-)

> If you want your report to be of any help, please send the full
> messages, including headers. (Preferably gzipped, to prevent any
> breakage of the line wraps, etc.)

Attached 4 different messages:

a) One of Martin's key signed by me.

b) My key signed by Martin to zoo.unige.ch.

c) An encrypted message sent using Mozilla.

d) An encrypted message sent using Gnus.

I'm not at university, now, so I cannot try other combinations, but
I'm more than happy to test whatever it is needed.

Thx, bye,
Gismo / Luca



Martin-key-signed-by-me.msg.gz
Description: Martin's key signed by me


my-key-signed-by-Martin.msg.gz
Description: My key signed by Martin


test-encryption-mozilla.msg.gz
Description: Mozilla encrypted mail


test-encryption-gnus.msg.gz
Description: Gnus encrypted mail


pgpS54hwJDofU.pgp
Description: PGP signature


Bug#339933: signing-party: [caff] problem with a mailserver (but Gnus and Mozilla work)

2005-11-20 Thread Peter Palfrader
| Cc: [EMAIL PROTECTED]
Is there a reason why you want to exclude others from the discussion now?


On Sun, 20 Nov 2005, Luca Capello wrote:

[something, and fortunately also the real mails.]

Try to set the encoding to 7bit where we build the multipart/encrypted
mime part in send_mail().

If that fixes it your mail server is broken.
| Received: from CONVERSION-DAEMON.mbx.unige.ch
looks strangely suspicious.


-- 
 PGP signed and encrypted  |  .''`.  ** Debian GNU/Linux **
messages preferred.| : :' :  The  universal
   | `. `'  Operating System
 http://www.palfrader.org/ |   `-http://www.debian.org/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#339933: signing-party: [caff] problem with a mailserver (but Gnus and Mozilla work)

2005-11-20 Thread Christoph Berg
Re: Luca Capello in <[EMAIL PROTECTED]>
> >> 2) For each key I've in my signature [1], only the mail to my
> >>University address (zoo.unige.ch) wasn't readable.
> >
> > So I bet your university mail server breaks things.  I doubt there
> > is anything caff can do about this.
> 
> It seems that you completely ignored the rest of my report.

The rest of the report said the same.

If you want your report to be of any help, please send the full
messages, including headers. (Preferably gzipped, to prevent any
breakage of the line wraps, etc.)

Christoph
-- 
[EMAIL PROTECTED] | http://www.df7cb.de/


signature.asc
Description: Digital signature


Bug#339933: signing-party: [caff] problem with a mailserver (but Gnus and Mozilla work)

2005-11-20 Thread Luca Capello
Hello!

On Sat 19 Nov 2005 21:18 +0100, Peter Palfrader wrote:
> First of all, this is not of severity important.  Please stop this
> severity inflation.

Well, from the definition of severity important: "a bug which has a
major effect on the usability of a package, without rendering it
completely unusable to everyone".  This seemed to me exactly the case
I experienced: *if* the bug was in caff, it rendered caff unusable to
me (or to anyone at my university) without affecting other people.

> On Sat, 19 Nov 2005, Luca Capello wrote:
>
>> 2) For each key I've in my signature [1], only the mail to my
>>University address (zoo.unige.ch) wasn't readable.
>
> So I bet your university mail server breaks things.  I doubt there
> is anything caff can do about this.

It seems that you completely ignored the rest of my report.

1) I didn't say caff *is* the problem, I said that while I experienced
   the problem with caff, with other MUAs I can send/receive PGP
   encrypted mails via the university mail server.  So, why I can't do
   the same with caff?  Are the mails sent by Gnus/Mozilla different
   in term of content-type of whatever else from the one sent by caff?

2) I asked for help in debugging the problem: as you, I bet my
   university mail server breaks things, but how can I be 100% sure?
   What should I do to locate the problem?

Just FYI, I was already considering to revoke my university address
From my PGP key (all my mails are redirected to this address), but I'd
like to understand the problem.

Thx, bye,
Gismo / Luca


pgpAM6fGnLwOr.pgp
Description: PGP signature


Bug#339933: signing-party: [caff] problem with a mailserver (but Gnus and Mozilla work)

2005-11-19 Thread Luca Capello
Package: signing-party
Version: 0.4.4-2
Severity: important

Hello!

I met Martin F. Krafft (madduck) last week-end for a key-signing party
(well, we were only two :-( ).

Last Monday he and me signed our keys using caff and as I was at
university I used the university mailserver via postfix (I'm not
allowed to use my own mailserver, as port 25 is blocked).  And then
the problem...

BTW, I'm using No Gnus 0.4 on GNU Emacs snapshot and all the PGP
stuffs work well. 

1) Every mail caff generated for each Martin's key was unusable: even
   on my bcc: copy, I'm asked if I want to decrypt the message, but
   then nothing happens.  Here how the mail looks inside:

   =
   =_1131976584-9445-9

   Content-Typ
   e: application/octet-stream; name="msg.asc"
   Content-Disposition: inline; filenam
   e="msg.asc"
   Content-Transfer-Encoding: 7bit

   -BEGIN PGP MESSAGE-
   Version
   : GnuPG v1.4.2 (GNU/Linux)

   hQIOAwLI9ujV8M7qEAf/SAx+ZakBkPhQWRfkeMPBKyJsb2tj7YWN
   ROqcTJX5t48k
   kl9wdHfWxZp477SWghy+C/kgxVpIrwuqMAVYDlwV9YIADdy0HE7M9mBPyrYzniwN
   LZ
   =

2) For each key I've in my signature [1], only the mail to my
   University address (zoo.unige.ch) wasn't readable.  Again, I'm
   asked to decrypt the message, then asked for my PGP key's password
   and the message looks like the one I sent to Martin:

   =
   -BEGIN PGP MESSAGE-
   Ver
   sion: GnuPG v1.4.2 (GNU/Linux)

   hQEOA64ryyXEqGQIEAP/fIcU5QoiSo9jmiUzEMxkX7pbPvZq
   mdHkEeAdql9T7IBz
   5geUZxHCZiipeccPavMtA2DMWQmSgeeMeqgGb+YJvlnF9ac4twMwwQGpYOvPE9u
   =

The first thing I thought was a specific problem with the university
mailserver (i.e., it cannot manage encrypted mails).  So, I tried
sending encrypted mail to my University address using Mozilla Mail
2:1.7.12-1 + Enigmail 2:0.93-1 and No Gnus 0.4: both worked perfectly,
I mean, the mail was sent through the university mailserver and it was
readable.  Another test was to send an encrypted mail through a third
mailserver (the Switzerland Bluewin one) to my university address: I
could read the encrypted mail.  AFAIK, the problem should not be the
university mailserver.

Now, I'd like to keep my university address on my PGP key, but if the
next time I meet someone for a key-signing party I'll receive unusable
mails for the university signed key, well, that's won't be good.

Is there any way to locate the problem, I mean, is it a mailserver
problem or somewhere else?  If the problem isn't the university
mailserver, I guess it should be in libgnupg-interface-perl or in
libmime-perl, but I'm not a skilled Perl coder (and this is the main
reason I file this bug to signing-party).

Thx, bye,
Gismo / Luca

[1] http://pgpkeys.pca.dfn.de:11371/pks/lookup?search=luca%40pca.it&op=vindex

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages signing-party depends on:
ii  gnupg1.4.2-2 GNU privacy guard - a free PGP rep
ii  libgnupg-interfa 0.33-5  Perl interface to GnuPG
ii  libmailtools-per 1.62-1  Manipulate email in perl programs
ii  libmime-perl 5.418-1 Perl5 modules for MIME-compliant m
ii  libtext-template 1.44-1.1Text::Template perl module
ii  mailx1:8.1.2-0.20050715cvs-1 A simple mail user agent

Versions of packages signing-party recommends:
ii  dialog1.0-20051107-1 Displays user-friendly dialog boxe
ii  libpaper-utils1.1.14-3   Library for handling paper charact
ii  libtext-iconv-perl1.4-2  converts between character sets in
ii  postfix [mail-transport-a 2.2.4-1.0.1A high-performance mail transport 
ii  whiptail  0.51.6-31  Displays user-friendly dialog boxe

-- no debconf information


pgpBHgr01JemX.pgp
Description: PGP signature