├── .gitattributes ├── .gitignore ├── README.md ├── Vagrantfile ├── quorum-secret-ballot ├── .gitignore ├── bench-private-async.sh ├── bench-private-sync.sh ├── bench-public-sync.sh ├── contracts │ ├── Migrations.sol │ └── SecretBallot.sol ├── genesis.json ├── istanbul-genesis.json ├── istanbul-init.sh ├── istanbul-start.sh ├── keys │ ├── key1 │ ├── key2 │ ├── key3 │ ├── key4 │ ├── key5 │ ├── tm1.key │ ├── tm1.pub │ ├── tm1a.key │ ├── tm1a.pub │ ├── tm2.key │ ├── tm2.pub │ ├── tm2a.key │ ├── tm2a.pub │ ├── tm3.key │ ├── tm3.pub │ ├── tm3a.key │ ├── tm3a.pub │ ├── tm4.key │ ├── tm4.pub │ ├── tm4a.key │ ├── tm4a.pub │ ├── tm5.key │ ├── tm5.pub │ ├── tm5a.key │ └── tm5a.pub ├── migrations │ ├── 1_initial_migration.js │ └── 2_deploy_contracts.js ├── passwords.txt ├── permissioned-nodes.json ├── porosity │ ├── README.md │ ├── deploy-nonvulnerable.js │ ├── deploy-vulnerable.js │ └── scan.js ├── raft-init.sh ├── raft-start.sh ├── raft │ ├── nodekey1 │ ├── nodekey2 │ ├── nodekey3 │ ├── nodekey4 │ └── nodekey5 ├── runscript.sh ├── send-private-async.lua ├── send-private-sync.lua ├── send-public-sync.lua ├── stop.sh ├── tm1.conf ├── tm2.conf ├── tm3.conf ├── tm4.conf ├── tm5.conf └── truffle.js └── vagrant └── bootstrap.sh /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/didil/quorum-secret-ballot/HEAD/.gitattributes -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/didil/quorum-secret-ballot/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/didil/quorum-secret-ballot/HEAD/README.md -------------------------------------------------------------------------------- /Vagrantfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/didil/quorum-secret-ballot/HEAD/Vagrantfile -------------------------------------------------------------------------------- /quorum-secret-ballot/.gitignore: -------------------------------------------------------------------------------- 1 | build/ -------------------------------------------------------------------------------- /quorum-secret-ballot/bench-private-async.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/didil/quorum-secret-ballot/HEAD/quorum-secret-ballot/bench-private-async.sh -------------------------------------------------------------------------------- /quorum-secret-ballot/bench-private-sync.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/didil/quorum-secret-ballot/HEAD/quorum-secret-ballot/bench-private-sync.sh -------------------------------------------------------------------------------- /quorum-secret-ballot/bench-public-sync.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/didil/quorum-secret-ballot/HEAD/quorum-secret-ballot/bench-public-sync.sh -------------------------------------------------------------------------------- /quorum-secret-ballot/contracts/Migrations.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/didil/quorum-secret-ballot/HEAD/quorum-secret-ballot/contracts/Migrations.sol -------------------------------------------------------------------------------- /quorum-secret-ballot/contracts/SecretBallot.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/didil/quorum-secret-ballot/HEAD/quorum-secret-ballot/contracts/SecretBallot.sol -------------------------------------------------------------------------------- /quorum-secret-ballot/genesis.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/didil/quorum-secret-ballot/HEAD/quorum-secret-ballot/genesis.json -------------------------------------------------------------------------------- /quorum-secret-ballot/istanbul-genesis.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/didil/quorum-secret-ballot/HEAD/quorum-secret-ballot/istanbul-genesis.json -------------------------------------------------------------------------------- /quorum-secret-ballot/istanbul-init.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/didil/quorum-secret-ballot/HEAD/quorum-secret-ballot/istanbul-init.sh -------------------------------------------------------------------------------- /quorum-secret-ballot/istanbul-start.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/didil/quorum-secret-ballot/HEAD/quorum-secret-ballot/istanbul-start.sh -------------------------------------------------------------------------------- /quorum-secret-ballot/keys/key1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/didil/quorum-secret-ballot/HEAD/quorum-secret-ballot/keys/key1 -------------------------------------------------------------------------------- /quorum-secret-ballot/keys/key2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/didil/quorum-secret-ballot/HEAD/quorum-secret-ballot/keys/key2 -------------------------------------------------------------------------------- /quorum-secret-ballot/keys/key3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/didil/quorum-secret-ballot/HEAD/quorum-secret-ballot/keys/key3 -------------------------------------------------------------------------------- /quorum-secret-ballot/keys/key4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/didil/quorum-secret-ballot/HEAD/quorum-secret-ballot/keys/key4 -------------------------------------------------------------------------------- /quorum-secret-ballot/keys/key5: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/didil/quorum-secret-ballot/HEAD/quorum-secret-ballot/keys/key5 -------------------------------------------------------------------------------- /quorum-secret-ballot/keys/tm1.key: -------------------------------------------------------------------------------- 1 | {"data":{"bytes":"Wl+xSyXVuuqzpvznOS7dOobhcn4C5auxkFRi7yLtgtA="},"type":"unlocked"} -------------------------------------------------------------------------------- /quorum-secret-ballot/keys/tm1.pub: -------------------------------------------------------------------------------- 1 | BULeR8JyUWhiuuCMU/HLA0Q5pzkYT+cHII3ZKBey3Bo= -------------------------------------------------------------------------------- /quorum-secret-ballot/keys/tm1a.key: -------------------------------------------------------------------------------- 1 | {"data":{"bytes":"wGEar7J9G0JAgdisp61ZChyrJWeW2QPyKvecjjeVHOY="},"type":"unlocked"} -------------------------------------------------------------------------------- /quorum-secret-ballot/keys/tm1a.pub: -------------------------------------------------------------------------------- 1 | 8SjRHlUBe4hAmTk3KDeJ96RhN+s10xRrHDrxEi1O5W0= -------------------------------------------------------------------------------- /quorum-secret-ballot/keys/tm2.key: -------------------------------------------------------------------------------- 1 | {"data":{"bytes":"nDFwJNHSiT1gNzKBy9WJvMhmYRkW3TzFUmPsNzR6oFk="},"type":"unlocked"} -------------------------------------------------------------------------------- /quorum-secret-ballot/keys/tm2.pub: -------------------------------------------------------------------------------- 1 | QfeDAys9MPDs2XHExtc84jKGHxZg/aj52DTh0vtA3Xc= -------------------------------------------------------------------------------- /quorum-secret-ballot/keys/tm2a.key: -------------------------------------------------------------------------------- 1 | {"data":{"bytes":"rwfJC1kNa8BjPfc+zZXug+it9sdWa0vbdN6pp6IXlAs="},"type":"unlocked"} -------------------------------------------------------------------------------- /quorum-secret-ballot/keys/tm2a.pub: -------------------------------------------------------------------------------- 1 | 2T7xkjblN568N1QmPeElTjoeoNT4tkWYOJYxSMDO5i0= -------------------------------------------------------------------------------- /quorum-secret-ballot/keys/tm3.key: -------------------------------------------------------------------------------- 1 | {"data":{"bytes":"tMxUVR8bX7aq/TbpVHc2QV3SN2iUuExBwefAuFsO0Lg="},"type":"unlocked"} -------------------------------------------------------------------------------- /quorum-secret-ballot/keys/tm3.pub: -------------------------------------------------------------------------------- 1 | 1iTZde/ndBHvzhcl7V68x44Vx7pl8nwx9LqnM/AfJUg= -------------------------------------------------------------------------------- /quorum-secret-ballot/keys/tm3a.key: -------------------------------------------------------------------------------- 1 | {"data":{"bytes":"yLcbICXicELZOnvpkDXB2UkQUiNAMIfsEOsgtFOGkQU="},"type":"unlocked"} -------------------------------------------------------------------------------- /quorum-secret-ballot/keys/tm3a.pub: -------------------------------------------------------------------------------- 1 | 3nLS1GSlPs3/AccoZ20WTBrYP/ua5KDlUM1uGrDKHTs= -------------------------------------------------------------------------------- /quorum-secret-ballot/keys/tm4.key: -------------------------------------------------------------------------------- 1 | {"data":{"bytes":"grQjd3dBp4qFs8/5Jdq7xjz++aUx/LXAqISFyPWaCRw="},"type":"unlocked"} -------------------------------------------------------------------------------- /quorum-secret-ballot/keys/tm4.pub: -------------------------------------------------------------------------------- 1 | oNspPPgszVUFw0qmGFfWwh1uxVUXgvBxleXORHj07g8= -------------------------------------------------------------------------------- /quorum-secret-ballot/keys/tm4a.key: -------------------------------------------------------------------------------- 1 | {"data":{"bytes":"dZAr1f6Nlqe03dj3nBFKE9eSW2Tp66do7edRtKiKrew="},"type":"unlocked"} -------------------------------------------------------------------------------- /quorum-secret-ballot/keys/tm4a.pub: -------------------------------------------------------------------------------- 1 | Xtda1lz7BhlawE7i0+irPiS9i9StS3Q0EtQ9/fOvPXw= -------------------------------------------------------------------------------- /quorum-secret-ballot/keys/tm5.key: -------------------------------------------------------------------------------- 1 | {"data":{"bytes":"W8XcdJfOuxCrLcspSceNg9vh7Cwe8tXiIx5xPJ88OtQ="},"type":"unlocked"} -------------------------------------------------------------------------------- /quorum-secret-ballot/keys/tm5.pub: -------------------------------------------------------------------------------- 1 | R56gy4dn24YOjwyesTczYa8m5xhP6hF2uTMCju/1xkY= -------------------------------------------------------------------------------- /quorum-secret-ballot/keys/tm5a.key: -------------------------------------------------------------------------------- 1 | {"data":{"bytes":"NPUunmb2Z/BKDcZ+6Ve68DdmHxqtn5G998i1o42sNqw="},"type":"unlocked"} -------------------------------------------------------------------------------- /quorum-secret-ballot/keys/tm5a.pub: -------------------------------------------------------------------------------- 1 | ui8aK5m91usNnp6X7ZHvyRc8MNpn8ge4i2avXmev2VQ= -------------------------------------------------------------------------------- /quorum-secret-ballot/migrations/1_initial_migration.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/didil/quorum-secret-ballot/HEAD/quorum-secret-ballot/migrations/1_initial_migration.js -------------------------------------------------------------------------------- /quorum-secret-ballot/migrations/2_deploy_contracts.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/didil/quorum-secret-ballot/HEAD/quorum-secret-ballot/migrations/2_deploy_contracts.js -------------------------------------------------------------------------------- /quorum-secret-ballot/passwords.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /quorum-secret-ballot/permissioned-nodes.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/didil/quorum-secret-ballot/HEAD/quorum-secret-ballot/permissioned-nodes.json -------------------------------------------------------------------------------- /quorum-secret-ballot/porosity/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/didil/quorum-secret-ballot/HEAD/quorum-secret-ballot/porosity/README.md -------------------------------------------------------------------------------- /quorum-secret-ballot/porosity/deploy-nonvulnerable.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/didil/quorum-secret-ballot/HEAD/quorum-secret-ballot/porosity/deploy-nonvulnerable.js -------------------------------------------------------------------------------- /quorum-secret-ballot/porosity/deploy-vulnerable.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/didil/quorum-secret-ballot/HEAD/quorum-secret-ballot/porosity/deploy-vulnerable.js -------------------------------------------------------------------------------- /quorum-secret-ballot/porosity/scan.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/didil/quorum-secret-ballot/HEAD/quorum-secret-ballot/porosity/scan.js -------------------------------------------------------------------------------- /quorum-secret-ballot/raft-init.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/didil/quorum-secret-ballot/HEAD/quorum-secret-ballot/raft-init.sh -------------------------------------------------------------------------------- /quorum-secret-ballot/raft-start.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/didil/quorum-secret-ballot/HEAD/quorum-secret-ballot/raft-start.sh -------------------------------------------------------------------------------- /quorum-secret-ballot/raft/nodekey1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/didil/quorum-secret-ballot/HEAD/quorum-secret-ballot/raft/nodekey1 -------------------------------------------------------------------------------- /quorum-secret-ballot/raft/nodekey2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/didil/quorum-secret-ballot/HEAD/quorum-secret-ballot/raft/nodekey2 -------------------------------------------------------------------------------- /quorum-secret-ballot/raft/nodekey3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/didil/quorum-secret-ballot/HEAD/quorum-secret-ballot/raft/nodekey3 -------------------------------------------------------------------------------- /quorum-secret-ballot/raft/nodekey4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/didil/quorum-secret-ballot/HEAD/quorum-secret-ballot/raft/nodekey4 -------------------------------------------------------------------------------- /quorum-secret-ballot/raft/nodekey5: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/didil/quorum-secret-ballot/HEAD/quorum-secret-ballot/raft/nodekey5 -------------------------------------------------------------------------------- /quorum-secret-ballot/runscript.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/didil/quorum-secret-ballot/HEAD/quorum-secret-ballot/runscript.sh -------------------------------------------------------------------------------- /quorum-secret-ballot/send-private-async.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/didil/quorum-secret-ballot/HEAD/quorum-secret-ballot/send-private-async.lua -------------------------------------------------------------------------------- /quorum-secret-ballot/send-private-sync.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/didil/quorum-secret-ballot/HEAD/quorum-secret-ballot/send-private-sync.lua -------------------------------------------------------------------------------- /quorum-secret-ballot/send-public-sync.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/didil/quorum-secret-ballot/HEAD/quorum-secret-ballot/send-public-sync.lua -------------------------------------------------------------------------------- /quorum-secret-ballot/stop.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/didil/quorum-secret-ballot/HEAD/quorum-secret-ballot/stop.sh -------------------------------------------------------------------------------- /quorum-secret-ballot/tm1.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/didil/quorum-secret-ballot/HEAD/quorum-secret-ballot/tm1.conf -------------------------------------------------------------------------------- /quorum-secret-ballot/tm2.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/didil/quorum-secret-ballot/HEAD/quorum-secret-ballot/tm2.conf -------------------------------------------------------------------------------- /quorum-secret-ballot/tm3.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/didil/quorum-secret-ballot/HEAD/quorum-secret-ballot/tm3.conf -------------------------------------------------------------------------------- /quorum-secret-ballot/tm4.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/didil/quorum-secret-ballot/HEAD/quorum-secret-ballot/tm4.conf -------------------------------------------------------------------------------- /quorum-secret-ballot/tm5.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/didil/quorum-secret-ballot/HEAD/quorum-secret-ballot/tm5.conf -------------------------------------------------------------------------------- /quorum-secret-ballot/truffle.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/didil/quorum-secret-ballot/HEAD/quorum-secret-ballot/truffle.js -------------------------------------------------------------------------------- /vagrant/bootstrap.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/didil/quorum-secret-ballot/HEAD/vagrant/bootstrap.sh --------------------------------------------------------------------------------