Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

problem with the encryption of unicode characters (latin-1)

#37

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.

Reported by Fabio Dapper · August 31st, 2010 @ 07:05 AM

State: resolved
Milestone: v3.1
Assigned to: Ben Adida Ben Adida

Activity

  1. Ben Adida
    Ben Adida
    • 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?

    August 31st, 2010 @ 11:45 AM

  2. Fabio Dapper
    Fabio Dapper

    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.

    August 31st, 2010 @ 12:40 PM

  3. Ben Adida
    Ben Adida
    • State changed from open to resolved

    Fabio: this issue should now be resolved on the public Helios site, and in github.

    September 17th, 2010 @ 04:55 PM

  4. Fabio Dapper
    Fabio Dapper

    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".

    September 29th, 2010 @ 11:02 AM

  5. Ben Adida
    Ben Adida

    Fabio: I was able to cast a ballot without trouble in that election. Can you retry and give more info about your browser/etc..?

    September 29th, 2010 @ 09:45 PM

  6. Fabio Dapper
    Fabio Dapper

    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.

    October 1st, 2010 @ 07:25 AM

  7. Fabio Dapper
    Fabio Dapper
    • No changes were found…

    October 8th, 2010 @ 09:43 AM

  8. Fabio Dapper
    Fabio Dapper

    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

    October 8th, 2010 @ 09:44 AM

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.