Thanks for sharing. It is quite an amusing project and really motivates a couple interesting questions that your 3-5th grade students may like to discuss.wkelly42 wrote:I teach technology at an elementary school in northern Kentucky. Resources are slim, so the Raspberry Pis I've been able to get are put to good use. Today we finished a voting booth project - we wired arcade buttons and LEDs to the GPIO pins on a Pi 3 and wrote a program in Scratch that tracks votes and creates a real-time bar graph of the results. Details are available at https://warrenkelly.wordpress.com/2016/ ... ing-booth/ - I've even included a link to my Scratch account, where you can see the code we used.
Why?wkelly42 wrote:... The vote will only be able to be registered after the QR code is scanned, and each QR code will only scan once...
How does that QR code make anything secure? What are you planning to encode in it, because it's publicly readable and I can easily generate a fake? How can you expire it after read? What happens on a read failure? What happens in four years time? You may as well have your social security ID tattoed on your forehead because that's just about as secure. How long after you generate your QR does it expire (the usual expiry for for one-time passwords is about ten minutes to avoid a replay attack)?wkelly42 wrote:
I am working on a way to have a QR code on their voter ID cards for next time (yes, they all made voter ID cards, and have to have them certified by the election officials before they can vote). The vote will only be able to be registered after the QR code is scanned, and each QR code will only scan once. I may end up having a different machine for each grade (precinct) to simplify things there.
Use two different one-way hashes to preserve anonymity. The actual QR code is never recorded in any database. At issuance the first hash is recorded and could later be used to check the identity of the QR card holder, if desired. In the voting machine the second hash is recorded and could later be used to change a vote, if necessary. Since the hashes are one way, there is no way to connect the people in the voter registry to the recorded votes. When a new election is needed, use the same QR code but simply change the second hash. In this way it also becomes impossible to connect the voters in one election to the next. Since each voter is expected to keep the QR code private, a bifold card with the code printed on the inside might be a good idea.peterlite wrote:The problem is the illegal vote before the legal vote. There is no way to reverse out the illegal vote when the legal voter complains about not being able to vote.
I don't think wkelly42 actually did that, I do think he was showing how he used a Pi to make something, use it and create discussion on a subject.DougieLawson wrote:...But that's largely irrelevant when the OP announces he's looking for a way to do electronic voting.
There seem to be many videos, none of which obviously discuss the use of one-way hashes to keep voting records anonymous. Could you provide a link and possible a time index into the video?DougieLawson wrote:Watch Tom Scott's video, he has lots of good arguments why you can't have anonymous electronic voting. It's less likely to be anonymous than any paper based system because you have to authenticate voters to allow them to vote.
No Raspberry Pi content - are you a spammer?mymaverick wrote: ↑Fri Apr 20, 2018 10:12 amI was particularly disturbed in the wake of these issues and decided to think of how things could get better to ensure total trust and reliance on our electoral process to bring about the unquestionable credibility in the way we elect our leaders both in the society and in the academia. Even conducting polls shouldn't be left out, because polls are used to gauge the pulse of the society to test public affinity to or disapproval of a particular issue or cause of action. In my quest in search for answers, I came across the issue of e-voting based on blockchain technology. First, it sounded like a stealth idea when I read that some developed this system, but I had to dig a little bit because the bait that caught my interest deepened was the keyword, blockchain.