]> Git — Sourcephile - majurity.git/log
majurity.git
4 years agocli: use readElection to fix election_hash
Julien Moutinho [Thu, 15 Aug 2019 21:45:35 +0000 (21:45 +0000)]
cli: use readElection to fix election_hash

4 years agoprotocol: fix {encryt,verify}Ballot wrt. specs
Julien Moutinho [Thu, 15 Aug 2019 21:42:17 +0000 (21:42 +0000)]
protocol: fix {encryt,verify}Ballot wrt. specs

4 years agoprotocol: fix election_hash
Julien Moutinho [Thu, 15 Aug 2019 21:36:00 +0000 (21:36 +0000)]
protocol: fix election_hash

4 years agoprotocol: add command voter verify
Julien Moutinho [Wed, 14 Aug 2019 13:42:31 +0000 (13:42 +0000)]
protocol: add command voter verify

4 years agoprotocol: join JSON stanzas with newlines to avoid a bug in belenios-tool
Julien Moutinho [Mon, 5 Aug 2019 18:11:04 +0000 (18:11 +0000)]
protocol: join JSON stanzas with newlines to avoid a bug in belenios-tool

For instance, without newlines in public_keys.jsons,
belenios-tool would only consider the first trustee's public key
and silently drop the others…

4 years agoprotocol: add verification of trustees' public key
Julien Moutinho [Mon, 5 Aug 2019 18:08:31 +0000 (18:08 +0000)]
protocol: add verification of trustees' public key

4 years agoprotocol: align Proof on Belenios' (slower) calculus
Julien Moutinho [Mon, 5 Aug 2019 18:05:14 +0000 (18:05 +0000)]
protocol: align Proof on Belenios' (slower) calculus

4 years agoprotocol: align {To,From}JSON on Belenios' schemas.
Julien Moutinho [Mon, 5 Aug 2019 18:01:44 +0000 (18:01 +0000)]
protocol: align {To,From}JSON on Belenios' schemas.

4 years agoprotocol: add CLI.Voter
Julien Moutinho [Sun, 4 Aug 2019 09:13:29 +0000 (09:13 +0000)]
protocol: add CLI.Voter

4 years agoprotocol: fix ToJSON ElectionCrypto
Julien Moutinho [Mon, 22 Jul 2019 00:21:54 +0000 (00:21 +0000)]
protocol: fix ToJSON ElectionCrypto

4 years agocli: wrap help at 80
Julien Moutinho [Sun, 21 Jul 2019 19:08:14 +0000 (19:08 +0000)]
cli: wrap help at 80

4 years agocli: update to new symantic-cli
Julien Moutinho [Sun, 21 Jul 2019 16:01:08 +0000 (16:01 +0000)]
cli: update to new symantic-cli

4 years agocli: add administrator election
Julien Moutinho [Tue, 16 Jul 2019 00:31:28 +0000 (00:31 +0000)]
cli: add administrator election

4 years agoprotocol: polish doc
Julien Moutinho [Tue, 16 Jul 2019 00:28:18 +0000 (00:28 +0000)]
protocol: polish doc

4 years agoprotocol: polish ToJSON FFC
Julien Moutinho [Tue, 16 Jul 2019 00:28:00 +0000 (00:28 +0000)]
protocol: polish ToJSON FFC

4 years agocli: cabal: add synopsis and description
Julien Moutinho [Sun, 14 Jul 2019 16:10:18 +0000 (16:10 +0000)]
cli: cabal: add synopsis and description

4 years agocli: init registrar and trustee commands
Julien Moutinho [Sun, 14 Jul 2019 01:26:04 +0000 (01:26 +0000)]
cli: init registrar and trustee commands

4 years agoprotocol: use Belenios' JSON schema
Julien Moutinho [Fri, 12 Jul 2019 18:20:58 +0000 (18:20 +0000)]
protocol: use Belenios' JSON schema

4 years agoprotocol: change: bump cabal version
Julien Moutinho [Mon, 1 Jul 2019 21:36:01 +0000 (21:36 +0000)]
protocol: change: bump cabal version

4 years agoprotocol: add: hexHash
Julien Moutinho [Mon, 1 Jul 2019 21:34:27 +0000 (21:34 +0000)]
protocol: add: hexHash

4 years agoprotocol: fix: encode E as a JSON string
Julien Moutinho [Mon, 1 Jul 2019 21:16:36 +0000 (21:16 +0000)]
protocol: fix: encode E as a JSON string

