Slashdot Mirror


Sequoia Voting Systems Source Code Released

Mokurai sends a heads-up about Sequoia Voting Systems, which seems to have inadvertently released the SQL code for its voting databases. The existence of such code appears to violate Federal voting law: "Sequoia blew it on a public records response. ... They appear... to have just vandalized the data as valid databases by stripping the MS-SQL header data off, assuming that would stop us cold. They were wrong. The Linux 'strings' command was able to peel it apart. Nedit was able to digest 800-MB text files. What was revealed was thousands of lines of MS-SQL source code that appears to control or at least influence the logical flow of the election, in violation of a bunch of clauses in the FEC voting system rulebook banning interpreted code, machine modified code and mandating hash checks of voting system code." The code is all available for study or download, "the first time the innards of a US voting system can be downloaded and discussed publicly with no NDAs or court-ordered secrecy," notes Jim March of the Election Defense Alliance. Dig in and analyze.

73 of 406 comments (clear)

  1. What? by fyngyrz · · Score: 2, Funny

    ...a portion of the voting process is corrupt? Who would have thought that!

    --
    I've fallen off your lawn, and I can't get up.
    1. Re:What? by buswolley · · Score: 5, Insightful

      To make light of this does not do justice. This is potentially huge news.

      --

      A Good Troll is better than a Bad Human.

    2. Re:What? by whiplashx · · Score: 4, Informative

      Appears to control or at least influence the logical flow of the election

      What exactly does that mean?

      Means they suspect that the code for the actually tallying and evaluating ballots is in SQL. It is suggested that this violates the law for being dynamic and interpreted.

    3. Re:What? by Idefix97 · · Score: 5, Funny

      I for one welcome our Afghan overlords!

    4. Re:What? by commodore64_love · · Score: 5, Insightful

      Anyone with half a brain realized converting from dumb paper ballots to "smart" electronic machines that could manipulate the votes was a Bad Idea (tm). Unfortunately that disqualifies most of our state politicians.

      --
      "I disapprove of what you say, but I will defend to the death your right to say it." - historian Evelyn Beatrice Hall
    5. Re:What? by stinerman · · Score: 5, Insightful

      As my Software Engineering instructor said...

      Someone was thinking that voting was primarily a counting problem and had the idea that computers were excellent at counting, so computers would be excellent at registering votes.

      Of course, voting is minimally about counting, and from what we've seen even these clowns couldn't do that right.

    6. Re:What? by Anonymous Coward · · Score: 2, Insightful

      But the media will ignore it. Remember last year when voting machines were found to have *actually* lost votes in an Ohio election? No? That was an even bigger story, and the media ignored that as well...

      Never underestimate the ability of the media in this country to ignore important news in favor of the latest distraction.

    7. Re:What? by Anonymous Coward · · Score: 2, Insightful

      Any sufficiently advanced incompetence is indistinguishable from malice.

    8. Re:What? by Organic+Brain+Damage · · Score: 2, Insightful

      Paper ballots. Counted by computer. That's what we do in my state. You mark the paper ballot, insert it into a mark-sense reader and it spits out the ballot of you've inadvertently spoiled it and you can get another one and do it again. And if there's a recount, the original votes are preserved on paper, a much more stable media than computer disks. Touch screens, for at least two or three reasons are a bad choice for voting.

    9. Re:What? by shentino · · Score: 3, Insightful

      The reason voting irregularities mean diddly squat in a presidential election is due to the fact that Joe Citizen's votes don't matter directly.

      Thanks to the electoral college, any voting irregularities are overruled by the imprimatur elector fiat.

    10. Re:What? by Thing+1 · · Score: 2, Interesting

      I just saw the free movie Zeitgeist Addendum last night. It explains how the US keeps the whole world under our thumb through the Federal Reserve, the fractional lending reserves, and the World Bank which gives loans to other countries in order for our corporations to go in there and build infrastructure -- in other words, we loan them money, they pay it to us (via our corporations), and then they still owe the entire amount of money.

      And the fact that our money is created out of thin air, via debt, is just stunning. I urge everyone to watch this; it completely explains how international banking systems are corrupting the planet.

      There are some flaws! You may want to fast-forward through the first 7 minutes or so, until they start talking about the banking system, as the beginning drags on (and doesn't follow the excellent speech-writer's take: "tell them what you're going to tell them; tell them; then tell them what you told them", but oh well -- it's full of great stuff). And the last hour is pretty out there; it makes sense, but it sounds more like a sales pitch for The Venus Project (which is not necessarily a bad thing, they're very forward-thinking). Also, you may want to watch it with the captions on, as many portions of the movie are rather dark, with no motion, so the captions helped both with recall, and also gave my eyes something to pay attention to.

      Anyway, your post reminded me of a part from it, which describes how our corporations control the media (the thread on the ad for the medical marijuana reviewer had a post repeating what most of us already heard on-line, that Mexico recently reclassified pot with laws similar to how Amsterdam treats it, and rightly said "bet you didn't hear that on the six o'clock news") -- a few major corporations control almost every newspaper and TV station in the country. Politicians looking to gain media exposure need to "toe the line" or they won't get funding; or, more realistically, the corporations choose a politician that nobody has ever even heard of, but through constant repetition are able to convince us that we've known of that person for some time. Even someone as insipid as Sarah Palin.

      Don't want to make this a huge rant, so I'll just end with: watch the movie. I actually haven't seen the first one, and am going to download it right now (from the first link, above). Enjoy!

      --
      I feel fantastic, and I'm still alive.
  2. To be honest... by Darkness404 · · Score: 5, Insightful

    To be honest shouldn't -any- code used to tally votes be released in the public domain for any US citizen?

    --
    Taxation is legalized theft, no more, no less.
    1. Re:To be honest... by selven · · Score: 5, Funny

      No, we need to have security! How the heck can a system be secure if everyone can see how it works and therefore how to crack it?! This stuff is simply too important to be left in the hands of the average citizen.

    2. Re:To be honest... by DarkOx · · Score: 2, Interesting

      Are you being sarcastic? A voting system takes a very finite set of possible inputs, it needs to only give some very specific outputs. I really think there are few excuses for not being able to develop a secure system, secure enough to be totally open despite the value of being able to crack it. Its not like our society can't afford to make the required investment in such a system given the other things our government is spending money doing.

      If it can't be done then electronic voting should not be used at all because it can't be trust worthy without sunlight; and if the argument is it would be broken if exposed to sunlight than I want to know how you know its not cracked/broken already?

      --
      Repeal the 17th Amendment TODAY! Also Please Read http://www.gnu.org/philosophy/right-to-read.html
    3. Re:To be honest... by commodore64_love · · Score: 2, Insightful

      Which means if the 17th was repealed, Senators would be elected by the State Governments, and the States could use the power of the Senate to kick-around the U.S. government when it tries to abuse its power...... similar to how the UK, France, Germany and other members use their power to kick-around the EU government and keep it restrained.

      Example:

      California, Washington, and a bunch of other states legalize marijuana for use by doctors. President Dickhead ignores the laws and arrests CA, WA, and other citizens. California and the other states direct their Senators to censure the president and block all of his legislation from passing. He backs down. The States need to have the power to keep the central government from overreaching.

      --
      "I disapprove of what you say, but I will defend to the death your right to say it." - historian Evelyn Beatrice Hall
  3. So... by w0mprat · · Score: 4, Funny

    grep and find who should have won the election?

    --
    After logging in slashdot still does not take you back to the page you were on. It's been that way for 20 years.
  4. Was going to post a pseudo-witty comment but... by RichardJenkins · · Score: 2, Informative

    "Well you may throw your rock and hide your hand
    Workin' in the dark against your fellow man
    But as sure as God made black and white
    What's down in the dark will be brought to the light"

        -Johnny Cash

    Quote taken from the index of http://studysequoia.wikispaces.com/. Wishful thinking, but how apt.

  5. Open Source by bl4nk · · Score: 5, Insightful

    I really can't see why we can't have a government-commissioned open-source system developed and mandated for use for public voting functions.

    I absolutely hate the thought of my vote being inputted in to a closed magical-mystery box.

    1. Re:Open Source by wizardforce · · Score: 4, Insightful

      The last administration isn't around any more. This administration could set its self apart from the old one by requiring all voting system code be open-sourced. But I agree; the chances of that happening are not any better than under the old overlord.

      --
      Sigs are too short to say anything truly profound so read the above post instead.
    2. Re:Open Source by commodore64_love · · Score: 2, Insightful

      Yeah but MY state is run by the Democrats (and has been for almost 60 years). What excuse do they have for not developing open-source voting for Maryland? Oh that's right... same as the GOP... holding onto the monopoly.

      --
      "I disapprove of what you say, but I will defend to the death your right to say it." - historian Evelyn Beatrice Hall
    3. Re:Open Source by fgouget · · Score: 2, Insightful

      I really can't see why we can't have a government-commissioned open-source system developed and mandated for use for public voting functions. I absolutely hate the thought of my vote being inputted in to a closed magical-mystery box.

      Open-sourcing the code or hardware is no help for the simple reason that on election day you, the voter, cannot verify that the machine in your voting booth is running the open-source code or hardware you verified the day before.

  6. Hyperbole much by icebike · · Score: 3, Interesting

    "code that appears to control or at least influence the logical flow of the election"

    Which means the uneducated inspecting strings saw things like:

    BAL_ID null
    -- 1 - show candidate on ballot (default)
    -- 0 - remove candidate from the ballot
    -- 2 - don't show candidate on the ballot, but reserve space for her on the layout

    All of which is perfectly benign when voters are not eligible to vote for certain candidates for any number of reasons.

    The more you read at the ultimate site more you realize the people digging thru this garbage know nothing about what they are reading, and not much about programming either.

    Just because you know how to run grep or strings does not mean you can use the data it reveals.

    --
    Sig Battery depleted. Reverting to safe mode.
    1. Re:Hyperbole much by icebike · · Score: 2, Insightful

      No need to show someone for whom the voter is not eligible to for.

      (I assume English is a second language for you, because the statement was perfectly clear the first time).

      Some states have closed primaries. Democrats only get to vote for democrats, republicans for republicans.

      Some people are not voting in their proper polling place and can't vote for the local candidates (because they don't live there).

      I could go on, but I suspect you will have difficulty reading much more thru your tin foil hat.

      --
      Sig Battery depleted. Reverting to safe mode.
    2. Re:Hyperbole much by amicusNYCL · · Score: 2, Insightful

      Does it matter to you at all that the presence of this logic in interpreted code (SQL) is a direct violation of federal law?

      --
      "Our two-party system is like a bowl of shit looking at itself in a mirror." - Lewis Black
    3. Re:Hyperbole much by Minwee · · Score: 5, Insightful

      The more you read at the ultimate site more you realize the people digging thru this garbage know nothing about what they are reading, and not much about programming either.

      You could have kept reading, you know.

      See also the 2002 edition of the "Voluntary Voting System Guide" published by the Federal Election Commission especially this bit in Volume 1:

      Self-modifying, dynamically loaded, or interpreted code is prohibited [...]

      The FEC standards say "prohibited". They do not say "Any self-modifying, dynamically loaded or interpreted code is only okay if someone who is a really good programmer says it is" or "Interpreted code is okey dokey as long as it isn't called all that often". If the database itself contains application code which modifies the database, then that's a problem. It doesn't matter what kind of code it is or how benign you think it is, it should not be there at all.

      If you would like to share your educated opinion where it matters, feel free to comment in the wiki. That's what it's there for.

    4. Re:Hyperbole much by Anonymous Coward · · Score: 2, Interesting

      They obviously don't understand much because this database is not corrupt. I just loaded it in a SQL Server database fine. SQL Server 2005.

      There are 88 tables in the database.

    5. Re:Hyperbole much by ijakings · · Score: 4, Insightful

      It doesnt matter if its changeable on the fly or not. The law is No interpreted code. Guess what they found? Interpreted code. Ergo, the law has been broken. How much more simply can this be put, that you would get it?

    6. Re:Hyperbole much by Anonymous Coward · · Score: 2, Insightful

      A compiler translates source language to target language (usually executable machine code) and stops there. It does not execute the code.

      An interpreter translates source language to target language (usually machine code), and executes it.

      You are correct in that (most) languages are not inherently compiled or interpreted since you can do either with them, but claiming that there is no difference between a compiler and an interpreter is simply wrong. Most programmers know this, though I suppose not most lawyers do.

      If the federal law requires there be no interpretation, all code has to be compiled before the election to comply. That is clearly not the case with T-SQL exec statements running dynamically constructed statements.

    7. Re:Hyperbole much by sten+ben · · Score: 2, Insightful

      All computer code not written in binary is interpreted code.

      Isn't that the job of the compiler? To turn the written code into "binary" or rather machine instructions, ergo assembler. You have a point in that all languages are interpreted into machine code, but that is not what interpreted refers to in this case. This is what it refers to.

      Presumably the law is there to make run-time modifications to the code harder, as well as allowing static analysis of binaries. I'm crap at SQL, but AFAIK stored procedures can be replaced at run-time.

    8. Re:Hyperbole much by sten+ben · · Score: 3, Informative

      Show me the section in federal law that cites wiki!

      OK, I'll quote this instead:

      "4.2.2 Software Integrity

      Self-modifying, dynamically loaded, or interpreted code is prohibited, except under the security provisions outlined in section 6.4.e [sic - see note below]. This prohibition is to ensure that the software tested and approved during the qualification process remains unchanged and retains its integrity. External modification of code during execution shall be prohibited. Where the development environment (programming language and development tools) includes the following features, the software shall provide controls to prevent accidental or deliberate attempts to replace executable code: ...

      IANAL, but that seems pretty clear cut. Maybe not in regards to the SQL, but as far as to what they mean.

    9. Re:Hyperbole much by theTerribleRobbo · · Score: 3, Insightful

      From the site:

      UPDATE 10/20/09 5:45pm Pacific Time: It appears the files were NOT VANDALIZED and will open in MS-SQL Server 2005. It also appears they did redact "code" to some degree. I'm still not clear on why there are thousands of lines of source code still left in there. I'm working on scoring a copy of SQL Server 2005 ASAP so I can look for myself. Check the discussion areas to follow along in realtime.

      Interesting.

    10. Re:Hyperbole much by amicusNYCL · · Score: 3, Interesting

      Nice one jackass, but I'm not a lawyer, I'm a programmer. It should be pretty goddamn clear to any novice that a stored procedure in MS SQL Server, which is what we're dealing with here, is most definitely interpreted code. The law clearly states that interpreted code is not allowed because of the obvious fact that it can easily be changed after the certification. They state that once the software is certified that there are no more compilers or linkers allowed in the onboard software and that the binaries should be able to have their checksum validated in the field to ensure it's the same software that was certified. Especially when the SQL code to create those same stored procedures ships with the product, as if the database itself is set up in the field.

      Now, I'm not a lawyer, but that seems pretty goddamn clear to me that a stored procedure in SQL Server does not meet those criteria.

      But, and I'm being honest here, I really want to hear your opinion on the matter, since mine doesn't matter, and is based on scary capital letters.

      --
      "Our two-party system is like a bowl of shit looking at itself in a mirror." - Lewis Black
    11. Re:Hyperbole much by JimMarch(equalccw) · · Score: 5, Informative

      First, I'm the guy that built that wiki page.

      Second, "code that defines races" can be used to alter results. I have a lot of experience playing with Diebold databases because we've had access to those since 2003 when Diebold left an FTP site open. If you swap the candidate ID numbers between two candidates in the Diebold database (run in MS-Access), you'll flip the election. In a heartbeat.

      It *appears* there's code present in this Sequoia database to do the same thing. Note the word "appears". The best way to find out, and the most MORAL way, was to put it up for public review.

      Risking exposure of our technical warts, sure. Still worth it. Check the discussion areas at the wiki - we're learning a hell of a lot, very quickly.

      But yes, it's true: I don't know MS-SQL, and nobody else at EDA does either. So we were faced with a choice: find a few people who did know it, pay 'em a bunch of donated money to write a formal report behind closed doors, or do a public review and exam even if that means exposing any mistakes we make, knowing they'll be caught pretty damn quick.

      Which was better?

    12. Re:Hyperbole much by Leafheart · · Score: 2, Interesting

      Why do you need 88 tables for one voting??

      --
      --- "When you gotta do something wrong. You gotta do it right. (Fighter)"
  7. you're wrong. by Anne+Honime · · Score: 2, Insightful

    crypto primitives relies on a strong link between 2 ends. voting explicitly implies discarding the identity of the voter, hence the whole link thing breaks. If you maintain the link, you know who voted for whom : that's not a good idea at all to preserve democracy. If you discard the link, you have *no way on earth* to actually prove something hasn't been rigged somewhere.

    1. Re:you're wrong. by jonbryce · · Score: 3, Insightful

      How about this?

      You select your candidate / party / referendum option on screen.
      The computer prints out a ballot paper and records your vote.
      You put the ballot paper in the ballot box.
      The returning officer selects a sample of ballot boxes at random and checks them to the computer.

    2. Re:you're wrong. by Anne+Honime · · Score: 5, Insightful

      Maybe it's a cultural thing, but I've never seen the necessity to complicate things any further than paper, pencil, double physical count. Cheap, no machines involved, fast. On a national election down here (about 15 million voters), voting booths close at 6pm and results are known nation wide right on time to open the 8pm evening news.

    3. Re:you're wrong. by Idiomatick · · Score: 2, Insightful

      The US is spread across multiple time zones so it matters even less. Plus even if it was an hour faster God keep your pants on people. This is a big deal, I'd be fine with a day of wait if the results are accurate.

    4. Re:you're wrong. by v1 · · Score: 2, Insightful

      I've actually put some thought into this and I think I have an idea that could work. It could provide accountability, although not necessarily in a provable form, but at least to let the individual voter know if their vote was lost or changed.

      When you vote, you can enter TWO votes. The first is your actual real it-counts vote. The second is a made up vote. It's totally optional, but lets you enter a second vote different than your first. One is vote A and one is vote B, and you pick which (A or B) is counted. When you leave the booth you get a receipt with a url and a long hashed ID number for your vote(s). If you chose not to enter a second vote, the second vote is randomly selected based on statistical averages of recent votes.

      You can go home and get online and go to the govt website and enter your hash id. It will ask you if you want to see A or B. You pick one, and it shows your votes. You CANNOT look at your other vote. (it only lets you look at one vote per ID, you can go back later and see A again, but never look at B once you've looked at A or vice-versa) Important: it will NOT tell you if the vote you are looking at is the vote that counts or is the dummy.

      This allows you to go into the system later and see that your vote was not lost or changed. It can't tell if the counter/dummy was toggled but if the dummy is statistical average of recent votes in that booth then the ability to do any heavy fraud by dummy swapping is minimized. If you are more concerned about swapping than being coerced, then you can just make both of your votes the same so a swap won't matter.

      But it also prevents selling of your vote, or coercion. Lets say your boss says you WILL be voting for Kodos this year. OK go into the booth and put in your real vote, and then your alternate vote for Kodos. The only thing that puts any teeth in someone being able to sell their vote or coerce a vote is being able to prove who you voted for. So if you are forced to show your vote later, do the lookup in front of them but for the dummy vote. To prevent the possibility of them simply asking to see BOTH your votes to make sure they were both for who they wanted, you can only look at the A or the B ever. This makes it impossible to prove to an individual that you voted a certain way.

      If there's a major cry of fraud, it's possible for the system to be queried and compared later to look for patterns.

      I'd like to hear everyone's devil's advocate on this idea. Rip it up! (or improve it?)

      The only downside is its a tad convoluted. But I maintain that people that can't deal with even slightly complicated voting processes have no business casting a totally uneducated vote.

      --
      I work for the Department of Redundancy Department.
    5. Re:you're wrong. by SydShamino · · Score: 3, Insightful

      You are required to give your hash code to your boss. HE looks up your vote and picks A or B. 50-50 chance he picks the fake one and you live. 50-50 chance he picks the real one and you lose your job.

      --
      It doesn't hurt to be nice.
    6. Re:you're wrong. by Anne+Honime · · Score: 3, Interesting

      Doesn't work like that, at least where I live. In my place, you can come in to check if the see-through box is empty and sealed before the voting begin. Then you have parties representatives that take turn to check the whole process during the day (and keep an eye on each others as well as looking after election judges), and finally, the public is much welcomed to come back (or even stay the whole day, if you prefer so) and help count the ballots at the end of the day. The result is then phoned at the town house, where all results for the town are tallied on a paperboard in front of the public. Through some administrative layers, it climbs up through counties and districts up to the national level. Nothing is ever done behind closed doors ; anybody has a right to attend every step physically, in person. In the end, it's a giant peer-reviewed open-source process that's happening under the very eyes of everybody. In the morning, through local newspapers, you can break down the full result down to every single voting place in the whole country.

    7. Re:you're wrong. by qw0ntum · · Score: 2, Insightful

      This is a really interesting idea, and I can tell it is well thought out. However, I think it wouldn't work primarily because of its complexity. It's already bad enough for a lot of people to have to select multiple checkboxes in different categories for different elections ("do I select one for each council seat?" "can I vote for President and mayor?"). I think the act of voting can really be no more complicated than picking a box in order for people (even smart people) to not get confused.

      --
      'Every story, if continued long enough, ends in death.' --Ernest Hemingway
    8. Re:you're wrong. by Wyzard · · Score: 3, Insightful

      Americans won't stand for it. They want to know NOW damnit, not tomorrow.

      I don't think the American public would really be all that upset if the election results didn't come in until the next morning. I suspect it's actually the news media that wants the results ASAP, in order to get everyone watching the election day evening news so that they can charge more for ad space.

    9. Re:you're wrong. by v1 · · Score: 3, Interesting

      Good catch, that's the sort of thinking I was hoping to hear from.

      OK then one more tweak. The receipt you print in the booth can either be your real or your dummy vote. You pick just before you leave. So if you are being coerced, you can pick the dummy receipt but if you want to watch over your vote you pick the real receipt to take home.

      So in this case you don't get an A/B choice when you get home and punch in the URL. It immediately shows a vote, either the dummy or the real, whichever you elected to get the receipt for.

      Are we bulletproof yet? That doesn't look like it adds any real complexity to what I'm trying to keep to a bare minimum.

      --
      I work for the Department of Redundancy Department.
    10. Re:you're wrong. by amRadioHed · · Score: 2, Insightful

      What difference does it make how quick the counting is? No matter how fast you count, the officials will still get sworn in on the same date ~2 months later.

      --
      We hope your rules and wisdom choke you / Now we are one in everlasting peace
    11. Re:you're wrong. by Anne+Honime · · Score: 2, Insightful

      Of course it happened. A lot. That's why the voting process evolved. In my youth, when I went with my parents, boxes were made of wood, sometimes you would hand the envelope containing the ballot to the election judge for him to put into the box, etc. Nowdays, boxes are transparent, made out of plexyglas, the officials are forbidden to even touch your ballot. You give your id, a person checks you are on the list, if you're okayed the judge push a lever on top of the box. This advance a mechanical counter and open the slit just the needed time for you to cast your vote. At the end of the day, boxes are spilled open on wide tables, the judges still don't have the right to touch them. 4 voluntary citizens of the precinct man each table. They make a rough division in 4 stacks, count each stack, then swap stack with the counter in front of them. When done, counters pairs swap places and go over the process again. One juge continuously records counts for each table. When done, ballots are put back in box and box is sealed again. No official ever touch a ballot. There are still fraud attempts, but either they are very local (and suppose a high level of complicity between everyone there, so it's unlikely to matter to the result), or in some countries, they rely more on brute force than actual fraud (think Iran, for instance).

      The question is not to know if a paper election can be rigged. The question is : does e-voting add more fraud possibilities to the voting process on top of already known frauds occurring with paper. And the answer is yes, it doesn't really avoid known frauding means, and it makes more subtle, new frauding schemes more likely. That's because the machine knows at any given time how many votes have already been cast, and who is leading. It can be made to cheat just enough to give a slight advantage that's not statistically detectable. OTOH, paper frauds must be very blunt to have any chance of being effective, and are therefore much more difficult to conceal. Especially if everybody has been given the right by law to attend every step of the process.

  8. Re:While redacting... by MichaelSmith · · Score: 3, Insightful


    votes[candidate]++;

  9. Re:ha ha by Cryacin · · Score: 3, Funny

    Now does stripping the illusion of voting away make us more or less free

    Don't blame me! I voted for Kodos!

    --
    Science advances one funeral at a time- Max Planck
  10. Too early to start the scandalising by SlidingGlassDoor · · Score: 3, Insightful

    They may have violated the regulations, but it is still not clear that anything they did would have had any real impact. Best to wait and see what the analysis reveals.

  11. Re:Who uses them? by amicusNYCL · · Score: 2, Informative
    --
    "Our two-party system is like a bowl of shit looking at itself in a mirror." - Lewis Black
  12. Canadian Elections - KISS by Strider- · · Score: 2, Interesting

    I'll stick to voting with pencil, paper, and hand counted ballots. Of course, we in Canada have the advantage that binding referendums are unconstitutional (It's violation of parliamentary supremacy). Thus all we vote for is our representative. Of course this seems to be happening every 18 months, but with four political parties, this tends to happen. :) Oh, and for those who are wondering, each ballot is hand counted, in triplicate, with scrutineers from each of the candidates on said ballot in attendance. It takes about 4 or 5 hours to count 10 000 000 ballots, and recounts rarely change the results by more than 1 or 2 votes per district.

    --
    ...si hoc legere nimium eruditionis habes...
    1. Re:Canadian Elections - KISS by shking · · Score: 2, Insightful

      You also have the advantage of less than 15 million people voting, whereas in the last election in the US about 136.6 million voted. Hand counting ballots is a just a bit harder if there are 10 times as many of them to count

      Not if you have 10 times as many people to count them. These massively parallel systems scale rather well you know.

      --
      -- "At Microsoft, quality is job 1.1" -- PC Magazine, Nov. 1994
  13. This is cool and all, but... by thePowerOfGrayskull · · Score: 3, Insightful
    ... This is cool and all but.. BAL_ID null -- 1 - show candidate on ballot (default) -- 0 - remove candidate from the ballot -- 2 - don't show candidate on the ballot, but reserve space for -- her on the layout , IS_ON_BALLOT T_P_BOOL null -- Code used by State reports , STATE_CODE char(7) null -- Reference to AUDIO; clip used to describe candidate header -- in English , AUDIO_ID T_GLOBAL_ID null -- For grid style: which slate the candidate goes into , SLATE int null , constraint PK_CANDIDATE primary key clustered (CANDIDATE_ID) -- create indexes on table CANDIDATE Exec(" create index FK_CANDIDATE_AUDIO_FK on CANDIDATE (AUDIO_ID) Exec(" create index FK_CANDIDATE_CONTEST_FK on CANDIDATE (CONTEST_ID) If this is the worst of the "business logic" that "controls or influences the flow" of elections, I think they're in for a disappointing read. Using a value in a database isn't considered "business logic" hte last I checked.

    * t violates the federal rulebook on voting systems on several levels: the rules require that code be hash-checked to prove authenticity in the field for obvious reasons. If the real working code is buried in with the data, no such hash-checks are possible.

    Except that so far, I'm seeing table construction and table layouts. I guess that's technically code - as any SQL technically is - but a good case can be made to say that it's just the database structure. Which can, of course, be subjected to a hash check.

    The federal rulebook is also clear that code can't be interpreted, apparently to avoid modification "in the field" (generally county or city election offices).

    Well shit, in that case, they can't use SQL at all. Since a database is a fairly reasonable way to track the candidate data, display strings, etc... I'm pretty sure that this wasn't the intent of the law. (No, IANAL, just applying common sense).

    I do think it's great and long overdue that this information is now available. But I also think they'll want to finish the analysis and get some people who understand what they're looking at, before they start making claims. There may be validity to them - but so far it's tenuous if there at all. (Full disclosure: I'd love to electronic voting either a) shut down or preferably b) administered in a 100% transparent fashion... so I'm not making this post in anybody's defense)

    1. Re:This is cool and all, but... by Senjutsu · · Score: 5, Insightful

      Except that so far, I'm seeing table construction and table layouts. I guess that's technically code - as any SQL technically is - but a good case can be made to say that it's just the database structure. Which can, of course, be subjected to a hash check.

      Except that the DDL isn't in a bunch of scripts that are building the schema, the schema exists in a bunch of strings that are concatenated together in stored procedures with some arguments to the procs munged in, and passed to Exec statements when the stored procedures are run.

      That's not normal table building, that's an unabashedly self-modifying database.

    2. Re:This is cool and all, but... by itwerx · · Score: 3, Interesting

      "that's an unabashedly self-modifying database" Not to mention that ID 15 -> 21 re-mapping in one of the excerpts. Why would an ID of any kind ever need to be remapped on the fly like that? Heck, I used to do a little SQL programming back in the day, I might just have to dig into it a bit myself! :)

  14. Re:ha ha by Philip+K+Dickhead · · Score: 2, Interesting

    Vote! Vote my little worms!
    Divert your will and energies into our little show of "change"!

    While another Goldman exec is put in charge of "Enforcement - ensuring that there is none...

    You see, under the post-Kennedy era system of American government, executive and legislative sideshows are intended not to demonstrate and direct power - but to distract from the real power of the land.

    Bang! One magic bullet. You buy that story, and they already had you in the Matrix.

    --
    "Speaking the Truth in times of universal deceit is a revolutionary act." -- George Orwell
  15. Another case of failed redaction! by Anonymous Coward · · Score: 3, Informative

    The file they have is simply a SQL Server backup.
    It takes a few minutes to restore using SQL 2005 Express + SSMSE
    Nothing has been destroyed or sabotaged.

    but...

    When the database is restored you get the tables with the data in.
    All the stored procedures have been deleted. Or so Seqoia thought :)

    As the use of strings on the backup file demonstrates, the text of the sp's are still there.
    There are various database tools (Lumigent was one from memory) that allow looking back through the database log and, I expect, returning the database to a previous state.

    Just when companies had got the hang of cleaning up after track changes they move on to SQL database backups :)

  16. too much voting? by Anonymous Coward · · Score: 5, Informative

    Maybe it's a cultural thing, but I've never seen the necessity to complicate things any further than paper, pencil, double physical count. Cheap, no machines involved, fast. On a national election down here (about 15 million voters), voting booths close at 6pm and results are known nation wide right on time to open the 8pm evening news.

    Except that Americans like to vote on everything.

    Not just politicians, but sherifs, judges, district attorneys (i.e., head government prosecutors), etc. Add this to the fact that most elections (municipal, county, state, federal) tend to happen on one day, so that when you walk into the booth, you don't just have a piece of paper, but a small booklet to go through. Then add propositions (i.e., referendums) that many states have if enough people sign a petition. If you want to be an educated voter on all the possible choices you have to do some serious studying.

    And then you have to count all of these 20+ separate run offs for the various levels of government.

    1. Re:too much voting? by innocent_white_lamb · · Score: 3, Insightful

      Except that Americans like to vote on everything.
       
      And?
       
      If it's important enough to vote on, it's important enough to count properly.

      --
      If you're a zombie and you know it, bite your friend!
    2. Re:too much voting? by Purity+Of+Essence · · Score: 3, Insightful

      Have you ever seen voter turn-out numbers? Americans don't like to vote at all.

      --
      +0 Meh
  17. Re:There's somebody wrong on the internet... by CastrTroy · · Score: 3, Interesting

    I shouldn't be able to verify my own vote. If I can verify my vote, I can prove to myself after the fact how I voted, and therefore I can prove it to somebody else. That somebody else might try to coherce me into voting a specific way. I much prefer paper, pen, and hand counted. That way, I can verify the box is empty before everyone puts their vote in. Verify that my vote went into the box, and verify that the box was opened and that all votes in the box were counted correctly. I wouldn't be able to identify my ballot apart from the other ballots in the box, but that would be good, because nobody would be able to coherce me to vote a particular way. Just knowing that my vote was an a box, and that the box was counted correctly is enough for me to know that my vote was counted correctly.

    --

    Anthropic principle: We see the universe the way it is because if it were different we would not be here to see it.
  18. Re:Treason? by SUB7IME · · Score: 2, Funny

    Why, thank you, that's the justification we've been looking for. Invoke Article III!

  19. How to restore the .bak file using Microsoft SQL.. by Anonymous Coward · · Score: 3, Informative

    How to restore the .bak file using Microsoft SQL Server Express 2008:

    Step 1. Go download SQL Server Express 2008 (This is trivial, left up to the reader. You might have to go to a microsoft webpage) and install.

    Step 2. Go download SQL Tools for SQL Server (Trivial) and install.

    Step 3. Go download the .bak.zip file from the above wiki. Save it to 'C:\foofoo\'. Unzip the .bak file within it to 'C:\foofoo\'. You should now have: 'C:\foofoo\RIV_20081104_Canvass_Final_dbset_E.bak'

    Step 4. Start up SQL Server Express

    Step 5. Open SQL Management Studio and connect to your local SQLEXPRESS instance.

    Step 6. Click on the top most node in (Should be your machine's name\SQLEXPRESS). Click "New Query".

    Step 7. Run the following query:

    RESTORE DATABASE RIV_20081104_E FROM disk='C:\foofoo\RIV_20081104_Canvass_Final_dbset_E.bak'
    WITH MOVE 'RIV_20081104_Esys' TO 'C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data\RIV_20081104_Esys.mdf',
              MOVE 'RIV_20081104_Edat' TO 'C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data\RIV_20081104_Edat.mdf',
              MOVE 'RIV_20081104_Elog' TO 'C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data\RIV_20081104_Elog.ldf',
              REPLACE
    go

    Step 8. Wait.

    Step 9. This should create a database called RIV_20081104_E.

    Have fun.

  20. Re:There's somebody wrong on the internet... by tftp · · Score: 2, Insightful

    If I can verify my vote, I can prove to myself after the fact how I voted, and therefore I can prove it to somebody else.

    Not necessarily. If an essential part of the algorithm (a key) is only in your head you can prove the results to yourself, but not to anyone else - especially if a wrong key produces a proof that is just as valid as the one made with the correct key. A simple XOR would be sufficient. You can store and publish such encrypted vote results all you want, only the original voter can tell what those numbers really mean. And if he wants he can disclose a different key, yielding a different "proven vote." The key can be randomly generated in the booth and shown to the voter, but not stored anywhere.

  21. Re:Treason? by symbolset · · Score: 3, Funny

    This might hurt your feelings but: you're a Canadian. Most Americans don't consider you ever.

    --
    Help stamp out iliturcy.
  22. Re:All code is interpreted code by Valdrax · · Score: 2, Insightful

    All code is interpreted by something. That something might be hardware, microcode, firmware, a middle layer, or even a whole VM, but all code is interpreted.

    Saying code is or is not interpreted is simply where you draw the line. Even "native" code on most processors these is really interpreted by the microcode or something similar.

    I think you know exactly what they mean. Human-readable code == bad; byte-code == good.

    Your argument boils down to the same sort of definition-shifting, intellectual masturbation as, "But everything humans make is natural because humans are natural," or "There's no such thing as an honest politician because everybody lies sometimes." Everyone knows what "interpreted," "natural," and "honest" actually mean in context, and pettifogging over terms like that adds nothing to any discussion ever.

    --
    If it's for-profit but free, you're not the customer -- you're the product (e.g., the Slashdot Beta's "audience").
  23. Re:There's somebody wrong on the internet... by cgenman · · Score: 2, Insightful

    Again, why not just use a printer? Select your votes, all of them get tallied and a printout with machine readable and human readable output. Put that in a box. If there is a question about the final tally, you can A: verify that the initial digital count matches a barcode-scanned recount, B: verify that all or some of the barcode-scanned votes match the written out votes, C: count all of the human readable output manually.

    The idea that we can't do industrial printers these days on the cheap and reliable is laughable, especially with the stupid costs of these voting machines.

  24. Re:There's somebody wrong on the internet... by Mr.+Slippery · · Score: 2, Informative

    If I can verify my vote, I can prove to myself after the fact how I voted, and therefore I can prove it to somebody else. That somebody else might try to coherce me into voting a specific way.

    "CastrTroy! Get in here! You're going to fill out this absentee ballot just the way I tell you, and sign it. I'll mail it for you. If you don't, it's curtains for your grandmother!"

    Or:

    "CastrTroy! Get in here! You're going to carry this spy camera pen into the voting booth so I can make sure you vote the way I want you to. If you don't, it's curtains for your grandmother!"

    So the whole "verifiable ballots allow coercion!" argument doesn't hold water: you can be coerced today. The defense against coercing votes isn't technical, it's that you're going to be locked in a cage for a very long time if you do it. (And rightly so.)

    But besides that, it's just factually wrong. It is possible to have a ballot that you can verify but that can't be used to show others how you voted, because it relies on a secret that you know but can't prove. See, for example, Chaum's Punchscan.

    --
    Tom Swiss | the infamous tms | my blog
    You cannot wash away blood with blood
  25. Re:There's somebody wrong on the internet... by David+Jao · · Score: 3, Insightful

    As a matter of due diligence, I will look up your "David Chaum's blind signature" (I may have already). I'm certain it will have a fatal flaw, as has every system I've examined thus far. It doesn't matter how many people jump up and down in support of their ideologies or how vigorously. Nobody has shown me a secret ballot, end-to-end verifiable voting system. I do not believe one exists. (I would like to be proven wrong, but I don't think anybody can.)

    Disclaimer: I am a cryptographer, and I have done research on topics related to electronic voting in the past.

    As a matter of simply stating a fact, regardless of your due diligence, the fact is that blind signatures and their application to electronic voting is a subject which is about 15 years old by now. If you didn't already know about this concept, then you are clearly not an expert in electronic voting or even in any related field of cryptology. Cryptographic electronic voting is a highly technical subject involving many different areas and subfields of cryptology, some of them heavily number theoretic and mathematical. You are probably not technically knowledgeable enough to pass judgment on such heavily technical subjects in which you are uninformed (or worse, prejudiced against, as evidenced by your choice use of words such as "ideologies").

    Even if I'm wrong about you, and you are technically knowledgeable enough to correctly evaluate cryptographic voting systems, it doesn't matter. For every one of you, there are thousands of other voters who are not technically knowledgeable, but who think that they are.

    The problem with voting systems is not mathematical. It is not cryptographic. From the point of view of cryptography, secret ballot, end-to-end verifiable voting systems do exist, and have been known for decades. Either a mix net or the Benaloh cryptosystem together with threshold secret sharing delegation of trust is all that is required. The problem with cryptographic end-to-end voting systems is that for every one cryptographer in the world, there are thousands of uninformed members of the general public who don't understand the math, and who think that the scheme is either untrustworthy or that they have found a flaw. For this reason, even if there is a secret ballot, end-to-end verifiable voting system (which there is), it will never be accepted by the general public. As a research scientist, I have had far too much experience in dealing with such obstacles. The public does not trust scientists, even when the scientists clearly know more than they do.

  26. Re:There's somebody wrong on the internet... by Anne+Honime · · Score: 2, Insightful

    If you didn't already know about this concept, then you are clearly not an expert in electronic voting or even in any related field of cryptology. Cryptographic electronic voting is a highly technical subject involving many different areas and subfields of cryptology, some of them heavily number theoretic and mathematical. You are probably not technically knowledgeable enough to pass judgment on such heavily technical subjects in which you are uninformed (or worse, prejudiced against, as evidenced by your choice use of words such as "ideologies").

    The public does not trust scientists, even when the scientists clearly know more than they do.

    Still wondering why ? A 6th grader with a good pair of eyes can understand and control a paper vote. The more people you gather to keep watch, the better, no training necessary. It would take you, with all your intelligence and experience, weeks of efforts to verify an e-system implementation, and you'd be one of a handful able to do so. And all it would take to rig the system would be to outsmart your small lot of scientists. Just *imagine* for a second the source code is mathematically correct and you verified it. How about the compiler ? Do you know if the system really runs on the bare metal or is it trapped in a VM ? Are you per chance a computer scientist as well as a cryptologist ? How many scientists would it take to screw that light bulb in the end ? How long would it take ?

  27. The story is not based on fact. by davidmwilliams · · Score: 2, Informative

    There are many good reasons for open source voting system but this story by the Daily Kos is a beat up, and is based solely on the lack of technical ability by the person making the claims. I've actually downloaded the database, restored it successfully in SQL Server 2008 and examined it and there really is no basis to this story. That doesn't mean I support Sequoia, that doesn't mean I support closed voting systems, just merely in this particular instance the story is not based on fact. Here's how to restore it and what you'll find: http://www.itwire.com/content/view/28715/1141/

  28. Re:There's somebody wrong on the internet... by David+Jao · · Score: 2, Informative

    Still wondering why ? A 6th grader with a good pair of eyes can understand and control a paper vote. The more people you gather to keep watch, the better, no training necessary. It would take you, with all your intelligence and experience, weeks of efforts to verify an e-system implementation, and you'd be one of a handful able to do so. And all it would take to rig the system would be to outsmart your small lot of scientists. Just *imagine* for a second the source code is mathematically correct and you verified it. How about the compiler ? Do you know if the system really runs on the bare metal or is it trapped in a VM ? Are you per chance a computer scientist as well as a cryptologist ? How many scientists would it take to screw that light bulb in the end ? How long would it take ?

    Thanks, but I am neither a computer scientist, nor am I still wondering why. I figured out what you said a long time ago. Some computer scientists have also figured it out. That's why a lot of voting research these days is in the area of non-cryptographic voting schemes that still provide secret ballot end-to-end security. No such scheme is known today, but significant progress has been made, for example ThreeBallot by Ron Rivest.

    I, and many researchers, are well aware that no solution to the voting problem can ever involve a system, or a compiler, or source code, or any sort of bare metal hardware. The solution has to be non-cryptographic. Unfortunately, the politicians and legislators have not realized this yet (or they have, and are committing intentional sabotage), and most importantly, the general public has not realized this yet. The general public still thinks that voting machines are the way to go.