]>
Git — Sourcephile - majurity.git/log
Julien Moutinho [Wed, 6 Nov 2019 20:39:10 +0000 (20:39 +0000)]
cli: admin: directly use election_hash
Julien Moutinho [Tue, 5 Nov 2019 03:13:22 +0000 (03:13 +0000)]
protocol: split Election module and improve Version
Julien Moutinho [Sat, 2 Nov 2019 23:35:22 +0000 (23:35 +0000)]
protocol: use Purescript's algebra hierarchy
Julien Moutinho [Thu, 31 Oct 2019 15:23:36 +0000 (15:23 +0000)]
protocol: bring c from the method level to the class level
Julien Moutinho [Wed, 30 Oct 2019 00:57:55 +0000 (00:57 +0000)]
protocol: work around to avoid ConstraintKinds
NOTE: in the hope to keep the Haskell code
as close as possible to the (future) PureScript code.
Julien Moutinho [Wed, 30 Oct 2019 00:28:03 +0000 (00:28 +0000)]
protocol: replace reifyCrypto by groupDict
Julien Moutinho [Mon, 28 Oct 2019 21:22:17 +0000 (21:22 +0000)]
protocol: replace F by G
Julien Moutinho [Mon, 28 Oct 2019 16:07:26 +0000 (16:07 +0000)]
protocol: add Version and abstract over FFC
Julien Moutinho [Fri, 16 Aug 2019 13:03:54 +0000 (13:03 +0000)]
protocol: no padding for Base64SHA256.
See: https://lists.gforge.inria.fr/pipermail/belenios-discuss/2019-August/000044.html
Julien Moutinho [Thu, 15 Aug 2019 22:32:53 +0000 (22:32 +0000)]
protocol: polish imports
Julien Moutinho [Thu, 15 Aug 2019 21:51:59 +0000 (21:51 +0000)]
protocol: bump versions
Julien Moutinho [Thu, 15 Aug 2019 21:45:35 +0000 (21:45 +0000)]
cli: use readElection to fix election_hash
Julien Moutinho [Thu, 15 Aug 2019 21:42:17 +0000 (21:42 +0000)]
protocol: fix {encryt,verify}Ballot wrt. specs
Julien Moutinho [Thu, 15 Aug 2019 21:36:00 +0000 (21:36 +0000)]
protocol: fix election_hash
Julien Moutinho [Wed, 14 Aug 2019 13:42:31 +0000 (13:42 +0000)]
protocol: add command voter verify
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…
Julien Moutinho [Mon, 5 Aug 2019 18:08:31 +0000 (18:08 +0000)]
protocol: add verification of trustees' public key
Julien Moutinho [Mon, 5 Aug 2019 18:05:14 +0000 (18:05 +0000)]
protocol: align Proof on Belenios' (slower) calculus
Julien Moutinho [Mon, 5 Aug 2019 18:01:44 +0000 (18:01 +0000)]
protocol: align {To,From}JSON on Belenios' schemas.
Julien Moutinho [Sun, 4 Aug 2019 09:13:29 +0000 (09:13 +0000)]
protocol: add CLI.Voter
Julien Moutinho [Mon, 22 Jul 2019 00:21:54 +0000 (00:21 +0000)]
protocol: fix ToJSON ElectionCrypto
Julien Moutinho [Sun, 21 Jul 2019 19:08:14 +0000 (19:08 +0000)]
cli: wrap help at 80
Julien Moutinho [Sun, 21 Jul 2019 16:01:08 +0000 (16:01 +0000)]
cli: update to new symantic-cli
Julien Moutinho [Tue, 16 Jul 2019 00:31:28 +0000 (00:31 +0000)]
cli: add administrator election
Julien Moutinho [Tue, 16 Jul 2019 00:28:18 +0000 (00:28 +0000)]
protocol: polish doc
Julien Moutinho [Tue, 16 Jul 2019 00:28:00 +0000 (00:28 +0000)]
protocol: polish ToJSON FFC
Julien Moutinho [Sun, 14 Jul 2019 16:10:18 +0000 (16:10 +0000)]
cli: cabal: add synopsis and description
Julien Moutinho [Sun, 14 Jul 2019 01:26:04 +0000 (01:26 +0000)]
cli: init registrar and trustee commands
Julien Moutinho [Fri, 12 Jul 2019 18:20:58 +0000 (18:20 +0000)]
protocol: use Belenios' JSON schema
Julien Moutinho [Mon, 1 Jul 2019 21:36:01 +0000 (21:36 +0000)]
protocol: change: bump cabal version
Julien Moutinho [Mon, 1 Jul 2019 21:34:27 +0000 (21:34 +0000)]
protocol: add: hexHash
Julien Moutinho [Mon, 1 Jul 2019 21:16:36 +0000 (21:16 +0000)]
protocol: fix: encode E as a JSON string
Julien Moutinho [Mon, 24 Jun 2019 23:04:01 +0000 (23:04 +0000)]
protocol: add decodeBigEndian
Julien Moutinho [Sun, 23 Jun 2019 00:05:20 +0000 (00:05 +0000)]
make: fix linting
Julien Moutinho [Sun, 23 Jun 2019 00:04:17 +0000 (00:04 +0000)]
protocol: fix FFC JSON
Julien Moutinho [Sun, 23 Jun 2019 00:03:34 +0000 (00:03 +0000)]
protocol: fix big-endian decoding
Julien Moutinho [Sun, 19 May 2019 13:57:21 +0000 (13:57 +0000)]
protocol: no change to Helios-C for the MJ
Julien Moutinho [Sun, 19 May 2019 00:51:34 +0000 (00:51 +0000)]
protocol: add {From,To}JSON instances
Julien Moutinho [Fri, 17 May 2019 15:26:58 +0000 (15:26 +0000)]
protocol: using ReaderT is not easier than Reifies
Julien Moutinho [Tue, 14 May 2019 10:24:29 +0000 (10:24 +0000)]
protocol: polish tally
Julien Moutinho [Mon, 13 May 2019 18:45:37 +0000 (18:45 +0000)]
protocol: add Trustee.Indispensable
Julien Moutinho [Mon, 13 May 2019 00:09:24 +0000 (00:09 +0000)]
protocol: add encryptedTally
Julien Moutinho [Mon, 13 May 2019 00:09:01 +0000 (00:09 +0000)]
protocol: fix benchmark
Julien Moutinho [Sun, 12 May 2019 22:29:32 +0000 (22:29 +0000)]
protocol: fix import in tests
Julien Moutinho [Sun, 12 May 2019 11:55:57 +0000 (11:55 +0000)]
protocol: add preliminary support for trustees
Julien Moutinho [Sun, 12 May 2019 11:55:03 +0000 (11:55 +0000)]
protocol: polish benchmarks
Julien Moutinho [Sun, 12 May 2019 00:03:10 +0000 (00:03 +0000)]
move test/ to tests/
Julien Moutinho [Sat, 11 May 2019 23:43:39 +0000 (23:43 +0000)]
protocol: add benchmarks
Julien Moutinho [Sat, 11 May 2019 23:39:13 +0000 (23:39 +0000)]
protocol: add quickchecks
Julien Moutinho [Sat, 11 May 2019 23:38:28 +0000 (23:38 +0000)]
move to src/ and tests/
Julien Moutinho [Sat, 4 May 2019 01:06:54 +0000 (01:06 +0000)]
protocol: improve explanations
Julien Moutinho [Fri, 3 May 2019 00:55:34 +0000 (00:55 +0000)]
protocol: add utils to check lengths more easily
Julien Moutinho [Thu, 2 May 2019 15:05:06 +0000 (15:05 +0000)]
protocol: rename ErrorValidate -> ErrorVerify
Julien Moutinho [Thu, 2 May 2019 15:04:39 +0000 (15:04 +0000)]
protocol: polish extensions
Julien Moutinho [Thu, 2 May 2019 15:04:23 +0000 (15:04 +0000)]
protocol: polish exports
Julien Moutinho [Wed, 1 May 2019 19:05:34 +0000 (19:05 +0000)]
protocol: bump version to share the software
Julien Moutinho [Wed, 1 May 2019 17:25:01 +0000 (17:25 +0000)]
protocol: remove ErrorProve
Julien Moutinho [Wed, 1 May 2019 17:02:51 +0000 (17:02 +0000)]
protocol: add FromNatural/ToNatural
Julien Moutinho [Wed, 1 May 2019 16:20:55 +0000 (16:20 +0000)]
protocol: polish import of modules
Julien Moutinho [Wed, 1 May 2019 16:20:16 +0000 (16:20 +0000)]
protocol: fix hash (remove last comma)
Julien Moutinho [Wed, 1 May 2019 14:47:21 +0000 (14:47 +0000)]
protocol: improve comments and variable names
Julien Moutinho [Tue, 30 Apr 2019 21:36:57 +0000 (21:36 +0000)]
protocol: rename Proove -> Prove
Julien Moutinho [Tue, 30 Apr 2019 21:36:24 +0000 (21:36 +0000)]
protocol: polish randomUUID
Julien Moutinho [Tue, 30 Apr 2019 21:35:58 +0000 (21:35 +0000)]
protocol: fix comments
Julien Moutinho [Mon, 29 Apr 2019 02:34:03 +0000 (02:34 +0000)]
protocol: handle list length checks in the library
Julien Moutinho [Thu, 25 Apr 2019 23:11:58 +0000 (23:11 +0000)]
protocol: add key derivation
Julien Moutinho [Thu, 25 Apr 2019 21:18:11 +0000 (21:18 +0000)]
protocol: polish description
Julien Moutinho [Thu, 25 Apr 2019 20:58:50 +0000 (20:58 +0000)]
protocol: add MeasuredList.empty
Julien Moutinho [Thu, 25 Apr 2019 20:58:22 +0000 (20:58 +0000)]
protocol: polish comments
Julien Moutinho [Thu, 25 Apr 2019 00:15:41 +0000 (00:15 +0000)]
protocol: add Ballot
Julien Moutinho [Wed, 24 Apr 2019 21:50:32 +0000 (21:50 +0000)]
protocol: change F to be a Natural, not an Integer.
Julien Moutinho [Wed, 24 Apr 2019 21:00:53 +0000 (21:00 +0000)]
protocol: add Utils.{Constraint,Natural,MeasuredList}
Julien Moutinho [Mon, 22 Apr 2019 23:36:06 +0000 (23:36 +0000)]
protocol: Fix Credential
Julien Moutinho [Mon, 22 Apr 2019 23:10:46 +0000 (23:10 +0000)]
protocol: Rename {Arith -> Arithmetic}
Julien Moutinho [Mon, 22 Apr 2019 22:57:01 +0000 (22:57 +0000)]
protocol: Fix Election
Julien Moutinho [Mon, 22 Apr 2019 22:55:13 +0000 (22:55 +0000)]
protocol: Fix Credential
Julien Moutinho [Mon, 22 Apr 2019 22:56:00 +0000 (22:56 +0000)]
protocol: Fix Arith
Julien Moutinho [Sat, 20 Apr 2019 01:35:51 +0000 (01:35 +0000)]
protocol: Add Election
Julien Moutinho [Fri, 19 Apr 2019 00:40:21 +0000 (00:40 +0000)]
protocol: Add Credential
Julien Moutinho [Tue, 16 Apr 2019 15:41:19 +0000 (15:41 +0000)]
protocol: Add Arith
Julien Moutinho [Tue, 16 Apr 2019 15:37:48 +0000 (15:37 +0000)]
Polish code
Julien Moutinho [Sun, 14 Apr 2019 23:44:33 +0000 (23:44 +0000)]
Add HLint.hs symlinks
Julien Moutinho [Sun, 14 Apr 2019 01:26:59 +0000 (01:26 +0000)]
Add majorityValueOfRank
Julien Moutinho [Tue, 26 Feb 2019 11:19:16 +0000 (11:19 +0000)]
Remove useless OPTIONS
Julien Moutinho [Thu, 21 Feb 2019 15:20:56 +0000 (15:20 +0000)]
Fix typos in comments
Julien Moutinho [Wed, 13 Feb 2019 20:29:10 +0000 (20:29 +0000)]
Fix Ord MajorityGauge
Julien Moutinho [Mon, 11 Feb 2019 03:19:52 +0000 (03:19 +0000)]
Add and test rankOfMajorityValue
Julien Moutinho [Sun, 23 Dec 2018 10:43:42 +0000 (10:43 +0000)]
stack: bump to lts-12.25
Julien Moutinho [Fri, 9 Nov 2018 12:08:40 +0000 (12:08 +0000)]
Fix ghcid support.
Julien Moutinho [Mon, 29 Oct 2018 01:58:43 +0000 (01:58 +0000)]
Improve documentation.
Julien Moutinho [Mon, 3 Sep 2018 03:57:11 +0000 (05:57 +0200)]
Add MajorityGauge (old code though).
Julien Moutinho [Mon, 3 Sep 2018 03:52:27 +0000 (05:52 +0200)]
Fix majorityValue: update the middlemost correctly.
Julien Moutinho [Sat, 23 Jun 2018 14:20:42 +0000 (16:20 +0200)]
Polish documentation.
Julien Moutinho [Tue, 12 Jun 2018 02:18:20 +0000 (04:18 +0200)]
Add default section share at judgment level.
Julien Moutinho [Sun, 3 Jun 2018 14:10:19 +0000 (16:10 +0200)]
Polissage Gnumakefile.
Julien Moutinho [Tue, 29 May 2018 17:17:07 +0000 (19:17 +0200)]
Add support for multiple choices in Section.
Julien Moutinho [Fri, 25 May 2018 22:44:03 +0000 (00:44 +0200)]
Add Hjugement.Section.
Julien Moutinho [Sat, 19 May 2018 11:30:34 +0000 (13:30 +0200)]
Use HashMap.
Julien Moutinho [Wed, 14 Feb 2018 00:33:22 +0000 (01:33 +0100)]
Massage hjugement.cabal.
Julien Moutinho [Mon, 14 Aug 2017 23:11:08 +0000 (01:11 +0200)]
Bump stack resolver to lts-9.0.