lexicongovernance / pluraltools-backend

Backend implementation of the plural voting tool.
https://demo.lexicongovernance.org/
GNU General Public License v3.0
3 stars 1 forks source link

Generate a mnemonic as a secret #348

Closed MartinBenediktBusch closed 3 months ago

MartinBenediktBusch commented 3 months ago

This PR changes the way the secret gets generated by replacing the string of random numbers with a randomly generated nemonic like fish-honey-beer. Currently, the base list of words used for the generation is stored in the backend itself. I am not sure whether this is the best way of storing in but for me it seems secure as the base list is not somethign that must be keep a secret. However, it is important that nobody can temper with the list.

It will look like this:

secret