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

List:       kde-devel
Subject:    Re: Problems with kpgp
From:       Emanuel Schmieg <kerneld () gmx ! net>
Date:       2002-02-28 10:56:59
[Download RAW message or body]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am Donnerstag, der 28. Februar 2002 01:27 schrieb Ingo Klöcker:
> On Wednesday 27 February 2002 12:04, Emanuel Schmieg wrote:
> > hi
> > I've got a problem with the kpgp class:
> > If I want to encrypt a message with
> > pgp->encryptFor(recipents, userID, false);
> > (With a not empty recipents list)
> > The message is not encryptet and the debug message:
> > libkdenetwork: kpgpbase: Neither recipients nor passphrase specified.
> > is printet.
> > what's the reason?
>
> Well, for some reason KpgpBase*::encsign(...) is passed an empty
> recipient list. Could you please provide a little bit more code?
>
> If you want to know how to use the Kpgp functions have a look at KMail's
> source code (especially kmcomposewin.cpp (encryption/signing) and
> kmreaderwin.cpp (decryption/signature verification)).
>
> BTW, the Kpgp API has changed a lot in KDE 3.
>
> BTW2, for which program are you using Kpgp?
>
> Regards,
> Ingo
>
I've fixed the error: I used a pointer on the QStrList instead of real 
object, no problem for the compiler but I think in the Qt architekture the 
data has been lost.
BTW I will change my app to kde3 as quick as possible but I didn't find the 
api or something to download 
BTW 2 my app is KChat (kchat.sourceforge.net) an app for chats in LAN's
Regards
Emanuel
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8fgz/zwgyzFFj+ZMRAqnoAJ0Z/vDHw+I4/c9qKZ2d1S//EX0yXQCfbejA
PwJAzG6UAN2shLI/vSCJknY=
=5Lx0
-----END PGP SIGNATURE-----
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

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