A PSC network consists of a Tally Server (TS), at least two Computation Parties (CPs) and one or more Data Parties (DPs).
git clone https://github.com/ekalinin/envirius.git
cd envirius
make install
Add following to your ~/.bashrc:
[ -f "$HOME/.envirius/nv" ] && . ~/.envirius/nv
Restart your terminal.
nv ls-versions --go-prebuilt
nv mk <goenvironment_name> --go-prebuilt=1.9.4
nv on <goenvironment_name>
go get -u github.com/golang/protobuf/protoc-gen-go
go get golang.org/x/net/publicsuffix
go get github.com/armon/go-radix
go get github.com/dedis/kyber
cd $GOPATH/src/github.com/dedis/kyber
go get -t ./...
go build -tags vartime
cd $GOPATH/src
git clone https://github.com/AkshayaMani/PSC.git
cd $GOPATH/src/PSC
git pull
nv off
A custom compiled PrivCount-patched Tor must be used to run a Data Party.
The most up to date instructions for installing a PrivCount-patched Tor can be found here:
https://github.com/privcount/privcount/blob/master/INSTALL.markdown#installing-a-privcount-patched-tor-data-collectors