CNIL and ANSSI: what Scrutalis does, recommendation by recommendation
The CNIL, the French data protection authority, classifies electronic votes into three risk levels and sets security objectives for each; the ANSSI, the French national cybersecurity agency, breaks them down into 74 recommendations. Here, one by one, is what Scrutalis has in place and the risk it removes. Nothing is hidden: what is not yet fully met is marked “In progress” or “Not yet”, with what is missing, and what depends on the organiser or the host is stated as such. The ANSSI cryptographic guide is covered in the last part, topic by topic.
Level 1 — the baseline required for every vote
The minimum that any secret-ballot electronic vote must guarantee, whatever the size of the organisation.
CNIL objectives
- What Scrutalis does.
- Each version is analysed before release: known flaws in the components used (release is blocked in case of a serious flaw), code quality and security analysis, automated tests, penetration test. No known major flaw is open, and the solution is deployed according to its installation and operations guide.
- What this prevents.
- A flaw published in a component is not left ignored in production.
- What Scrutalis does.
- Validation of the ballot, its deposit in the ballot box and the voter’s entry in the register are recorded together: either everything is recorded, or nothing. A receipt is then emailed to the voter.
- What this prevents.
- It is impossible to have a voter marked as having voted without a ballot in the box, or a ballot without a register entry.
- What Scrutalis does.
- Each voter receives a personal single-use link. The organiser can additionally require a code sent by email or text message. A code requested again arrives through the same channel as the first.
- What this prevents.
- An intercepted link is not enough to vote when the code is required, and a link can only be used once.
- What Scrutalis does.
- The choice is encrypted in the voter’s browser, before anything is sent. Scrutalis only receives an encrypted ballot and a mathematical proof of its validity.
- What this prevents.
- The choice never travels in clear, neither on the network nor on our servers.
- What Scrutalis does.
- All exchanges go through an encrypted connection (HTTPS enforced), and the ballot travels already encrypted by the browser.
- What this prevents.
- No one on the network can read or alter a ballot on its way.
- What Scrutalis does.
- Ballots, already encrypted by the browser, are encrypted a second time with AES-256-GCM before being stored (in line with the ANSSI-PG-083 guide, § 2.1.2.1), and chained to each other by their SHA-256 fingerprints until counting.
- What this prevents.
- A stolen copy of the database only yields unreadable ballots, and an altered ballot shows.
- What Scrutalis does.
- The voter register and the ballot box are separate. The register only records “has voted”, without a time; the ballot box contains neither the voter nor the time of casting. No audit log entry links a person to their ballot, and the email sent after voting does not contain the confirmation code. At closing, the voter register is rewritten to erase the order in which the database had recorded the votes. During the vote, direct access to the database server is forbidden except in an incident, and every access is logged.
- What this prevents.
- No table links a ballot to a voter, whether by an identifier, a time or the order of records: neither the organiser nor a database backup can reveal who voted for what.
- What Scrutalis does.
- The decryption key is shared among at least three guardians appointed for the vote. A minimum number of them, at least two, must submit their share to obtain the result.
- What this prevents.
- Neither the organiser alone, nor a single guardian, nor Scrutalis alone can count the votes.
- What Scrutalis does.
- The result is only computed after closing, on the whole ballot box. Ballots are added up without being opened, and only the total is decrypted.
- What this prevents.
- No one can learn a trend during the vote, nor the content of a ballot.
- What Scrutalis does.
- Just before opening, the server checks that the ballot box and the voter register are empty and that each file of the software, its configuration and the site matches its reference fingerprint, computed at release. Otherwise the vote does not open and Scrutalis is alerted. The opening recorded in the log states that the ballot box was empty and gives the fingerprint of the system in service, published for each version on the “Version fingerprints” page. During the vote, the system is checked again every 15 minutes along with the ballot box. This check is performed by the server itself: it is the comparison with the published fingerprint that makes it verifiable from the outside. Version fingerprints
- What this prevents.
- A vote opens neither on a ballot box that is already filled, nor on software modified after its release.
- What Scrutalis does.
- Each action is recorded in a log where each entry is linked to the previous one. The ballots form a public chain. The official record is sealed at closing and anyone can check its authenticity on our site.
- What this prevents.
- A deleted entry, a removed ballot or an altered official record is detected.
- What Scrutalis does.
- The shares submitted by the guardians are erased as soon as the result is computed. The vote’s data is deleted 365 days after its final closing.
- What this prevents.
- Once the result is published, no ballot can be decrypted any more, even with full access to the servers.
ANSSI recommendations
- What Scrutalis does.
- The installation and operations guide for the servers and the usage procedures for the organiser and the polling committee (key ceremony, checks, counting) are written. They are available on request.
- What this prevents.
- A sensitive step is not improvised on the day of the vote.
- Who handles it.
- The organiser, if they have the solution adapted to their needs. Scrutalis does no client-specific development.
- What this prevents.
- An addition specific to one client does not bypass the solution’s controls.
- What Scrutalis does.
- The mechanisms have been audited and comply with the ANSSI guide on the choice and sizing of cryptographic mechanisms (ANSSI-PG-083, version 3.00 of 20 March 2026). Ballots encrypted with ElGamal in a 4,096-bit group whose subgroup has a 256-bit prime order (rule RègleLogDiscretGFp and recommendation RecoLogDiscretGFp, § 2.2.1.2: at least 3,072 bits and a prime order of at least 250 bits). SHA-256 fingerprints (RègleHachage, § 2.1.4: at least 256 bits). HMAC-SHA-256, cited as compliant (§ 2.1.3). Storage encrypted with AES-256-GCM, with a fresh random initialisation vector for each encryption (RègleTailleCléSym, § 2.1.1; RègleModeChiff and RecoModeChiff, § 2.1.2.1, where AES-GCM is cited as compliant). Randomness drawn from the system’s cryptographic generator, on the server as in the browser. In the browser, each draw is also combined (exclusive or) with fresh randomness sent by the server, which is never kept: if the browser’s generator were faulty, a third party who later obtained the encrypted ballots or the guardians’ data could not recover their randomness. This combination does not protect against Scrutalis, which knows the randomness it sends: against Scrutalis, security rests on the browser’s generator. Like any mechanism based on the discrete logarithm, ElGamal offers no post-quantum security (§ 2.2.1.2), which the guide recommends aiming for when use extends beyond 2030 (RecoSécuLongTerme, § 2). The details, topic by topic, are in the last part of this page.
- What this prevents.
- Encryption does not rely on weak, home-made or undersized algorithms.
- What Scrutalis does.
- The map of the voting system’s components, their versions and their exchanges is kept up to date. It is available on request.
- What this prevents.
- No component escapes updates and checks.
- What Scrutalis does.
- At each release, the server and browser components are checked against public vulnerability databases; a serious flaw blocks the release.
- What this prevents.
- A known vulnerable component does not reach production.
- What Scrutalis does.
- The voting system as a whole has undergone an independent audit, in addition to the internal penetration test and the analyses carried out at each release.
- What this prevents.
- A weakness the vendor has not seen is searched for by an outside eye.
- What Scrutalis does.
- Checking the ballot, depositing it in the ballot box, chaining and recording in the register are done in a single operation; the receipt is sent afterwards.
- What this prevents.
- A vote is never left half-recorded.
- What Scrutalis does.
- After voting, the voter receives by email a receipt attesting to their participation, with nothing from their ballot: the confirmation code is only given to them on screen.
- What this prevents.
- The receipt proves that one has voted, without revealing for what.
- Who handles it.
- The organiser, if they impose an external identity provider. Scrutalis does not use one: each voter authenticates with their personal link and, at the organiser’s choice, a code.
- What this prevents.
- The security of the vote does not depend on an uncontrolled third-party identity service.
- What Scrutalis does.
- Each voter receives a link specific to this vote and, where applicable, a single-use code specific to this vote.
- What this prevents.
- A secret stolen for another service does not allow voting.
- What Scrutalis does.
- The voting link and the codes are only kept as fingerprints, never in clear; a code accepts five attempts, and attempts are blocked after three codes have been used up. The code opens a voting session that closes after 30 minutes of inactivity: the voter is warned 2 minutes before and can stay connected, otherwise a new code is requested. Nothing of this session is kept.
- What this prevents.
- A copy of the database gives no usable voting link, guessing a code is impractical, and a computer left open no longer allows someone to vote in the voter’s place.
- What Scrutalis does.
- Links are sent through an encrypted email relay (TLS); the text message only carries a single-use code, valid for a few minutes, never a link. Retention of messages at these providers is kept as short as possible and their deletion is provided for by contract; available on request.
- What this prevents.
- A link or a code does not remain readable at an intermediary.
- What Scrutalis does.
- Not applicable at Scrutalis: no secret is sent by paper mail.
- What this prevents.
- No envelope containing a secret can be intercepted.
- What Scrutalis does.
- A voter, a guardian or a team member who has not received their code requests another one, through the same channel, in a limited number per hour: only the last code sent is accepted, the previous ones no longer work. Reminding a guardian sends them a new link, which replaces the old one. Changing an account’s email address notifies the old address; enabling or disabling two-factor authentication, using a backup code to sign in or generating new ones notifies the person by email.
- What this prevents.
- Requesting a new code does not become a way to take the voter’s place.
- What Scrutalis does.
- Before the vote, the organiser corrects a participant’s email or mobile number, and each change is logged. During the vote, only the account owner, with two-factor authentication, can request a correction, and it only takes effect with a guardian’s approval. The old link then stops working, a new one is sent to the new address, the old address is notified, and both the request and the guardian’s decision are recorded in the log.
- What this prevents.
- No one can single-handedly divert a voter’s link by changing their address, and the voter is notified.
- What Scrutalis does.
- The choice is encrypted in the browser. The voter and guardian pages allow no resource from outside Scrutalis, not even audience measurement: the browser itself would refuse them. The choice is never stored in the browser and the page forgets it as soon as the ballot is cast; the encryption nonce only exists for the time it takes to encrypt. As a web page cannot overwrite memory itself, it is then the browser that frees it.
- What this prevents.
- No third-party service sees the voter’s choice pass by.
- What Scrutalis does.
- Before voting, the page checks the browser, without sending anything to the server. If it cannot encrypt the ballot, voting is not offered there and the voter is asked to change browser. If it seems old or driven by a program, the voter is warned and can vote. Debugging mode cannot be detected reliably and is not looked for.
- What this prevents.
- A voter on an unsuitable or suspicious device is warned before voting.
- What Scrutalis does.
- ElGamal with validity proofs computed in the browser and checked by the server before any ballot is cast.
- What this prevents.
- Two identical ballots do not look alike, and an encrypted ballot cannot be turned into another one.
- What Scrutalis does.
- ElectionGuard’s ElGamal encryption makes it possible to add up ballots without opening them and to share the key with a threshold.
- What this prevents.
- No ballot needs to be decrypted one by one.
- What Scrutalis does.
- Not applicable at Scrutalis: there is no indirect vote, so no marked ballot.
- What this prevents.
- No marking of a ballot can be used to identify it.
- What Scrutalis does.
- The ballot’s journey, from the browser to the ballot box, is described step by step: it is encrypted in the browser and is never readable on the way. This description is available on request.
- What this prevents.
- No intermediate step sees the ballot in clear, and this can be checked.
- What Scrutalis does.
- HTTPS is enforced everywhere, with HSTS and strict security headers. Only TLS 1.2 and TLS 1.3 are accepted, and in TLS 1.2 only suites with ephemeral keys and authenticated encryption, as recommended by the ANSSI TLS guide.
- What this prevents.
- The browser cannot be downgraded to a weak connection.
- What Scrutalis does.
- The web server and the voting software communicate on the same machine, without crossing the network. In production, exchanges with the database and with document storage are encrypted.
- What this prevents.
- Eavesdropping on the internal network yields nothing.
- What Scrutalis does.
- Each ballot carries proofs that it contains a valid choice; the server rejects any ballot with a false proof.
- What this prevents.
- A rigged ballot, which would count several votes, is refused.
- What Scrutalis does.
- A vote is only confirmed once recorded, and the database is replicated to a second site. Backups are made and their restoration is tested regularly; the procedure is available on request.
- What this prevents.
- A server failure does not make a ballot disappear.
- What Scrutalis does.
- During an open vote, no direct access to the database is allowed except in an incident, and each access is logged with the list of open votes. Server administration is reserved for named, authorised people, using keys; any intervention is declared and an undeclared restart is reported.
- What this prevents.
- No one can tamper with the ballot box by bypassing the application.
- What Scrutalis does.
- Ballots are chained by their fingerprints, and the chain is public.
- What this prevents.
- Modifying, removing or inserting a ballot breaks the chain.
- What Scrutalis does.
- Neither the ballot box nor the voter register keeps the time of a vote; the physical order of records is erased at closing.
- What this prevents.
- Matching the time of a vote with the time of a sign-in reveals nothing.
- What Scrutalis does.
- The encrypted ballots are added up, and only the total is decrypted.
- What this prevents.
- No individual ballot is ever opened.
- What Scrutalis does.
- The encryption nonce stays in the browser and is never shown, kept or sent: the ballot only contains ciphertexts and proofs that reveal nothing of the choice, and the same choice gives a different ballot each time. The confirmation code and the receipt do not reveal the choice. As with any vote encrypted in the browser, a voter who modified their browser’s software could keep this nonce.
- What this prevents.
- A voter cannot sell their vote or be forced to show it.
- What Scrutalis does.
- At least three guardians and a threshold of at least two. For each vote, the number of guardians and the threshold are published with the public register of ballots, and the official record states the threshold and the guardians who took part in the count.
- What this prevents.
- Losing one share does not prevent counting, and a single share is not enough.
- What Scrutalis does.
- Scrutalis offers to protect the guardians’ keys with a passphrase; the organiser turns it on when creating the vote. Each guardian then chooses their passphrase when accepting their role: their browser encrypts their private key with it, and Scrutalis only receives this encrypted key, never the passphrase. Without the option, the guardian keeps their key in a file they save.
- What this prevents.
- A hacked mailbox does not yield a usable share.
- What Scrutalis does.
- The link that lets a guardian submit their share only exists after closing, and each share received or refused is logged. After several refused shares in less than an hour, the guardian’s submission is blocked, and the organiser, the guardians and Scrutalis are alerted.
- What this prevents.
- An early count is impossible, and an attempt to count with false shares does not go unnoticed.
- What Scrutalis does.
- Two builds of the same code with the same tools give identical software, byte for byte: server and application pages. A rebuild procedure is available: it lets an expert rebuild a version from its code and find the published fingerprints of that version.
- What this prevents.
- Anyone can check, on request, that the installed software matches the audited code.
- What Scrutalis does.
- At each release, the SHA-256 fingerprint of each installed file (software, configuration, site) is computed in a manifest. The server checks them again at each vote opening and every 15 minutes during the vote; anyone can also check them on the server with the sha256sum command.
- What this prevents.
- Software or configuration modified on the server is detected.
- What Scrutalis does.
- Every 15 minutes during the vote: as many ballots as register entries, complete ballots, intact chain, intact log. A seal freezes this check at closing.
- What this prevents.
- A ballot added, removed or modified without a register entry is spotted during the vote.
- What Scrutalis does.
- A chained log, which the organiser can check, with no ballot or secret, feeds the automatic checks and alerts (ballot box, integrity, repeated access attempts). Technical logs contain no ballot, share, code or link: addresses are masked and an unreadable request is never copied into them. The logs of the system, the web server and the database are analysed continuously by monitoring, with alerts.
- What this prevents.
- Abnormal behaviour leaves a usable trace.
- What Scrutalis does.
- Key ceremony, opening, closing, counting, codes and declared maintenance interventions are logged. Each new version of the system put into service during the vote is detected by the server and recorded in the log, with its fingerprint, published on the “Version fingerprints” page.
- What this prevents.
- Each step of the vote, and each change to the software during the vote, can be traced.
- What Scrutalis does.
- Wrong codes, lockouts, refused shares, ballot box anomalies, a broken system seal and repeated access attempts are recorded in the vote’s log. Each refused vote is too, with only its reason, without saying who voted. A service interruption of more than 5 minutes is detected when the service returns, and a saturation (many requests refused in a short time) during the vote: both are recorded in the log of each open vote and reported to the Scrutalis team.
- What this prevents.
- An attack on the secrecy or integrity of the vote does not go unnoticed.
- What Scrutalis does.
- As the decryption is verifiable, a recount no longer requires bringing the guardians together: the ballot box export contains each encrypted ballot and its proof, the encrypted total and the proofs of its decryption. Anyone can redo the total and check the published result, without any secret.
- What this prevents.
- A disputed result can be recomputed, by a third party and at any time.
Level 2 — reinforced oversight
For votes with higher stakes: a polling committee monitors the vote, and both the voter and the organiser can check the ballot box during and after the vote.
CNIL objectives
- What Scrutalis does.
- The service runs on several servers: the voting software is redundant, the database is replicated and the state of the servers is monitored, with alerts. A load test (ANSSI R41) showed that a single test server absorbs 6 votes per second on one vote, without errors; production has several.
- What this prevents.
- A hardware failure must not interrupt the vote.
- What Scrutalis does.
- During the vote, every 15 minutes, Scrutalis checks that there are as many ballots as voters recorded in the register, that each ballot is complete, that the chain of ballots has not been modified and that the vote’s log is intact. The guardians, who form the polling committee, see the result. Nothing is decrypted: only numbers and fingerprints are compared.
- What this prevents.
- A ballot added, removed or modified without a matching register entry is spotted during the vote, not afterwards.
- What Scrutalis does.
- The guardians, with their personal “Check the vote” link, and the organiser can run the ballot box check at any time; it is recorded in the log under the name of whoever ran it. The training material for the polling committee on these tools is available on request.
- What this prevents.
- The polling committee does not have to wait for the automatic check to be sure of the ballot box.
- What Scrutalis does.
- An anomaly in the ballot box or the log, and three people of the same vote locked out after refused attempts within less than an hour, are recorded in the log and alert the organiser, the guardians and Scrutalis by email. The organisation’s log is checked along with the ballot box as long as one of its votes is open. Maintenance interventions are declared and recorded in the vote’s log, without email.
- What this prevents.
- A falsification, a repeated access attempt or an intervention on the system does not go unnoticed.
- What Scrutalis does.
- Each vote has its own encryption key, its own guardians and its own ballot box, and the database isolates each organisation. The account owner, with two-factor authentication, can suspend voting in one vote by giving a reason, without affecting the others: no vote is then accepted, voters see it, the team and the guardians are notified, and both the suspension and the resumption are recorded in the log; the closing date does not change. The separation remains logical: votes share the same servers.
- What this prevents.
- An incident on one vote does not compromise the others, and an affected vote can be stopped while it is examined.
- What Scrutalis does.
- The service runs with restricted rights on hardened servers, behind an encrypted connection and strict security headers. The full hardening of the servers is documented and available on request; physical security is the host’s responsibility.
- What this prevents.
- A flaw in the operating system or the network does not lead directly to the ballot box.
- What Scrutalis does.
- After voting, the voter receives a confirmation code. They can find it in the vote’s public register of ballots, which contains no identity, during the vote and until the end of the appeal period.
- What this prevents.
- A ballot set aside or replaced would be noticed by its author.
- What Scrutalis does.
- Scrutalis offers to require a code in addition to the personal link; the organiser turns it on when creating the vote, by email or by text message, the only mode that separates the two secrets as ANSSI requires. The creation screen shows the security level of each option. Five attempts per code, attempts blocked for 15 minutes after three codes are used up.
- What this prevents.
- Guessing a code or using a forwarded link becomes impractical.
- What Scrutalis does.
- Scrutalis is based on ElectionGuard, an open and publicly documented encryption protocol, and our technical page explains how it works. The full specification of our implementation (messages exchanged, ceremonies, trust model) is available on request.
- What this prevents.
- Security does not rely on a manufacturing secret: it can be examined.
ANSSI recommendations
- What Scrutalis does.
- A load test replays a real vote: 2,500 voters open their link and cast an encrypted ballot, with its proofs, at a rate of 6 votes per second on the same vote (21,600 votes per hour). Result: no error, all ballots accepted and chained, a response in under 0.7 seconds for 95% of requests (0.12 seconds median). Measured on a single test server (6 cores) that also hosts the database; production, with several servers, has not been measured this way.
- What this prevents.
- A rush of voters at the end of the vote is absorbed: at this rate, 5,000 employees vote in less than a quarter of an hour.
- What Scrutalis does.
- In production, several voting software servers behind a load balancer, and a replicated database.
- What this prevents.
- The failure of a server does not stop the vote.
- What Scrutalis does.
- Production servers are monitored, with alerts to the operations team.
- What this prevents.
- A failure is known and handled without waiting for a voter to report it.
- What Scrutalis does.
- The number of requests is limited per address and per person, the size of uploads is capped, and a web application firewall blocks malicious requests and addresses flooding the server upstream. The host’s network also protects against distributed denial-of-service attacks.
- What this prevents.
- A massive flood of requests does not bring the service down.
- What Scrutalis does.
- At closing, a seal freezes the state of the ballot box, and the official record carries a seal that can be checked on our site. The application and its configuration are sealed by their reference fingerprints, whose overall fingerprint is published for each version.
- What this prevents.
- A modification of the ballot box, the result, the application or its configuration is detected.
- What Scrutalis does.
- The application seals and the ballot box are checked at fixed times, and also at a moment drawn at random in each quarter of an hour: each server then rechecks its own files. A discrepancy is an anomaly recorded in the log, and the organiser, the guardians and Scrutalis are alerted.
- What this prevents.
- A temporary modification, made between two predictable checks, can be spotted.
- What Scrutalis does.
- Administrative access to the servers is monitored, with alerts to the operations team. The set-up is documented and available on request.
- What this prevents.
- Unusual administrative access is spotted.
- What Scrutalis does.
- The guardians form the polling committee. At opening, each receives a personal “Check the vote” link, which opens with a code received by email. During the vote, they see the result of the automatic ballot box check there and read the vote’s log. They never see a voter’s choice.
- What this prevents.
- People independent of the organiser can see for themselves that the vote is intact.
- What Scrutalis does.
- The organiser and the guardians read the log and can check its chain. They can also export it for a third party, with the fingerprints of each entry, so that the third party can check the chain themselves; each export is recorded in the log. Participants’ actions only appear in it through their date, type and fingerprints. The description of events is available on request.
- What this prevents.
- An outside expert can audit how the vote was conducted.
- What Scrutalis does.
- A guardian, from “Check the vote”, or the organiser, from the vote’s space, runs the ballot box check; it is recorded in the log under their name.
- What this prevents.
- The polling committee checks the ballot box when it decides to.
- What Scrutalis does.
- An anomaly in the ballot box or the log alerts, once per vote, the organiser, the guardians and Scrutalis. When three people of the same vote are locked out after refused attempts within less than an hour, the same people are alerted, at most once a day, without anyone being named. Scrutalis is also alerted when failed sign-ins multiply on the platform.
- What this prevents.
- A falsification or a series of impersonation attempts is reported immediately.
- What Scrutalis does.
- Scrutalis declares each maintenance intervention, with its reason, when it starts and ends; it is recorded in the log of each open vote, which the organiser and the guardians read, and the Scrutalis team is alerted by email. A restart of the service without a declared intervention is detected, recorded in the log of each open vote and reported in the same way.
- What this prevents.
- No intervention on the system during the vote, declared or not, goes unnoticed.
- What Scrutalis does.
- Each vote has its keys, its guardians and its ballot box, and the database isolates each organisation. The account owner can suspend voting in a single vote, without affecting the others (level 2, 2-05).
- What this prevents.
- An incident on one vote does not reach another.
- What Scrutalis does.
- Content security policy, HSTS, protected cookies, code quality and security analyses at each release, internal penetration test and independent audit of the system.
- What this prevents.
- Common web flaws (injection, cross-site scripting) are ruled out by design.
- What Scrutalis does.
- The voting software runs without privileges, in a restricted environment (read-only system, no memory dump). The hardening of the operating system is documented and available on request.
- What this prevents.
- A flaw in the software does not give control of the server.
- What Scrutalis does.
- Access to the servers is personal and logged, and direct access to the database is forbidden while a vote is open. The administration procedure is formalised and available on request.
- What this prevents.
- An administrator cannot act without leaving a trace.
- What Scrutalis does.
- The servers are hosted in OVHcloud data centres, on two sites, where physical access is controlled and monitored (ISO/IEC 27001 certification).
- What this prevents.
- No one can physically access the servers during the vote.
- What Scrutalis does.
- The voter’s browser computes the fingerprint of their encrypted ballot and sends it with it; Scrutalis recomputes it and refuses the ballot if it does not find the same one. The fingerprint is published in the register of ballots, next to the confirmation code, and the voter receives the pair signed by Scrutalis, checked in their browser and downloadable: a proof with no identity and no time.
- What this prevents.
- The voter can prove that one of their ballots is missing, without revealing their choice.
- What Scrutalis does.
- The register of confirmation codes is public. When voting closes, Scrutalis signs the list (number of ballots, last code, which chains all the others, election fingerprint); the signature and the public key that verifies it are published with the register, and the “Check my vote” page checks the signature in the voter’s browser.
- What this prevents.
- A register modified afterwards shows and can be proved.
- What Scrutalis does.
- Scrutalis offers the code by text message: the link arrives by email and the code by text message, two separate channels as ANSSI requires; the organiser turns this mode on when creating the vote. With the code by email, both arrive in the same mailbox; the creation screen shows the security level of each option.
- What this prevents.
- A single hacked mailbox is not enough to vote in someone’s place.
- What Scrutalis does.
- Our technical page presents the ElectionGuard protocol and how it is used. The full specification (messages, ceremonies, properties, trust model) is available on request.
- What this prevents.
- The protocol can be examined before the vote.
Level 3 — the most demanding level
For high-stakes votes: no server must be able both to hold the counting secret and to link a ballot to a person, and the result must be verifiable by a third-party tool.
CNIL objectives
- Who handles it.
- The organiser, who carries out the risk analysis of their vote using a proven method. Scrutalis provides them with the description of its security measures, on this page.
- What this prevents.
- The measures chosen match the risks specific to the vote.
- What Scrutalis does.
- Each decryption share comes with a proof, the ballot box export contains each encrypted ballot with its proof and the encrypted total, and the “Vote verification specification” page describes each computation, so that an independent tool can redo the whole verification without any secret (ANSSI R63, R64, R66).
- What this prevents.
- Anyone can recount without trusting Scrutalis, without weakening secrecy.
- What Scrutalis does.
- The servers, the replicated database and the storage are spread over two separate data centres (ANSSI R67).
- What this prevents.
- A fire or a major failure at one site does not interrupt the vote.
- What Scrutalis does.
- The vote keys are generated in each guardian’s browser once every guardian has accepted: each one only publishes proven commitments and, for every other guardian, an encrypted piece only that guardian can open. After closing, each guardian decrypts their part of the total in their browser and only sends a proven partial decryption: no guardian share and no whole key ever exists on our servers, even for an instant. When the count starts, the database no longer links a ballot to a person (level 1, 1-07).
- What this prevents.
- Even at counting time, decrypting does not reveal who voted for what.
- What Scrutalis does.
- The code that encrypts the ballot in the voter’s browser is published on GitHub, identical to the one in the voting page: it shows that only the encrypted ballot and its proofs leave the browser. See the code on GitHub
- What this prevents.
- Anyone can check what the voter’s browser does with their choice.
ANSSI recommendations
- Who handles it.
- The organiser, who carries out the risk analysis of their vote (for example with the EBIOS Risk Manager method).
- What this prevents.
- Security measures are chosen according to the vote’s real threats.
- What Scrutalis does.
- Once the vote has been counted, the organiser and the guardians download the encrypted ballot box for an expert: each encrypted ballot with its proof that it is worth 0 or 1, the encrypted total and the result of each answer. The expert checks the proofs and redoes the encrypted sum. Nothing in it links a ballot to a voter or to a moment; each download is recorded in the log.
- What this prevents.
- A falsified total can be demonstrated by a third party.
- What Scrutalis does.
- At counting, the decryption share of each guardian present comes with a mathematical proof (Chaum-Pedersen); the result is only published if everything checks out. Each voter can redo this check in their browser (“Check the count”), and the proofs are included in the ballot box export.
- What this prevents.
- An announced result that differs from the content of the ballot box can be demonstrated by anyone, without any secret.
- What Scrutalis does.
- At closing, Scrutalis seals in a single locked archive the official record, the documents, the log and the encrypted ballot box with all its proofs, without any identity. It is kept for the planned period.
- What this prevents.
- A later check, including a recount, remains possible during the appeal period.
- What Scrutalis does.
- The “Vote verification specification” page publicly describes the group, the hash, the format of the ballot box export and each computation to redo: proof of each ballot, encrypted total, proof of each decryption share and published result.
- What this prevents.
- Anyone can write their own tool to verify the vote, without any secret.
- What Scrutalis does.
- The servers, the replicated database and the storage are spread over two separate data centres.
- What this prevents.
- The loss of a site does not interrupt the vote.
- What Scrutalis does.
- The server holding the ballot box only receives proven partial decryptions from the guardians, never a share or the key: the decryption key exists on no server.
- What this prevents.
- A compromised server never holds both the key and the ballots.
- What Scrutalis does.
- The source code of the ballot encryption is published on GitHub, openly accessible. The rest of the application and the server are not published. See the code on GitHub
- What this prevents.
- The solution can be audited.
Additional ANSSI recommendations
Measures the ANSSI suggests depending on the outcome of the risk analysis, beyond level 3.
ANSSI recommendations
- What is missing.
- Not yet adopted: the decision depends on the risk analysis.
- What this will prevent.
- A ballot will not be able to be injected without the signing key.
- What Scrutalis does.
- Not applicable since key generation by the guardians: no server, connected or not, holds the private key or operates with it; each guardian operates on their own share only, in their browser.
- What this prevents.
- The key is never exposed on a connected server.
- What Scrutalis does.
- Each guardian draws their own polynomial in their browser; the vote key is the product of their public commitments, computed without any secret. Each guardian’s proofs are checked, and the vote cannot open while a share is missing.
- What this prevents.
- No server knows the whole key, even for an instant.
- What Scrutalis does.
- Each guardian decrypts their part of the total in their browser, with their passphrase or key file, and sends a partial decryption with its proof; the server checks each proof, combines the decryptions and publishes everything, verifiable by anyone.
- What this prevents.
- The shares are never brought together in one place.
- What Scrutalis does.
- Each share is checked against public commitments before being sent, and again when the guardian submits it. The specification that allows a third party to check this is available on request.
- What this prevents.
- A false share is spotted before counting.
ANSSI cryptographic guide
The ANSSI-PG-083 guide sets out the accepted algorithms and key sizes. Here, topic by topic, is what Scrutalis uses, for the vote as well as for accounts and connections.
ANSSI recommendations
- What Scrutalis does.
- ElGamal in a 4,096-bit group whose subgroup has a 256-bit prime order; the guide requires at least 3,072 bits and a prime order of at least 250 bits (RègleLogDiscretGFp, RecoLogDiscretGFp, § 2.2.1.2).
- What this prevents.
- Encrypted ballots cannot be opened by any computation within reach of today’s attackers.
- What Scrutalis does.
- SHA-256 for ballot fingerprints, the journal chain, the seal of the official record and the proofs; HMAC-SHA-256 for authenticators (RègleHachage, § 2.1.4; § 2.1.3). Neither MD5 nor SHA-1 in the vote.
- What this prevents.
- No one can forge another ballot or another journal entry with the same fingerprint.
- What Scrutalis does.
- AES-256-GCM, an authenticated encryption the guide lists as compliant, with a fresh random 96-bit initialisation vector for every encryption (RègleTailleCléSym, § 2.1.1; RègleModeChiff, § 2.1.2.1). With a randomly drawn vector, one key must not encrypt more than about four billion (2³²) messages: Scrutalis encrypts at most one per ballot and one per account, far below that limit.
- What this prevents.
- Data stolen from the database stays unreadable, and any change to it is detected.
- What Scrutalis does.
- Each server key is derived from its secret with HKDF-SHA-256 (RFC 5869), with a label of its own use: stored ballots, two-factor authentication, voting sessions, public identifiers. These secrets are drawn at random over 256 bits, and the server refuses to start if any of them is shorter than 32 characters.
- What this prevents.
- A key serves one use only, and none rests on a secret that is too short.
- What Scrutalis does.
- In links and documents, each internal identifier is replaced by its image under AES-256 on a single 128-bit block. AES serves here as a pseudo-random permutation, not as an encryption mode: ECB mode, which the guide rules out for encrypting data, encrypts no data here.
- What this prevents.
- An identifier reveals neither the number of ballots run nor the number of participants, and a made-up identifier is refused.
- What Scrutalis does.
- Each share of the tally key travels encrypted from one browser to the other: ECDH key exchange on the P-256 curve, derivation with HKDF-SHA-256, then AES-256-GCM.
- What this prevents.
- The server, which relays the shares, cannot read them.
- What Scrutalis does.
- When the organiser enables it, the guardian’s key is protected by a passphrase run through PBKDF2-SHA-256, with 600,000 iterations and a random 16-byte salt. The ANSSI guide on passwords (ANSSI-PG-078, R29-) recommends PBKDF2 where a memory-costly function is hard to use: this is the case in the browser, whose built-in cryptography offers none.
- What this prevents.
- A stolen key file does not open without a very large number of costly attempts.
- What Scrutalis does.
- Codes sent by email or text message and recovery codes are kept hashed with Argon2id (19 MiB of memory, 2 passes, a random 128-bit salt of their own), a memory-costly function as recommended by the ANSSI guide on passwords, to which the cryptographic guide refers (ANSSI-PG-078, R28 and R29). A code is also locked after 3 attempts.
- What this prevents.
- A database leak does not give away the codes in use.
- What Scrutalis does.
- The proof of vote and the published ballot list are signed with Ed25519: an Edwards curve whose subgroup has a 253-bit prime order (RègleCourbeElliptiqueGFp, § 2.2.1.2), proven security (RecoSignature, § 2.2.3), SHA-512 hashing. The guide gives its compliant mechanisms only as examples; the 2021 selection guide (ANSSI-PA-079) recommends the Curve25519 curve but does not yet list EdDSA among the recommended signatures.
- What this prevents.
- A forged proof or list is spotted by anyone who checks it.
- What Scrutalis does.
- The system’s cryptographic generator, on the server as in the browser. In the browser, every draw is also combined with fresh randomness from the server through a cryptographic post-processing (HMAC-SHA-256). This combination does not protect against Scrutalis, which knows the randomness it sends.
- What this prevents.
- A faulty browser generator does not make ballots or guardians’ keys predictable to a third party.
- What Scrutalis does.
- TLS 1.2 and 1.3 only, ephemeral key exchange (ECDHE), authenticated-encryption suites only (AES-GCM, ChaCha20-Poly1305), certificate with an ECDSA P-256 key signed with SHA-384.
- What this prevents.
- Exchanges with the server can be neither read nor altered on the way, even later with the certificate’s key.
- What Scrutalis does.
- The hybrid key exchange X25519MLKEM768 (the X25519 curve and ML-KEM-768, standardised by NIST) is offered first, as the guide recommends for use beyond 2030 (RecoSécuLongTerme, § 2). Browsers that do not support it use X25519.
- What this prevents.
- An exchange recorded today cannot be decrypted tomorrow by a quantum computer.
- What is missing.
- Like every mechanism based on the discrete logarithm, ElGamal offers no post-quantum security (§ 2.2.1.2). No standardised post-quantum encryption yet allows ballots to be added up without opening them and the key to be shared among guardians; Scrutalis will adopt one as soon as it exists.
- What this will prevent.
- Encrypted ballots published today will not be opened, years from now, by a quantum computer.
- What Scrutalis does.
- Authenticator app codes are computed with HMAC-SHA-1, as the standard those apps follow provides (RFC 6238), with a 160-bit key. SHA-1 alone is not compliant, but HMAC-SHA-1, whose security does not depend on SHA-1 collisions, is tolerated as an obsolescent mechanism (ANSSI-PA-079, note 4.3.c). Moving to HMAC-SHA-256 awaits support from all common apps: some ignore it without warning and would show a wrong code.
- What this prevents.
- Organisers’ sign-in rests on no algorithm the ANSSI rejects.
What is up to the organiser
The CNIL recommendation also covers points that do not depend on the software. Scrutalis helps you, but cannot do them for you:
- Assess the risk level of your vote with the CNIL grid.
- Inform voters in advance of how the vote will run. You can attach a notice and documents to the vote.
- Provide a solution for people without access to digital tools.
- Call on independent expertise when the CNIL requires it.
Reference texts
- CNIL recommendation on the security of electronic postal voting systems, adopted on 19 March 2026 and drawn up with the ANSSI.
- ANSSI guide on Internet voting for non-political elections (ANSSI-PA-118).
- ANSSI guide “Rules and recommendations on the choice and sizing of cryptographic mechanisms” (ANSSI-PG-083, version 3.00 of 20 March 2026).
- ANSSI guide « Recommandations relatives à l’authentification multifacteur et aux mots de passe » (ANSSI-PG-078, version 2.0 of 8 October 2021), to which the cryptographic guide refers for passwords.
- ANSSI « Guide de sélection d’algorithmes cryptographiques » (ANSSI-PA-079, version 1.0 of 8 March 2021).