@brianhonan that’s one of the problems. Other problems include how do you know that the software on the voters’ devices is correctly reporting their vote to the server? How do you assure against malware running on the voters’ devices altering their votes? How do you do a convincing recount or audit in the event of an error or dispute? How do you know the person voting with someone’s credentials is actually the person assigned the credentials?
Etc.
All hard, unsolved problems.