Martin Geisler | 16 Oct 22:32
Gravatar

Re: Security student

Dario Amoruso <darioamoruso <at> gmail.com> writes:

Hi Dario,

Please reply to the mailinglist, especially if you have followup
questions :-)

As I remember it, the FairPlay system is written in Java, so maybe you
can use this. Perhaps someone else on the mailinglist knows more.

> rejudice
> Sorry to bother you but I mean written in Java co.
>
> thanks for the availability
>
> 2011/10/13 Martin Geisler <mg <at> lazybytes.net>
>
>> Dario Amoruso <darioamoruso <at> gmail.com> writes:
>>
>> > Good evening
>> > I am Dario student of Security of Information Systems.
>> >  I would like to know if you managed to implement the protocol of
>> > millionaire in a programming language.
>>
>> Yes, it's implemented:
>>
>>  http://hg.viff.dk/viff/file/tip/apps/millionaires.py
>>
>> Please post to the mailinglist (viff-devel <at> viff.dk) instead of me
>> personally as I'm no longer the maintainer of VIFF.
(Continue reading)

Martin Geisler | 13 Oct 12:58
Gravatar

Re: Security student

Dario Amoruso <darioamoruso <at> gmail.com> writes:

> Good evening
> I am Dario student of Security of Information Systems.
>  I would like to know if you managed to implement the protocol of
> millionaire in a programming language.

Yes, it's implemented:

  http://hg.viff.dk/viff/file/tip/apps/millionaires.py

Please post to the mailinglist (viff-devel <at> viff.dk) instead of me
personally as I'm no longer the maintainer of VIFF.

--

-- 
Martin Geisler

aragost Trifork
Professional Mercurial support
http://aragost.com/mercurial/
Marcel Keller | 18 Aug 16:04
Picon
Picon

Re: Error while testing VIFF

Well, the paths are completely different to the previous output. VIFF 
has to be installed in one of the paths to work. Did you call Python in 
the same way both times? It seems that you use cygwin here, but not earlier.

Regards,
Marcel

shahriar rahman wrote:
> Hi,
> 
> Any suggestion? 
> 
> Waiting for your response.
> 
> Best regards,
> Moha
> 
> On Thu, Aug 18, 2011 at 9:09 AM, shahriar rahman <mail.jaist <at> gmail.com 
> <mailto:mail.jaist <at> gmail.com>> wrote:
> 
>     Hello Marcel,
>      
>     I have got the following output:
>     ---------------------------------------------------------------
> 
>     C:\Users\tbn\Desktop\viff-0.7.1\apps>python millionaires.py --no-ssl
>     player-1.ini
>     ['/cygdrive/c/Users/tbn/Desktop/viff-0.7.1/apps',
>     '/cygdrive/c/Users/tbn/Desktop
>     /viff-0.7.1/apps/C',
(Continue reading)

Moha | 15 Aug 09:53
Picon

Error while testing VIFF

Hello,

I am trying to test and use VIFF for the first time. I am new to python as 
well. I have followed the instructions given in the installation guide at 
viff.dk. The VIFF has been installed with the following versions:

OS: Windows Vista
Python: 2.5.4 
Twisted: Twisted-11.0.0.winxp32-py2.5 
OpenSSL: openssl-0.9.8g_win32 
PyOpenSSL: pyOpenSSL-0.11.winxp32-py2.5 
GMPY: gmpy-1.14.win32-py2.5
VIFF: 1.0

The path is set as: C:\Python25. VIFF is also installed in C:\Python25
\Lib\site-packages\

I have tried to sue both the test options given in the installation guide. But 
have the following error messages:

++method 1:

 python generate-config-files.py -n 3 -t 1 \

error:  traceback(most recent call last):
        File "generate-config-files.py", line 57, in <module>
         from viff.config import generate_configs
        ImportError: No module named viff.config 

++method 2:
(Continue reading)

Picon

News

Are there any news on the Project? Be-D-O-SA documentation?

Is it practical to use VIFF for a P2P application where peer loging off is 
unpredictable? Could their data be mirrored to another peer while keeping them 
secure? How does mirroring change the 'n/3' assumption? 

Just a few noob questions.. :°)

I envision designing an economic system which will be based on having all the 
information. If I am correct MPC also protects against anyone playing agaist the 
rules. So MPC also makes such a design enforcable.

Please continue updating this project and making it more practical.

_______________________________________________
viff-devel mailing list (http://viff.dk/)
viff-devel <at> lists.viff.dk
http://lists.viff.dk/listinfo.cgi/viff-devel-viff.dk
Marcel Keller | 6 May 11:56
Picon
Picon

Re: centos install

Hi Abdelrahaman,

Debian, Ubuntu, and Gentoo offer all dependencies as packages, see
http://viff.dk/doc/install.html#using-a-package-manager

I don't use any IDE for development, just Emacs, which offers code 
highlighting.

Best regards,
Marcel

Abdelrahaman Aly wrote:
> Marcel,
> Thanks for your answer and time, I already tried to install it from source
> but of course it has a lot of system requirements and some special libraries
> that in the end it became an almost impossible task, so if you know any
> standard procedure for other linux dist. Please let me know.
> 
> I'm also planning to develop some stuff using VIFF behind scene, so could
> you please recommend me an IDE for doing it so. 
> 
> Thanks in Advance,
> Abdelrahaman Aly
> 
> -----Mensaje original-----
> De: Marcel Keller [mailto:mkeller <at> cs.au.dk] 
> Enviado el: Monday, May 02, 2011 3:25 PM
> Para: Abdelrahaman Aly
> CC: viff-devel <at> lists.viff.dk
> Asunto: Re: [viff-devel] centos install
(Continue reading)

Abdelrahaman Aly | 1 May 16:03
Picon
Favicon

centos install

Hello,

My name is Abdelrahaman Aly, Im a Engineering PhD student at UCL, I was
trying to install VIFF in CENTOS but I was not able to do it, there is any
way to do it?

Att.
Abdelrahaman Aly

Gilles Scuttenaire | 18 Apr 16:38
Picon

Problem using SSL

Hello,

First of all, sorry for my english...

I have problems when I use SSL. I explain:
I have tried to run the file 'equality.py' in viff\apps. To do that, I generate config-files and certificates. Then I run 'equality.py player-X.ini -n 24'  in three different shells.

When I do 'equality.py player-1.ini -n 24' in the first shell, everything seems to be good. But when I write
'equality.py player-2.ini -n 24'
in the second shell, python simply stops and I receive the following message:
'Python has stopped working. Windows is trying to find a solution to the problem.'

I really don't understand what happens.  I have exactly the same problem for all programs using SSL. However, everything works fine with no SSL.

I use Windows 7 with:
python 2.4.4
twisted 8.10
OpenSSL 1.0.0d (32 bit)
pyOpenSSL  0.7
gmpy 1.10

Thank you for your help.

Francois Koeune | 16 Mar 19:15
Picon
Favicon

Newbie question

Hello,

A real beginner question, I am afraid : I just started playing with VIFF.

After installing the tools and running some of the apps example, I tried 
writing my own code, starting by modifying some of the examples.

Taking shamir-share-open.py as a starting point, I started by doing some 
extra computations with the 3 shared values, e.g. computing a*c+b. 
Everything went fine.

Then I wanted to compare some values. So I began by mixing Toft07Runtime 
with the default class, and adding a line like
	d = greater_than_equal(a,b)   # (BTW, I know I could do the same with 
the operator >=)

Now the code stalls. Checking the file sort.py, the comparison result 
appears to be a deferred, so I tried adding a callback to d, but with no 
success. I also compared my code with compare.py, but I do not see where 
I deviate from what they do.

Can anybody help me ? Sorry again if the question is stupid, I am a bit 
lost here, and searching mostly by mimicing other programs and trying 
whether it works isn't very efficient.

I am also open to any comment regarding « bad practices » in my 10 lines 
of code, and to any pointer to things I should read to begin with (I 
must confess I am also a beginner to Twisted, but Twisted is a huge 
tool, and it seems difficult to become a Twisted expert before being 
able to play with VIFF).

Last question so far : it seems quite logical to me that the result of 
a comparison is a deferred, and also that the result of an addition is 
immediate. On the other hand, I am a bit surprised that the result of a 
multiplication (cf. my a*b+c above) seems to be immediate, as 
multiplying requires all participants to be involved ... Or perhaps I 
was just extremely lucky to get the result ?

Here is my code :

=====================================================================

import sys

import viff.reactor
viff.reactor.install()
from twisted.internet import reactor

from optparse import OptionParser
from viff.field import GF
from viff.runtime import Runtime, create_runtime, gather_shares
from viff.config import load_config
from viff.util import dprint
from viff.comparison import Toft07Runtime

id, players = load_config(sys.argv[1])
Zp = GF(int(sys.argv[2]))
input = int(sys.argv[3])

print "I am player %d and will input %s" % (id, input)

def protocol(rt):

     def dready(d):
         print "OK"*32
         dd = rt.open(d)
         dprint("### opened d: %s ###", dd)

     def problem(d):
         print "!"*64

     print "-" * 64
     print "Program started"
     print

     a, b, c = rt.shamir_share([1, 2, 3], Zp, input)

     aa = rt.open(a)
     bb = rt.open(b)
     cc = rt.open(c)

     dprint("### opened a: %s ###", aa)
     dprint("### opened b: %s ###", bb)
     dprint("### opened c: %s ###", cc)

     res = a*c+b
     rres = rt.open(res)
     dprint("### opened res: %s ###", rres)

     d = greater_than_equal(a,b)
     d.addCallback(dready)
     d.addErrback(problem)

     rt.wait_for(aa, bb, cc, rres)

pre_runtime = create_runtime(id, players, 1, runtime_class=Toft07Runtime)
pre_runtime.addCallback(protocol)

reactor.callLater(10, reactor.stop)
reactor.run()
Dan Bogdanov | 27 Dec 13:49
Picon
Favicon

We have finally released the developer tools for Sharemind


Good day!

For a few years now we have been working on a practical way for creating 
applications that process confidential data. We are happy that we can 
now share some of the results with you.

We have released the Sharemind toolkit for developing programs that can 
process confidential data separately from public data. In addition, 
confidential data can be processed using secure computation techniques 
like secure multiparty computation.

You can find the software at http://research.cyber.ee/sharemind/
Currently, there is only a Microsoft Windows version, but expect support 
for more platforms in future releases.

Please give these tools a try! There is a "Getting Started" tutorial on 
the Sharemind web page, that walks you through some basic features.  We 
admit, that there are missing features and probably also some bugs. 
Please let us know of both!

Our plan with Sharemind is twofold. First, we are looking for 
collaborators for building application prototypes or applications. We 
are already deploying the technology in real world settings and further 
opportunities to improve the privacy guarantees of your systems are more 
than welcome.

Second, we want to encourage academic collaboration. As Sharemind is a 
generic framework, it can be used for researching privacy preserving 
applications and algorithms. We are most interested in hearing whether 
you can come up with a better sorting algorithm written in the SecreC 
language.

Since Sharemind is complete system, we have also met challenges in 
cryptography, programming languages and software engineering. Faster 
protocols, detection of privacy leaks in programs and new application 
interfaces are all of great interest to us.

Waiting to hear from you,

Dan Bogdanov

research and Sharemind project leader
Cybernetica
dan.bogdanov <at> cyber.ee

Thomas P Jakobsen | 15 Dec 15:32
Picon
Picon

Making changes to the viff web page

Here's a short note on how to update the viff.dk web page (from a
private mail I got from Martin Geisler):

The documentation found under

    http://viff.dk/doc/index.html

is built from the doc/ directory in the main VIFF repository. As far as
I remember, this is done by the buildbot, but it seems to be sick at the
moment:

    http://buildbot.viff.dk/

That is, to update the viff web page, changes should be made to
http://viff.dk/doc. The buildbot will then (when it's alive) update
the viff.dk project and the web page.

Regards,
Thomas

Gmane