[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: KMail and pgp signing: walking in small circles
From:       Kurt Granroth <granroth () kde ! org>
Date:       1999-07-31 0:03:24
[Download RAW message or body]

Sven Radej wrote:
> On Fri, 30 Jul 1999, Lars Knoll wrote:
> >> My last idea now is to strip all trailing white space from message before
> >> signing it. 
> >
> >That's probably the way to go. It's a completely stupid behaviour of
> >pgp...
> 
> Ok, I did it and it works fine. The change makes kpgpbase.cpp the same as
> before my previous "fix" with two lines added:
> 
> if (signonly)
>     input.replace(QRegExp("[ \t]+\n"), "\n");
> 
> I supose that this Q-regexp realy matches "one or more spaces/tabs in front of
> newline" and nothing else.

The way I've seen to handle PGP and sig files is to break up the sig
delimiter just before signing.  The normal "-- " becomes "- -- ".  I'm
thinking that PGP 2.6 does that automatically.. but I could be totally wrong.
-- 
Kurt Granroth            | granroth@kde.org
KDE Developer/Evangelist | http://www.pobox.com/~kurt_granroth

        KDE -- Putting a Friendly Face on Linux

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic