From: <tre...@us...> - 2010-05-25 17:01:36
|
Revision: 289 http://spd.svn.sourceforge.net/spd/?rev=289&view=rev Author: treibholz Date: 2010-05-25 17:01:30 +0000 (Tue, 25 May 2010) Log Message: ----------- fixed broken MultiUser-Support.... DOH!!! Modified Paths: -------------- trunk/src/spdCore.py Modified: trunk/src/spdCore.py =================================================================== --- trunk/src/spdCore.py 2010-04-11 14:53:16 UTC (rev 288) +++ trunk/src/spdCore.py 2010-05-25 17:01:30 UTC (rev 289) @@ -407,10 +407,15 @@ c = core.Context() c.set_armor(1) + # Get the first keys, it finds + RecipientKeys = [] for i in self.recipients: c.op_keylist_start(i,0) + RecipientKeys.append(c.op_keylist_next()) - c.op_encrypt([c.op_keylist_next()], 1, plain, cipher) + # encrypt with RecipientKeys + + c.op_encrypt(RecipientKeys, 1, plain, cipher) cipher.seek(0,0) f.write(cipher.read()) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |