How electronic voting systems work
Most U.S. voting equipment falls into three families. Ballot marking devices (BMDs) help a voter make selections on a screen or with assistive controls, then print a paper ballot the voter reviews and casts. Optical scanners read hand-marked or machine-marked paper ballots and tally them. Direct-recording electronic (DRE) machines record selections electronically, and most models in use today also print a voter-verifiable paper record.
Behind the hardware sits a chain of software and process: ballot definition files that describe every contest, firmware that runs the device, tabulation software that aggregates results, and a reporting layer that publishes them. Good practice separates these steps, uses tested builds, logs every access, and keeps the paper record as the authoritative artifact when a result is questioned.
- Many jurisdictions keep tabulation systems off the public internet and move results on removable media under chain-of-custody procedures.
- Equipment is generally tested before use with a logic and accuracy test that confirms the machine counts a known set of ballots correctly.
- Paper records are what make a recount or audit possible. Systems without a paper trail cannot be independently re-checked.
Digital identity and authentication
Voting depends on knowing that the person in front of the ballot is the person on the registration list, and that each person votes once. In person, that check happens at the polling place using a signature, an address, an identification document, or a combination, depending on state law. In a digital system, the same check becomes an identity and authentication problem: proving who someone is, and proving the credential they present has not been stolen or forged.
Election officials are the authoritative source of registration records. A digital system would have to bind a credential to that record without creating a new, error-prone national identity database, and without exposing voter data that states currently keep private. Multi-factor authentication, hardware tokens, and digital signatures raise the bar, but each one shifts the problem to enrollment, replacement, and recovery: how does a voter who loses a device, moves, or is impersonated get help without weakening the system for everyone else?
- Authentication answers who you are; authorization answers what you may do. Voting systems need both, separately.
- Remote identity proofing is the hardest part of any internet voting proposal, and it is not solved by an app.
- Any credential system must handle voters who have no smartphone, no reliable broadband, or no government identification.
End-to-end verifiability
A voting system is end-to-end verifiable (E2E-V) when it provides evidence for three separate claims: that the ballot was recorded as the voter intended (cast-as-intended), that the recorded ballot was not altered afterward (recorded-as-cast), and that all recorded ballots were included in the tally (counted-as-recorded). Each claim needs its own mechanism, and a system that provides only one is not end-to-end verifiable.
E2E-V designs typically give the voter a cryptographic receipt, publish encrypted ballots to a public bulletin board, and let any observer check that the published set matches the tally. Voters can confirm their receipt appears, without the receipt revealing how they voted. Independent audits then check a random sample of paper records against the electronic tally. The goal is evidence that a third party can examine, not a promise that the software is honest.
- Verifiability is about evidence, not trust: a system that only its vendor can inspect is not verifiable.
- Paper remains the strongest anchor for a recount, even in systems with cryptographic proofs.
- Verifiability does not by itself prove that every voter was eligible or that each person voted only once.
Ballot secrecy
The secret ballot protects voters from coercion and vote buying. Any digital design has to preserve it while still producing a record that can be audited. That is a genuine tension: a receipt detailed enough to prove how a ballot was counted is also detailed enough to prove to a buyer how someone voted.
Practical designs separate the voter's identity from the ballot at the moment of casting, use ballot styles that group many voters together so a single ballot cannot be traced back to a small set of people, and shape receipts so they confirm inclusion without revealing content. In very small precincts, or in remote voting where a ballot is cast from home, secrecy is harder to guarantee regardless of the technology.
- Ballot secrecy is a legal requirement in every state, not a design preference.
- A verification receipt must be checkable by the voter and useless to anyone trying to buy or coerce a vote.
- Remote voting moves coercion risk from the polling place to the household, which no software can fully remove.
Encryption fundamentals
Encryption protects data in transit and at rest. Symmetric encryption uses one shared key for locking and unlocking; asymmetric encryption uses a public key to encrypt and a private key to decrypt, and can also create digital signatures that prove a file was not altered. Voting systems use all three, usually wrapped in standard protocols such as TLS for network traffic.
The hard part is key management. Keys must be generated in a trustworthy environment, stored in hardware security modules or offline media, rotated on schedule, split among multiple officials so no single person controls them, and destroyed when retired. Encryption also has limits: it cannot fix a compromised endpoint, a malicious insider with legitimate access, or software that mis-tallies ballots before anything is encrypted.
- Encryption protects confidentiality and integrity, not availability. A denial-of-service attack does not need to break a cipher.
- Digital signatures are how a system proves a result file or ballot definition was not changed after certification.
- Lost or shared keys are a bigger real-world risk than broken cryptography.
Cybersecurity threats
Election infrastructure was designated critical infrastructure in 2017, and the threat picture is well documented: phishing that steals administrator credentials, ransomware that locks registration or reporting systems, supply-chain compromise of software updates, insider misuse of legitimate access, and denial-of-service attacks on public results sites. Disinformation is also a threat, because it can undermine confidence even when the count is sound.
Defenses are unglamorous and effective: asset inventories, patching, network segmentation, least-privilege access, multi-factor authentication, offline backups, monitoring, and rehearsed incident response. Paper ballots and pre-election logic and accuracy testing provide a fallback when technology fails. Transparency helps too, since the public can only judge a system it is allowed to inspect.
- Most documented intrusions begin with credentials, not with breaking encryption.
- Recovery matters as much as prevention: backups and paper records are what keep an election running.
- Election offices publish security guidance and incident resources through CISA and the EAC.
Independent election audits
An audit is a check on the count after the fact. A canvass reconciles every ballot issued, cast, and counted. A procedural audit checks that officials followed the required steps. A risk-limiting audit (RLA) draws a random sample of paper ballots, compares them to the reported tally, and expands the sample until there is strong statistical evidence that the reported outcome is correct, or until a full recount is warranted.
Independent observation, published audit procedures, and open reporting are what give an audit its credibility. Audits can catch tabulation errors, misconfigured contests, and some forms of tampering. They cannot detect a ballot cast by an ineligible voter, which is why audits and eligibility checks are separate controls rather than substitutes.
- Risk-limiting audits are the current best practice for checking a reported outcome against paper.
- Audits require a paper record and a trustworthy chain of custody for that paper.
- Publishing the sample, the seed, and the results lets anyone re-check the audit's math.
Accessibility
The Help America Vote Act of 2002 requires at least one accessible voting system at every polling place in a federal election, with the same opportunity for privacy and independence as other voters. Accessible systems offer audio ballots, tactile controls, sip-and-puff or switch inputs, screen magnification, and adjustable displays. Federal law also requires language assistance in covered jurisdictions.
Digital tools can improve access: remote ballot marking lets some voters with disabilities mark a ballot at home using their own assistive technology, then return it through an established channel. Each convenience introduces a tradeoff in secrecy, authentication, or auditability, and those tradeoffs should be stated plainly rather than hidden behind a feature list.
- Accessibility is a legal requirement, not an optional enhancement.
- Accessible ballot marking devices still produce a paper record in most jurisdictions.
- Designs should be tested with voters who actually use assistive technology, not only against a checklist.
Remote voting challenges
Remote voting is already routine by mail. Internet voting, where a ballot is marked and returned over a network, is a different problem. The voter's own device may be infected with malware that alters the ballot after the voter confirms it. Authentication is harder without an official present. Ballot secrecy is difficult to guarantee in a home setting, and a denial-of-service attack can block the deadline for thousands of voters at once.
Some jurisdictions offer electronic ballot delivery and return for military and overseas voters under the Uniformed and Overseas Citizens Absentee Voting Act, with additional safeguards and, in some cases, a waiver of the secrecy requirement. No state currently runs binding internet voting open to the general electorate for a federal election, and the technical consensus is that the risks are not yet solved at scale.
- The core risk is the voter's device, which no election office controls or can verify.
- Availability is a security property: a system that can be knocked offline on Election Day has failed voters.
- Mail voting is not risk-free either, but it leaves a paper trail that can be audited and recounted.
Regulatory and certification considerations
Voting equipment in the United States is certified at two levels. The U.S. Election Assistance Commission publishes the Voluntary Voting System Guidelines, and accredited Voting System Test Laboratories test equipment against them. States then run their own certification programs, which vary widely in scope, and some require additional testing or public review before a system can be used.
Certification covers functionality, accuracy, security, accessibility, and documentation, but it is a snapshot, not a guarantee for the life of the machine. Jurisdictions still need configuration control, post-certification change review, logic and accuracy testing before each election, and a process for decertifying or retiring equipment. Procurement, contracts, and vendor transparency determine how much of that is actually enforceable.
- The VVSG are voluntary federal guidelines; state law determines what is required locally.
- Any change to certified software should trigger review, or the certification no longer describes what runs on the machine.
- Public access to certification reports and source-code review agreements is a live policy debate.
Notice: PATRIOT provides educational information about digital voting technology. PATRIOT does not conduct official elections, register votes, or accept legally binding election ballots.
No ballot is cast through PATRIOT, and no vote is counted here. To vote, use your state's official ballot, in person, by mail, or early, as your state allows. PATRIOT is an independent, nonpartisan education platform. It is not a government agency, is not affiliated with any election office, and does not determine voter eligibility. Creating a PATRIOT account does not register you to vote.