Coder Social home page Coder Social logo

Comments (4)

glondu avatar glondu commented on July 17, 2024

When the election is archived (which is one week after tally), the administrator can download an archive. Did you notice it?

from belenios.

glondu avatar glondu commented on July 17, 2024

Note that the matching between each voters and their ballot fingerprint is not exported by design.

As far as I can tell, the aforementioned archive contains all the other data you're asking for. However, it does lack a report in human-readable form. Such report could be generated from the archive.

There used to be a button to manually archive an election, but it was removed in 35cb75e... Maybe it's worth reintroducing it, with more warnings to avoid people clicking on it by accident?

For now, you can force the archival of an election by using the basic (undocumented) admin UI:

I think your request is about the human-readable report... However, the cryptographic proofs are verbose and I don't see how they could be embedded in such a report. What do you envision?

from belenios.

ojob avatar ojob commented on July 17, 2024

Hello,
Thanks for the feedback! Indeed, my request was twofold:

  • self-contained package: I clearly missed the archive. I see that the .bel file seems complete, but in a specific format. Is there any rationale against a set of files, with one metafile summarizing the fingerprints?
  • the core of my request is indeed for a human-readable report. The crypto stuff could appear in appendix, or the other way around: the archive with fingerprints and cryptographic proofs would also contain the human-readable report, hence identifying it with its fingerprint.

I see no need for an early archival of the election, the webpage seems sufficient. The archive is for a longer term need.

Does this make sense? Could this be a feasible approach? I may be able to contribute somehow, at least for testing.

from belenios.

glondu avatar glondu commented on July 17, 2024

Is there any rationale against a set of files, with one metafile summarizing the fingerprints?

The .bel can be downloaded at any time (by e.g. belenios-tool), and a single file is easier to download and handle. Note that this file evolves in an append-only fashion. You can go back and forth between the .bel and the set of files, with tar -xf and belenios-tool archive make. This is done in the monitor_elections.py script.

Does this make sense? Could this be a feasible approach?

Yes. Concerning the cryptographic stuff, I think providing the hash of the Result event (i.e. the last one) in the human-readable report is sufficient, since it encompasses everything.

What I am thinking of is a new belenios-tool (sub-)command that would generate the public report from the .belย file. The report would be made available on the result page, and in the archive.zip file, but anybody could also re-generate it.

from belenios.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.