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

4 Коммитов

Автор SHA1 Сообщение Дата
Matt Wilhelm 1344f24b13 Feature/external ballot id (#53)
* Add String ballot id.  Add support for loading ballot files

refactor the testapp to reflect the current api sample in the C-Implementation

* Specify export path for tests

* remove commented out code

* fix pr feedback

* increment version
2020-02-05 10:29:25 -05:00
Pamela Vong df65c313a3 (WIP) Implement C API (#40)
* Implement C API entry point to create election; removed obsolete KeyCeremony logic; Fixes first step in unit tests (commented out rest of tests that need to be changed to support new payloads); Introduce test console app for easier debugging with C library

* Turn off tests since C library doesnt have updated release with API entry

* Implement freeing unmanaged bytes at end of method

* updated submodule; fix comments

* Refactor Create Election to static method; Renamed API to ElectionGuardAPI; Set up ElectionGuardConfig for shared persisted data; update test and test app; Add entry and return model for C API's EncryptBallot method

* Refactor/fix EncryptBallot api; Update test app; Clean up unmanaged memory

* Update VotingAndEncryption unit tests

* Fix Random ballot generator; Fix EncryptBallot array of selections to pass array of unsigned shorts since booleans aren't blittable types and the array is not a fixed size

* Implement RecordBallots API in C# Wrapper; Implement tests; Refactor/Cleanup obsolete implementations

* More refactoring - consolidating all exposed static wrapper methods in Election.cs, mark everything inside ElectionGuardAPI for internal use only

* Apply changes to get outputed filename from RecordBallot API

* Implement TallyVotes usage in C# wrapper and add/update tests

* Use byte instead of unsigned short for selections

* Apply commented out version of selections array with multple true values
2020-02-05 10:29:25 -05:00
Keith Fung 665cc3ad38 🚀 Nuget Package (#24)
* 🔧 Scripts to manage electionguard

- Script to get electionguard release
- Script to migrate electionguard local build
- Update projects

*  Reduce Test

Tests were flooding due to repeated nunit test in KeyCeremony. Simplified to the simple election which is the only constant test. Temporarily ignored tests hingeing on release of file methods.

* 🚀 Update Pull Request Workflow

Simplify and remove blocks on tests

* Update Product to match Project

* 🔧 Package Workflow

Workflow to commit nuget package
2020-02-05 10:29:25 -05:00
microsoft-github-operations[bot] 352923b065
Initial commit 2019-10-03 17:57:02 +00:00