4 years agoprotocol: add decodeBigEndian
Julien Moutinho [Mon, 24 Jun 2019 23:04:01 +0000 (23:04 +0000)]
protocol: add decodeBigEndian

4 years agomake: fix linting
Julien Moutinho [Sun, 23 Jun 2019 00:05:20 +0000 (00:05 +0000)]
make: fix linting

4 years agoprotocol: fix FFC JSON
Julien Moutinho [Sun, 23 Jun 2019 00:04:17 +0000 (00:04 +0000)]
protocol: fix FFC JSON

4 years agoprotocol: fix big-endian decoding
Julien Moutinho [Sun, 23 Jun 2019 00:03:34 +0000 (00:03 +0000)]
protocol: fix big-endian decoding

4 years agoprotocol: no change to Helios-C for the MJ
Julien Moutinho [Sun, 19 May 2019 13:57:21 +0000 (13:57 +0000)]
protocol: no change to Helios-C for the MJ

4 years agoprotocol: add {From,To}JSON instances
Julien Moutinho [Sun, 19 May 2019 00:51:34 +0000 (00:51 +0000)]
protocol: add {From,To}JSON instances

4 years agoprotocol: using ReaderT is not easier than Reifies
Julien Moutinho [Fri, 17 May 2019 15:26:58 +0000 (15:26 +0000)]
protocol: using ReaderT is not easier than Reifies

4 years agoprotocol: polish tally
Julien Moutinho [Tue, 14 May 2019 10:24:29 +0000 (10:24 +0000)]
protocol: polish tally

4 years agoprotocol: add Trustee.Indispensable
Julien Moutinho [Mon, 13 May 2019 18:45:37 +0000 (18:45 +0000)]
protocol: add Trustee.Indispensable

4 years agoprotocol: add encryptedTally
Julien Moutinho [Mon, 13 May 2019 00:09:24 +0000 (00:09 +0000)]
protocol: add encryptedTally

4 years agoprotocol: fix benchmark
Julien Moutinho [Mon, 13 May 2019 00:09:01 +0000 (00:09 +0000)]
protocol: fix benchmark

4 years agoprotocol: fix import in tests
Julien Moutinho [Sun, 12 May 2019 22:29:32 +0000 (22:29 +0000)]
protocol: fix import in tests

4 years agoprotocol: add preliminary support for trustees
Julien Moutinho [Sun, 12 May 2019 11:55:57 +0000 (11:55 +0000)]
protocol: add preliminary support for trustees

4 years agoprotocol: polish benchmarks
Julien Moutinho [Sun, 12 May 2019 11:55:03 +0000 (11:55 +0000)]
protocol: polish benchmarks

4 years agomove test/ to tests/
Julien Moutinho [Sun, 12 May 2019 00:03:10 +0000 (00:03 +0000)]
move test/ to tests/

4 years agoprotocol: add benchmarks
Julien Moutinho [Sat, 11 May 2019 23:43:39 +0000 (23:43 +0000)]
protocol: add benchmarks

4 years agoprotocol: add quickchecks
Julien Moutinho [Sat, 11 May 2019 23:39:13 +0000 (23:39 +0000)]
protocol: add quickchecks

4 years agomove to src/ and tests/
Julien Moutinho [Sat, 11 May 2019 23:38:28 +0000 (23:38 +0000)]
move to src/ and tests/

4 years agoprotocol: improve explanations
Julien Moutinho [Sat, 4 May 2019 01:06:54 +0000 (01:06 +0000)]
protocol: improve explanations

4 years agoprotocol: add utils to check lengths more easily
Julien Moutinho [Fri, 3 May 2019 00:55:34 +0000 (00:55 +0000)]
protocol: add utils to check lengths more easily

4 years agoprotocol: rename ErrorValidate -> ErrorVerify
Julien Moutinho [Thu, 2 May 2019 15:05:06 +0000 (15:05 +0000)]
protocol: rename ErrorValidate -> ErrorVerify

4 years agoprotocol: polish extensions
Julien Moutinho [Thu, 2 May 2019 15:04:39 +0000 (15:04 +0000)]
protocol: polish extensions

4 years agoprotocol: polish exports
Julien Moutinho [Thu, 2 May 2019 15:04:23 +0000 (15:04 +0000)]
protocol: polish exports

4 years agoprotocol: bump version to share the software
Julien Moutinho [Wed, 1 May 2019 19:05:34 +0000 (19:05 +0000)]
protocol: bump version to share the software

