glondu / belenios

Verifiable online voting system. This is a mirror of https://gitlab.inria.fr/belenios/belenios
https://www.belenios.org
GNU Affero General Public License v3.0
131 stars 20 forks source link

"belenios-tool validate" reverses partial decryptions #38

Closed hwellmann closed 2 years ago

hwellmann commented 3 years ago

According to belenios-tool validate --help

The result structure contains partial decryptions itself, so partial_decryptions.jsons can be discarded afterwards.

The output result.json does contain the partial decryptions, but in reverse order, compared to partial_decryptions.jsons.

Is this intentional?

glondu commented 3 years ago

Indeed, I confirm the code does what you observe.

Actually, the order of partial decryptions should not matter.