Hai Brenner
e9732561f4
Removed the last dependency on the obsolete SystemMessages class.
...
This dependency was left by mistake.
We now read all the system messages of the VB from a protobuf file
using the StorageManager component.
2016-06-21 15:35:42 +03:00
Hai Brenner
19deec00bb
a change of variable name to suggest its insignificance
2016-06-20 16:15:41 +03:00
Hai Brenner
559c714aac
testing was changed according to the new interface of storage manager
2016-06-20 15:27:39 +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
Hai Brenner
94f3920e6d
Many fixes, some are still only in temporary phase, according to what Arbel told me to do so far.
2016-05-23 14:43:01 +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
Hai Brenner
e042779b15
Initial code for the Voting Booth.
...
Still missing components:
1. An implementation of the encryptor (currently program crashes when trying to encrypt the PlaintextBallot)
2. The output device implementation should change to a runnable thread (with commands queue as the ui)
Also needs to add comments EVERYWHERE.
2016-05-04 17:46:05 +03:00
Hai Brenner
d1bc0d7c84
Some small changes according to code review
2016-03-18 10:22:05 +02:00
Hai Brenner
0fa5d4094a
yet another take on the VB interfaces.
...
Interfaces were now shortened even more.
Many changes were made according to Arbel's instructions.
Most important change is now that the controller passes ALL questions for UI
to ask voter, instead of chunks of questions and back-and-forth messages
between the controller and UI which were always quite redundant.
2016-03-13 15:35:58 +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
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
Tal Moran
e8e511d9ce
Move to public version of qilin
2015-12-16 18:16:12 +02:00
Tal Moran
9e4a206742
re-adding required gradle files
2015-12-16 18:15:53 +02:00
Arbel Deutsch Peled
79d29a05d3
Working version of ThreadedBulletinBoardClient.
...
The integration test also passes with SQLite and MySQL engines.
2015-12-14 09:45:40 +02:00
Arbel Deutsch Peled
bfc62cd77c
Slight enhancement to Server performance.
2015-12-12 23:18:32 +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
13733e6610
Successful full-project build.
...
Still untested Bulletin Board Client.
2015-12-12 13:12:35 +02:00
Arbel Deutsch Peled
975ad340be
Bulletin Board Server WebApp support for MySQL and H2 engines.
2015-12-12 12:36:00 +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
76c5e6681f
Made SQL Servers generic.
...
Added MySQL Server and test.
Added partial H2 Server code.
2015-12-09 14:47:18 +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
0b847dcaf4
Added a new version of the BB Server that allows for search of messages containing multiple tags and/or signatures.
...
Added tests for both Server types.
2015-12-08 08:17:30 +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
cbe3b5c765
Update to gradle 2.9
2015-11-23 16:29:43 +02:00
Tal Moran
aa7dd779e1
ZK proof interfaces
2015-11-23 13:23:04 +02:00
Tal Moran
ed28e2eb1b
Fixed bulletin-board server tests (use temporary db instead of assuming one exists at specific path)
2015-11-23 09:25:49 +02:00
Tal Moran
ad121a7bfd
Merged encryption and signature work from crypto-primitives
2015-11-23 02:20:17 +02:00
Tal Moran
9bcdb411e2
Added deterministic version of signature generation (suitable for use in voting booth); improved signature tests
2015-11-23 02:06:53 +02:00
Arbel Deutsch Peled
dbf5727cee
Added Some unit tests and fixed several bugs.
2015-11-22 23:36:24 +02:00
Tal Moran
984d7457c6
Bug fixes; Encryption/Rerandomization tests pass
2015-11-22 23:24:27 +02:00
Arbel Deutsch Peled
3837b0c53e
Merge branch 'master' of https://cs.idc.ac.il/rhodecode/meerkat/meerkat-java into Bulletin_Board_Server_phase_1
2015-11-22 18:42:35 +02:00
Arbel Deutsch Peled
4cc0f968da
Merge branch 'master' of https://cs.idc.ac.il/rhodecode/meerkat/meerkat-java into Bulletin_Board_Server_phase_1
2015-11-22 18:35:10 +02:00
Tal Moran
46de34fbfb
Started implementing encryption tests -- don't yet work
2015-11-22 18:09:51 +02:00
Tal Moran
c76724f599
Interim merge for branch 'master' into crypto-primitives
2015-11-22 15:50:32 +02:00
Tal Moran
8200f08da0
Add configuration for test dependencies between subprojects
2015-11-22 15:31:51 +02:00
Tal Moran
d3c8e150bd
Added more signature examples
2015-11-22 14:05:28 +02:00
Arbel Deutsch Peled
03f1c3d483
Slight change to Message API
2015-11-22 12:22:21 +02:00
Tal Moran
b8cc3feedb
EC encryption code; compiles but not tested
2015-11-22 03:16:35 +02:00
Arbel Deutsch Peled
c68eba84d2
Refactored into WebApp and Server
2015-11-20 21:59:45 +02:00
Arbel Deutsch Peled
a6afb74893
Added filters and DB reading functionality.
...
Also added signer IDs and multiple signatures (on same message) to schema.
2015-11-20 21:40:45 +02:00
Arbel Deutsch Peled
47edf0df34
Working version of Bulletin Board Server + refactoring of Bulletin Board ProtoBufs + successful integration test
2015-11-17 22:27:01 +02:00
Arbel Deutsch Peled
15859391a1
Merge remote-tracking branch 'origin/signature-implementation' into Bulletin_Board_Server_phase_1
2015-11-17 20:21:40 +02:00
Tal Moran
7bb9172707
Moved SQL test to test source set; integration tests now appear to work
2015-11-17 00:29:41 +02:00