4 years agoprotocol: remove ErrorProve
Julien Moutinho [Wed, 1 May 2019 17:25:01 +0000 (17:25 +0000)]
protocol: remove ErrorProve

4 years agoprotocol: add FromNatural/ToNatural
Julien Moutinho [Wed, 1 May 2019 17:02:51 +0000 (17:02 +0000)]
protocol: add FromNatural/ToNatural

4 years agoprotocol: polish import of modules
Julien Moutinho [Wed, 1 May 2019 16:20:55 +0000 (16:20 +0000)]
protocol: polish import of modules

4 years agoprotocol: fix hash (remove last comma)
Julien Moutinho [Wed, 1 May 2019 16:20:16 +0000 (16:20 +0000)]
protocol: fix hash (remove last comma)

4 years agoprotocol: improve comments and variable names
Julien Moutinho [Wed, 1 May 2019 14:47:21 +0000 (14:47 +0000)]
protocol: improve comments and variable names

4 years agoprotocol: rename Proove -> Prove
Julien Moutinho [Tue, 30 Apr 2019 21:36:57 +0000 (21:36 +0000)]
protocol: rename Proove -> Prove

4 years agoprotocol: polish randomUUID
Julien Moutinho [Tue, 30 Apr 2019 21:36:24 +0000 (21:36 +0000)]
protocol: polish randomUUID

4 years agoprotocol: fix comments
Julien Moutinho [Tue, 30 Apr 2019 21:35:58 +0000 (21:35 +0000)]
protocol: fix comments

4 years agoprotocol: handle list length checks in the library
Julien Moutinho [Mon, 29 Apr 2019 02:34:03 +0000 (02:34 +0000)]
protocol: handle list length checks in the library

5 years agoprotocol: add key derivation
Julien Moutinho [Thu, 25 Apr 2019 23:11:58 +0000 (23:11 +0000)]
protocol: add key derivation

5 years agoprotocol: polish description
Julien Moutinho [Thu, 25 Apr 2019 21:18:11 +0000 (21:18 +0000)]
protocol: polish description

5 years agoprotocol: add MeasuredList.empty
Julien Moutinho [Thu, 25 Apr 2019 20:58:50 +0000 (20:58 +0000)]
protocol: add MeasuredList.empty

5 years agoprotocol: polish comments
Julien Moutinho [Thu, 25 Apr 2019 20:58:22 +0000 (20:58 +0000)]
protocol: polish comments

5 years agoprotocol: add Ballot
Julien Moutinho [Thu, 25 Apr 2019 00:15:41 +0000 (00:15 +0000)]
protocol: add Ballot

5 years agoprotocol: change F to be a Natural, not an Integer.
Julien Moutinho [Wed, 24 Apr 2019 21:50:32 +0000 (21:50 +0000)]
protocol: change F to be a Natural, not an Integer.

5 years agoprotocol: add Utils.{Constraint,Natural,MeasuredList}
Julien Moutinho [Wed, 24 Apr 2019 21:00:53 +0000 (21:00 +0000)]
protocol: add Utils.{Constraint,Natural,MeasuredList}

5 years agoprotocol: Fix Credential
Julien Moutinho [Mon, 22 Apr 2019 23:36:06 +0000 (23:36 +0000)]
protocol: Fix Credential

5 years agoprotocol: Rename {Arith -> Arithmetic}
Julien Moutinho [Mon, 22 Apr 2019 23:10:46 +0000 (23:10 +0000)]
protocol: Rename {Arith -> Arithmetic}

5 years agoprotocol: Fix Election
Julien Moutinho [Mon, 22 Apr 2019 22:57:01 +0000 (22:57 +0000)]
protocol: Fix Election

5 years agoprotocol: Fix Credential
Julien Moutinho [Mon, 22 Apr 2019 22:55:13 +0000 (22:55 +0000)]
protocol: Fix Credential

5 years agoprotocol: Fix Arith
Julien Moutinho [Mon, 22 Apr 2019 22:56:00 +0000 (22:56 +0000)]
protocol: Fix Arith

5 years agoprotocol: Add Election
Julien Moutinho [Sat, 20 Apr 2019 01:35:51 +0000 (01:35 +0000)]
protocol: Add Election

5 years agoprotocol: Add Credential
Julien Moutinho [Fri, 19 Apr 2019 00:40:21 +0000 (00:40 +0000)]
protocol: Add Credential

