1. 02 Mar, 2016 1 commit
  2. 25 Feb, 2016 1 commit
  3. 08 Feb, 2016 1 commit
  4. 27 Jan, 2016 2 commits
  5. 20 Jan, 2016 1 commit
  6. 13 Jan, 2016 1 commit
  7. 19 Nov, 2015 2 commits
  8. 17 Jul, 2015 1 commit
  9. 15 Jul, 2015 1 commit
  10. 03 Jul, 2015 3 commits
  11. 17 Jun, 2015 1 commit
  12. 16 Apr, 2015 1 commit
  13. 10 Apr, 2015 1 commit
  14. 09 Apr, 2015 1 commit
  15. 19 Mar, 2015 1 commit
  16. 05 Aug, 2014 1 commit
  17. 30 May, 2014 1 commit
  18. 16 Apr, 2014 1 commit
    • Stephane Glondu's avatar
      Move some platform-specific functions to a new module · 5d4fc819
      Stephane Glondu authored
      Add module Platform: single interface to functions that depend on the
      runtime. For now, the native (existing one), and a dummy one that
      constitutes a skeleton for the js one.
      
      All calls to Cryptokit, Z, Calendar (which depends on Unix) in the
      command-line tool now go through this module.
      5d4fc819
  19. 03 Apr, 2014 1 commit
  20. 25 Mar, 2014 2 commits
    • Stephane Glondu's avatar
      More consistent "open" directives · 531bbeb1
      Stephane Glondu authored
      In each directory, always open in the following order:
       1. third-party libraries
       2. serializable
       3. signatures
       4. common
      
      Also, always open modules from lib/* before. This order is reflected
      in *.mllib files.
      
      Additionally, open more frequently serialization modules.
      531bbeb1
    • Stephane Glondu's avatar
      Rename Util into Common · 81b7a183
      Stephane Glondu authored
      81b7a183
  21. 24 Mar, 2014 2 commits
  22. 21 Mar, 2014 1 commit
    • Stephane Glondu's avatar
      Big overhaul of election management · 66e7b8ca
      Stephane Glondu authored
      Summary:
       - WEB_ELECTION gets a new submodule of type ELECTION_SERVICES
       - per-election services do no longer take UUID as a param, but are
         registered at a path containing it
       - no more ESIndex, election home service is back
       - inline some submodules of SITE_SERVICES, drop ALL_SERVICES
       - rename old SITE_SERVICES into CORE_SERVICES
       - move election-specific templates to a new ELECTION_TEMPLATES; the
         templates in the new signature do not longer take an "election"
         argument but TEMPLATES.Election is a functor that takes a
         WEB_ELECTION and returns an ELECTION_TEMPLATES
       - adapt the booth to the new path layout
      
      Additional changes:
       - merge VOTING_SERVICES into ELECTION_SERVICES
       - inline {SITE,AUTH}_TEMPLATES into TEMPLATES
       - all templates take a final () argument to emphasize their impurity
      66e7b8ca
  23. 19 Mar, 2014 2 commits
  24. 18 Mar, 2014 2 commits
    • Stephane Glondu's avatar
      Simplification of the web_election type · 261865eb
      Stephane Glondu authored
      Now, everything needed by the web server to handle an election is
      bundled into a module of type WEB_ELECTION which is passed around
      everywhere.
      261865eb
    • Stephane Glondu's avatar
      Changes in metadata handling · 789b20c1
      Stephane Glondu authored
       - metadata is specific to web, move it there
       - create Web_serializable, and also move randomness there
       - metadata is not optional (but its components can be)
       - rename user_type into user_domain
       - serializable version of ACLs
      789b20c1
  25. 07 Mar, 2014 1 commit
    • Stephane Glondu's avatar
      Handle configuration locally in each auth system · 05bc228a
      Stephane Glondu authored
      Summary:
       - move rewrite_prefix to Web_common
       - each auth system now has an $init function that registers its
         configuration spec and an $exec function to Auth_common
       - an auth system may support multiple instances via configuration;
         user_type is specific to each instance
       - when parsing is done, each $exec is called with an $instantiate
         callback; $exec is supposed to call $instantiate for each instance
      
      TODO:
       - default fallback when there are several instances
       - generic login should do security_log
       - auth system instances should not set user_type themselves
       - it should not be possible to login twice
       - admin login
       - update doc
      05bc228a
  26. 04 Mar, 2014 1 commit
    • Stephane Glondu's avatar
      Move authentication-related stuff to its own module · 07dbc36d
      Stephane Glondu authored
      This is preliminary work to make the authentication system more
      flexible. This big refactoring should be semantically equivalent to
      the previous commit.
      
      Summary:
       - create Auth_common and Web_signatures
       - split Web_election out of Web_common (to cut dep cycle)
       - move service definitions out of Services
       - functorize Templates
      07dbc36d
  27. 26 Feb, 2014 2 commits
    • Stephane Glondu's avatar
      Rename BALLOT_BOX into MONADIC_MAP_RO · d8467999
      Stephane Glondu authored
      It is used for ballots as well as records...
      d8467999
    • Stephane Glondu's avatar
      BALLOT_BOX: remove records, add receipts · 02259d1f
      Stephane Glondu authored
      A record (i.e. who voted, when and with which credential in the
      context of the web server) is a notion that does not exist in the
      cryptographic protocol and does not really make sense in the context
      of the command-line tool.
      
      By the way, we add the notion of receipt which, in the context of the
      web server, is the ballot hash computed by the server.
      
      Bonus: when a ballot is accepted, we compute its hash only once.
      02259d1f
  28. 07 Jan, 2014 1 commit
  29. 25 Nov, 2013 1 commit
  30. 20 Nov, 2013 2 commits