cryptovote
1.0.0
同型加密单一可转让投票选举的Web界面。
要通过Web界面运行选举,请运行以下命令:
cd cryptovote
pip install -r requirements.txt
python -m flask run在最初运行Web界面之前,应将文件.env.example复制到名为.env的新文件中,并设置了所需值。另请注意,Chrome似乎是唯一支持DNS分辨率用于Localhost子域的浏览器,因此,用于开发铬的浏览器必须用于使用子域的站点的部分。 Furthermore, webauthn requires that the domain being used has at least two parts (ie two strings separated by a period), so be sure to use a development root server name that looks something like cryptovote.localhost:5000 instead of just localhost:5000 Finally, if actually deployed on a non-localhost server HTTPS must be used in order for WebAuthn to work.