5 years agoprotocol: Add Arith
Julien Moutinho [Tue, 16 Apr 2019 15:41:19 +0000 (15:41 +0000)]
protocol: Add Arith

5 years agoPolish code
Julien Moutinho [Tue, 16 Apr 2019 15:37:48 +0000 (15:37 +0000)]
Polish code

5 years agoAdd HLint.hs symlinks
Julien Moutinho [Sun, 14 Apr 2019 23:44:33 +0000 (23:44 +0000)]
Add HLint.hs symlinks

5 years agoAdd majorityValueOfRank
Julien Moutinho [Sun, 14 Apr 2019 01:26:59 +0000 (01:26 +0000)]
Add majorityValueOfRank

5 years agoRemove useless OPTIONS
Julien Moutinho [Tue, 26 Feb 2019 11:19:16 +0000 (11:19 +0000)]
Remove useless OPTIONS

5 years agoFix typos in comments
Julien Moutinho [Thu, 21 Feb 2019 15:20:56 +0000 (15:20 +0000)]
Fix typos in comments

5 years agoFix Ord MajorityGauge
Julien Moutinho [Wed, 13 Feb 2019 20:29:10 +0000 (20:29 +0000)]
Fix Ord MajorityGauge

5 years agoAdd and test rankOfMajorityValue
Julien Moutinho [Mon, 11 Feb 2019 03:19:52 +0000 (03:19 +0000)]
Add and test rankOfMajorityValue

5 years agostack: bump to lts-12.25
Julien Moutinho [Sun, 23 Dec 2018 10:43:42 +0000 (10:43 +0000)]
stack: bump to lts-12.25

5 years agoFix ghcid support.
Julien Moutinho [Fri, 9 Nov 2018 12:08:40 +0000 (12:08 +0000)]
Fix ghcid support.

5 years agoImprove documentation.
Julien Moutinho [Mon, 29 Oct 2018 01:58:43 +0000 (01:58 +0000)]
Improve documentation.

5 years agoAdd MajorityGauge (old code though).
Julien Moutinho [Mon, 3 Sep 2018 03:57:11 +0000 (05:57 +0200)]
Add MajorityGauge (old code though).

5 years agoFix majorityValue: update the middlemost correctly.
Julien Moutinho [Mon, 3 Sep 2018 03:52:27 +0000 (05:52 +0200)]
Fix majorityValue: update the middlemost correctly.

5 years agoPolish documentation.
Julien Moutinho [Sat, 23 Jun 2018 14:20:42 +0000 (16:20 +0200)]
Polish documentation.

5 years agoAdd default section share at judgment level.
Julien Moutinho [Tue, 12 Jun 2018 02:18:20 +0000 (04:18 +0200)]
Add default section share at judgment level.

5 years agoPolissage Gnumakefile.
Julien Moutinho [Sun, 3 Jun 2018 14:10:19 +0000 (16:10 +0200)]
Polissage Gnumakefile.

5 years agoAdd support for multiple choices in Section.
Julien Moutinho [Tue, 29 May 2018 17:17:07 +0000 (19:17 +0200)]
Add support for multiple choices in Section.

5 years agoAdd Hjugement.Section.
Julien Moutinho [Fri, 25 May 2018 22:44:03 +0000 (00:44 +0200)]
Add Hjugement.Section.

5 years agoUse HashMap.
Julien Moutinho [Sat, 19 May 2018 11:30:34 +0000 (13:30 +0200)]
Use HashMap.

6 years agoMassage hjugement.cabal.
Julien Moutinho [Wed, 14 Feb 2018 00:33:22 +0000 (01:33 +0100)]
Massage hjugement.cabal.

6 years agoBump stack resolver to lts-9.0.
Julien Moutinho [Mon, 14 Aug 2017 23:11:08 +0000 (01:11 +0200)]
Bump stack resolver to lts-9.0.

6 years agoFix doc.
Julien Moutinho [Mon, 14 Aug 2017 23:10:28 +0000 (01:10 +0200)]
Fix doc.

6 years agoFix tar GNUmakefile target.
Julien Moutinho [Tue, 8 Aug 2017 07:04:27 +0000 (09:04 +0200)]
Fix tar GNUmakefile target.

6 years agoFix doc.
Julien Moutinho [Tue, 8 Aug 2017 06:52:09 +0000 (08:52 +0200)]
Fix doc.

6 years agoinit
Julien Moutinho [Tue, 1 Aug 2017 19:40:10 +0000 (21:40 +0200)]
init