Voting machines should have simple, easy to understand code. It should be posted publicly for review by both parties and the general public 90 days before the election. They should NOT have a network interface card of any type. They should be certified by both parties prior to any election that only the approved software update is on the machine. The USB for software updates should be double locked behind a door on the device. A member from each party should have a key. A USB should also be used for vote count extraction. The USB stick should have two party integrity at all times, double locked.
Hashed values should be used to verify software loaded onto these devices verifying it is the approved software.
Two party accountability at a minimum should be employed when reporting vote counts. All votes should have a paper receipt, one for the voter, and one for the recount box for backup.
10 % of all voting machines should have a QC check at every election. If the values don't match, all votes should be recounted by hand. All Voting machines should be under video surveillance and security alarmed at all times to ensure no tampering occurs during off hours.
Recounts should only be cancelled if both parties agree to do so.
Huge fines and prison times should apply to anyone who violates protocol. It isn't hard to have election security. This is BULLSHIT.