problem with the encryption of unicode characters (latin-1)
Reported by Fabio Dapper | August 31st, 2010 @ 07:05 AM | in v3.1
Helios fails when unicode characteres (latin-1) like 'ç'
or 'ã' are used.
There's a problem computing the encryption.
This can be noted because the "Election Fingerprint" differs
in the Audit Info panel and in the footer of Voting Booth.
This occurs in the online version, too.
I tried change the default charset of django to iso-8859-1 (and to
utf-8)
and the 'var chrsz' of sha1.js without success.
Comments and changes to this ticket
-
Ben Adida August 31st, 2010 @ 11:45 AM
- Milestone set to v3.1
- State changed from new to open
- Milestone order changed from 2 to 0
Darnit, I was convinced we had nailed this issue.
Just to be clear, the special characters are part of the election, correct? Or part of the voter names? Or both?
-
Fabio Dapper August 31st, 2010 @ 12:40 PM
Yes, the special characters are part of the election (election names, questions,etc.), only.
If they are only part of the voter names, all runs fine. -
Ben Adida September 17th, 2010 @ 04:55 PM
- State changed from open to resolved
Fabio: this issue should now be resolved on the public Helios site, and in github.
-
Fabio Dapper September 29th, 2010 @ 11:02 AM
The issue continues. This can be evidenced by the following election
http://vote.heliosvoting.org/helios/elections/8b84071c-cbd4-11df-a1...
Now, the 'Election Fingerprint" in the Audit Info panel and in the Voting Booth are the same, and the user receives a succesfull message.
But the vote is invalidated throught the task "cast_vote_verify_and_store". -
Ben Adida September 29th, 2010 @ 09:45 PM
Fabio: I was able to cast a ballot without trouble in that election. Can you retry and give more info about your browser/etc..?
-
Fabio Dapper October 1st, 2010 @ 07:25 AM
Ben: Thanks for the response.
The issue seems to happen in Windows running IE or Firefox/3.6.10. (I have tested on XP,Vista and 7)
In prior versions of Firefox, the system works correctly.
The java version is JRE1.6.0_21.
In Ubuntu, all runs fine. -
Fabio Dapper October 8th, 2010 @ 09:43 AM
- no changes were found...
-
Fabio Dapper October 8th, 2010 @ 09:44 AM
I performed several tests and found that when the java is disabled,
the voting works fine, but i can't create a trustee.
In the latter case, a message appears: "bigint failed".
When java is enabled, it's possible generate the trustee, but the vote is not cast.
The code below seems to be doing some test about it:[Vote.html]
/ / If we do not Have the Ability to crypto in the browser,
/ / We use the server if (BigInt.is_dummy) (
Thus, there seems to be a mismatch between the encryption performed on the client
and the server, when are used special characters.
This happens in our machines running Windows or Ubuntu 7 (language: pt-BR) and JRE 1.6
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
the Helios Voting System