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.

mismatched fingerprints

#6

Voting URL: http://www.heliosvoting.org/elections/agxoZWxpb3N2b3RpbmdyDwsSCEVsZWN0aW9uGIsEDA/vote Election Fingerprint: DKO2WXgLwFaSs1b19NAHO2M8ebI

while the webpage shows: Fingerprint: oeXukYz0RnvgQ7ElSfoPx1Gf2bQ

Reported by Ben Adida · August 26th, 2008 @ 04:51 PM

State: resolved
Milestone: UCL Demo
Assigned to: Ben Adida Ben Adida

Activity

  1. Ben Adida
    Ben Adida
    • State changed from new to open
    • Tag set to crypto

    August 26th, 2008 @ 04:52 PM

  2. Ben Adida
    Ben Adida

    this is a unicode encoding problem.

    August 29th, 2008 @ 12:51 PM

  3. Ben Adida
    Ben Adida

    looks like everything is good on the python end, but the javascript-based json'ifier is not serializing é to its unicode encoding. Thus the improper hash.

    A simple fix could be to not round-trip via the election object in JavaScript, but that is short-term. It would be best to have an improved json serializer that does proper unicode encoding in \uXXXX form.

    January 4th, 2009 @ 08:57 PM

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

    It appears to be JSON-compatible to not perform \u escaping, which complicates things because it's not clear how easy it is to do JavaScript \u escaping. Thus, the solution for now is to hash the raw JSON, before it is processed.

    January 4th, 2009 @ 10:16 PM

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.