[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [atlarge-discuss] Election Management



On 15:59 07/04/03, Stephen Waters said:
Can you post the code to the list -- or at least give a link to it
somewhere so we can review the code?

What secret key algorithm, padding, or chaining (if more than 1 block)
do you plan to use? If you're planning on using Perl, Crypt::CBC makes
this stuff pretty easy, including md5sum of cryptext.
I intend to develop that quickly in K&R C under DOS that everyone can easily read. There is nothing much complicated. The will mean 1100 mails that I expect to send with "postier". This part can be donne by anyone with an SNTP server. I do not think there is any problem in one single person doingit since there is no way to cheat:

1. if I do not send to everyone (of if there is a failure) people will claim their mail.
2. if I send to more, watchdog will have the lists and will see that unknown nunmbers show up
3. if someone sends many times the same response the first received in the mailbox will count from the grep.

The key sequence is very simple. There is absolutely no need for anything complex (I can used MD5 but no one would be able to check I did not cheat). Also the sequence is pretty long and could be folded by the email responses. Would simply send

"@" as a voting ligne flag
0000 4 digit voter number
4 letters voter checker made of a simple computation on the mail name.
(let say the 1st, the 3rd , the 6th and the 9th letter each plus four values modulo 26)
the nr of the characters and the four values for the vote notbeing disclosed.

The list being given to the watchdogs. A tool to add the vote nr.

@0123tgchxxxxx#12 would be a better writting.

1. you take the whole mailbox
2. you read each line and keep the "^@"
3. check that @0123tgch is in the list
4. replace the xxxxx by an incremental number and store it in FileA.
5. sort FileA
6. read FileA and only keep the first response into FileB.
7. take results from FileB

This can be made by several watchdogs. The results should be the same or explained.
Then everyone can have the data and the results.

jfc










---------------------------------------------------------------------
To unsubscribe, e-mail: atlarge-discuss-unsubscribe@lists.fitug.de
For additional commands, e-mail: atlarge-discuss-help@lists.fitug.de