• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

dedis / cothority / 11623
62%

Build:
DEFAULT BRANCH: master
Ran 22 May 2019 09:34AM UTC
Jobs 1
Files 130
Run time 11s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
11623

push

travis-ci

Gilthoniel
Improvements to E-voting (#1895)

* Use base verifier for evoting skipchains.

* Change e-voting authentication model

Previously, e-voting authentication was designed to be
decentralised, with the signature being posted in the blocks
and the signature being checked during the verification of the
blocks by the conodes.

But because the signature was essentially a bearer token,
it must remain confidential, or else it can be used for
replay attacks.

With this change, the signature is now private data, which is
only known by the client and by the lead conode. The lead conode
becomes a centralised point of authentication, which is no worse
than our current system, which already has a centralised
authentication system (Tequila). In production, the same
organisation operates Tequila as the lead conode.

The process of shuffling and decrypting the votes is still
executed in a decentralised manner, with the private key
for an election still sharded across the cothority.

* Require a signature from the lead conode

Make the fact that verifiers are counting on the lead conode to
check the user auth info more clear. Now for a given transaction
to verify, it must either be signed by the lead conode, or be one
of the 2 txn types where we expect the tx to be signed by one
of the other members of the cothority.

* Integrate the block number into the signature

In order to make the signature useless for replay,
we add the block number into the signed data.

* Fix signatures to be deterministic

Protobuf encoding of maps is not deterministic, as a result my previous change
was working for unit tests (which had no Name or Subtitle) but was not working
in real life. Fixed by making the message to sign in a deterministic manner.

Also address Gaylor's comment about locking, in the
worst possible way.

* Improve docs.

13589 of 22918 relevant lines covered (59.29%)

3605.56 hits per line

Jobs
ID Job ID Ran Files Coverage
1 11623.1 22 May 2019 09:34AM UTC 0
59.29
Travis Job 11623.1
Source Files on build 11623
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #11623
  • e806e79b on github
  • Prev Build on master (#11622)
  • Next Build on master (#11624)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc