Commit Graph

86 Commits (7db62187353bff79fc7e5658c8602138772673ad)

Author SHA1 Message Date
Hai Brenner 14fac728b3 1. ScannedData now has a Channel and a SignedEncryptedBallot attributes,
rather than just 'data' attribute
2. Implemented a NetworkVirtualPrinter output device, and now both
   this class and the previous SystemConsoleOutputDevice extend the same
   new abstract class AsyncRunnableOutputDevice which supplies default
   implementations for the interface methods.
2016-06-28 11:32:00 +03:00
Hai Brenner d12ad408c4 Merge branch 'master' into vbdev2
Conflicts:
	meerkat-common/src/main/proto/meerkat/voting.proto
2016-06-26 17:17:24 +03:00
Hai Brenner 2bdf92b075 Fixed some stuff according to Arbel's suggestions.
Specifically:
1. now handling exceptions in the encryption process (according to voter's choice)
2. handling files in storage manager (now reading election parameters and system messages from files)
3. Controller's init() now already sets all the info and parameters. No need to call extra functions
4. some more changes to the method structure
2016-06-20 15:26:53 +03:00
Hai Brenner 13f8948cfb change the output class to run as a thread.
It is now runnable and has its own queue of (also new) OutputCommands, and its own shutdown flag.
2016-06-15 19:32:05 +03:00
Hai Brenner 76d3fdeac2 Fixed the Selector classes.
Fixed the crypto classes to handle signatures as well.
Some more other fixes
2016-06-07 16:15:08 +03:00
arbel.peled ffac7c1e34 Fixed all of Tal's remarks.
Switched to using the predefined BoolValue Protobuf.
2016-06-02 14:48:48 +03:00
arbel.peled 347e826f73 Working integrated version of Scanner WebApp
Fully testsed
Moved BoolMsg and IntMsg to Comm package (from BulletinBoardAPI)
2016-05-31 15:26:56 +03:00
arbel.peled 061dc69fbc File rename 2016-05-05 17:01:00 +03:00
arbel.peled b934894bc5 Created Polling Station Scanner interface
Implemented Web App for the scanner
Not tested
2016-05-05 16:55:10 +03:00
Hai Brenner c04ed42dca possible future protobufs for handling category channel selection.
Summary:
The initial code for the voting booth.
Some things are still missing:
1. comments EVERYWHERE
2. an implementation for the encryptor (program crashes when trying to encrypt PlaintexBallot)
3. the OutputDevice class should become a thread, (runnable with a queue of commands as the UI component)

Test Plan: Currently only simply run it with another main class.

Reviewers: arbel.peled

Differential Revision: https://proj-cs.idc.ac.il/D3
2016-05-04 17:58:06 +03:00
Tal Moran 1f8df95895 More refactoring for tests and protocol -- user class now handles all messages synchronously (in the main thread); concurrency is now simpler) 2016-04-14 03:34:54 +03:00
Tal Moran d2373c09f2 Merge with master 2016-04-11 20:14:18 +03:00
Tal Moran 1ec02173e7 package renaming and protobuf moves 2016-04-11 19:48:36 +03:00
Arbel Deutsch Peled e904caa74f Added certificates to version control 2016-04-11 14:21:36 +03:00
Arbel Deutsch Peled 07aecd5237 TimestampComparator name change 2016-04-11 12:26:02 +03:00
tzlil.gon d0951f8644 stop 2016-04-08 21:48:08 +03:00
tzlil.gon 3e1f59ec2b switch secret with share 2016-04-08 15:46:54 +03:00
Tal Moran 4f608e813d Code review comments and channges 2016-04-05 15:36:00 +03:00
Arbel Deutsch Peled e56312d38b Local Client supports subsrciptions 2016-03-22 10:16:46 +02:00
Arbel Deutsch Peled a7699086d8 Local Client for testing (without subscription yet)
Partial implementation of subscriptions.
Some bug fixes.
2016-03-21 20:32:57 +02:00
tzlil.gon e4a33af4d4 abort message 2016-03-18 14:20:47 +02:00
Hai Brenner 15453a772d Changes made in the initial interfaces for further code review.
1. Especially tried to fix the callback mechanism I previously used.
2. 'long sessionID' changed to 'int requestId'
3. Introduced a generic class VotingBoothResult
4. Quite some other local changes
2016-03-02 19:52:17 +02:00
tzlil.gon cc7e138a43 redesigned mail handler 2016-03-01 16:49:55 +02:00
Arbel Deutsch Peled 1cf14a60a8 Bulletin Board Client support for streaming and Timestamps
Created standard Checksum interface and implementation for Sync Query mechanism
Added the Timestamp into the Batch Digest and Signature logic
2016-03-01 13:56:18 +02:00
Arbel Deutsch Peled 71191e05b9 Added Sync Query tests on Bulletin Board Server 2016-02-29 08:36:35 +02:00
Hai Brenner 77f47fe9e1 First version of Voter Booth
Summary:
Planned some basic interfaces for my revised Voting Booth componenets.
No implementation yet, though...

Test Plan: There are none, yet

Reviewers: arbel.peled

Differential Revision: https://proj-cs.idc.ac.il/D2
2016-02-28 15:10:27 +02:00
tzlil.gon 0f7dbe3d50 SDKG tested for non coruppted parties 2016-02-23 19:02:49 +02:00
Arbel Deutsch Peled aeb7c13436 Made read operations stream the results.
Removed dependency on large Protobufs (BulletinBoardMessageList and BatchDataList).
Partial implementation of Sync Query.
Current version supports only H2 and MySQL (no SQLite support).
2016-02-22 08:04:01 +02:00
tzlil.gon 210cc327ac secure dkg without stage 4 2016-02-17 22:58:20 +02:00
Arbel Deutsch Peled 9a78330e29 Working Integration test for Threaded BB Client supporting Batches.
Haven't tested subscriptions yet.
2016-02-16 22:33:52 +02:00
tzlil.gon 8288b07d80 joint feldman with protos 2016-02-08 15:20:43 +02:00
tzlil.gon 6100497e8e Feldman's VSS 2016-01-27 13:41:24 +02:00
Arbel Deutsch Peled 3fed32f9e6 First (untested) version of BB Client with full batch support 2016-01-17 19:57:45 +02:00
Arbel Deutsch Peled 141d286af2 Dual-layered threaded BB Client.
Supports basic functionality.
Does not support Batch Messages yet.
2016-01-17 10:59:05 +02:00
Arbel Deutsch Peled 88b8f6d8ea Working version of Batch messages on Server-Side 2015-12-27 11:21:17 +02:00
Arbel Deutsch Peled b5237d6c9f Implemented (untested) batch messages in Bulletin Board Server (MySQL implementation only).
Implemented generic batch message signatures and digests.
Created new interface for Bulletin Board constants.
2015-12-21 23:16:06 +02:00
Arbel Deutsch Peled 37f962d520 Defined semi-final versions of the batch interfaces.
Implemented in part extended BB Server interface.
Added Digest support for Batch messages.
Made GlobalCryptoSetup a final singleton.
2015-12-19 19:54:50 +02:00
Arbel Deutsch Peled c4b0d8f23c Merge branch 'master' into Bulletin-Board-Batch 2015-12-17 19:21:04 +02:00
Tal Moran e8e511d9ce Move to public version of qilin 2015-12-16 18:16:12 +02:00
Arbel Deutsch Peled b17954adc2 Split interface into BulletinBoardClient and AsyncBulletinBoardClient.
Added Batch Messages Bulletin Board Client interface and associated ProtoBufs.
Returned simple implementation of BulletinBoardClient.
Made ThreadedBulletinBoardClient extend SimpleBulletinBoardClient.
Fixed an issue in SQLite where identical Signatures could be added to the same message.
2015-12-14 23:14:52 +02:00
Arbel Deutsch Peled 4f2d0e7738 First working version of Threaded Bulletin Board Client.
Tests do not report well.
2015-12-12 22:45:31 +02:00
Arbel Deutsch Peled 520697d121 Added named parameters to the BulletinBoardSQLServer.
Added support for H2 SQL engine.
Further generalization of the BulletinBoardSQLServer.
2015-12-12 11:54:52 +02:00
Arbel Deutsch Peled 3de54f16a2 Created (untested version of) a Threaded Bulletin Board Client.
Overhauled Bulletin Board Client interface to accommodate this.
Deprecated the Simple Bulletin Board Client.
Made the path to the server methods generic (defined in the Constants class of the rest package).
2015-12-10 15:08:41 +02:00
Arbel Deutsch Peled 3f21f30f35 Added getSignerID method to signatures.
Added timing output for Server tests.
2015-12-08 09:11:22 +02:00
Arbel Deutsch Peled 679d18f4a2 Added BB client intergration test (broken)
Fixed MsgID retrieval in BB server
2015-12-06 20:33:45 +02:00
Arbel Deutsch Peled a31d88bd12 First implementation of simple BB Client 2015-12-05 14:25:02 +02:00
Arbel Deutsch Peled b6b234891a Merge branch 'Bulletin_Board_Server_phase_1'
Conflicts:
	bulletin-board-server/src/test/java/meerkat/bulletinboard/BulletinBoardServerTest.java
2015-12-05 11:47:58 +02:00
Arbel Deutsch Peled 2ff34355e4 Bulletin Board Server configuration support.
Bulletin Board Server signature testing.
2015-11-28 23:59:56 +02:00
Arbel Deutsch Peled a965193a75 Warning fixes 2015-11-24 08:59:45 +02:00
Tal Moran aa7dd779e1 ZK proof interfaces 2015-11-23 13:23:04 +02:00