Граф коммитов

14 Коммитов

Автор SHA1 Сообщение Дата
Ethan Chumley cc2b1be05a
Deprecation Notice (#89) 2020-06-15 12:40:40 -04:00
Keith Fung 539b6bd20a
📄 Update Readme (#79) 2020-02-05 10:25:01 -05:00
Matt Wilhelm d9dd0a1037 Support external_ballot_identifer as a string (#71)
* Support external_ballot_identifer as a string.  Export/import ballots from encrypter

Add support for encrypter to export ballots to the file system.  Import encrypter ballots into coordinator.  Add a hashtable implementation that tracks ballot cast/spoil state against the external identifier (ballot_collection.c).  Support loading ballots into a buffer.  

Fix memory leaks in bignum.c, crypto.c, decryption/coordinator.c, decryption/trustee.c, voting/coordinator.c, voting/encrypter.c, etc.

Rework the API example to demonstrate the new external id and file system changes.

Improve debug logging.  Add more api documentation.  Modify MAX_BALLOT_PAYLOAD to 2000.  Explicitly add // TODO: to track remaining work.

Note this commit is a work in progress and currently breaks the simple example.

* Remove Simple Example, add api doc stubs

Add stubs for the api documentation.  Remove the simple example and use the api sample in the PR pipeline workflow

* Fix Merge Issue

* Verify malloc success

* Address PR Feedback

* Fix LGTM alerts

* Add soft delete of encrypter files

* Free CP Proof

* Fix windows Makefile

* test fix pr workflow on windows

* use secure api's

* explicitly compile release

* flush file write before read

* clean up makefile

* Document consumers resonsible for free

when calling an api that generates a filename as an out parameter, the caller is responsible for managing the memory of the out parameter when the call is successful

* Rename static coordinators in API to differentiate local vars

add an underscore prefix to static coordinator instance handles to differentiate vars until #62 is complete

* add new enum cases to the end on voting coordinator

* Add convenience logging

* Handle error cases on file access

use convenience logging

* use consistent file formatting when rebuilding tracker string

* optimize null check

* explicitly set tracker array positions to NULL on failure

* Reformat refactor Decryption_Coordinator_receive_share

* guard tallies_initialized when freeing resources

explicitly initialize num_tallies

* rename _encrypted_ballot_count

* don't return early

* do not fail soft delete if rename fails

* fix assignment

* adjust number of ballots to force a rebuild
2020-01-28 09:44:07 -05:00
Keith Fung a609890fae ♻ Rename Release Workflow (#31)
Release workflow and the badge needs to be renamed.
2019-12-02 16:07:22 -05:00
Keith Fung b1873e2b5b 📝Update ReadMe and Contributing file
- ReadMe now has badges and includes a link to contributing file for new OSS devs. 
- release-workflow now exists
Test


Test
2019-11-01 10:23:17 -04:00
Joey Dodds 75a2e66b80 Threshold Decryption
Implement threshold decryption
Threshold decryption proofs generate and check
Changed to 256 bit subgroup used in the spec
Addressed decryption DoS
Removed asserts from proof checks

Co-Authored-By: Dragan Stosic <dragan.stosic@gmail.com>
2019-10-29 09:47:47 -04:00
Justin Leet e72dfd423e README spelling cleanup 2019-09-25 11:44:46 -04:00
ElectionGuard a254f4af4b Updating Readme 2019-09-24 13:59:26 -07:00
ElectionGuard 0b30d4044d Updating Windows build details 2019-09-24 13:54:07 -07:00
Joey Dodds 488b7513dc
zero knowledge proof implementation 2019-09-24 13:23:05 -07:00
Ethan Chumley ba83e2de1b
Update README.rst 2019-09-24 12:29:29 -07:00
ElectionGuard 5bbaad0441 Updating Readme 2019-09-24 11:54:04 -07:00
Daniel Wagner e666de2826
initial cryptography implementation 2019-09-24 06:50:02 -07:00
Jake Waksbaum 647510887e
documentation and API design 2019-09-24 06:47:31 -07:00