[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:       Sven Radej <sven () lisa ! exp ! univie ! ac ! at>
Date:       1999-07-30 14:54:30
[Download RAW message or body]

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.

  -- 
Sven Radej      radej@kde.org
KDE developer   Visit http://www.kde.org

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

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