FreeAndFair / dvl

The Digital Voter List system—experiments in electronic poll books for Denmark.
Other
6 stars 2 forks source link

Station remembers manager public key/address if Manager press "Anuller" when trying to connect to a station #6

Open hyllekilde opened 11 years ago

hyllekilde commented 11 years ago

If a station types in the proper password during a public key-exchange, but the manager cancels, then the station will have the manager's address and public key, but not the other way around. This will make the following public key-exchange requests fail unless you re-create the station.

This can probably be solved by having a ready-state when the key-exchange is done. If the key-exchange didn't execute successfully, the stations shouldn't save the public key.