#6 ✓resolved
Ben Adida

mismatched fingerprints

Reported by Ben Adida | August 26th, 2008 @ 04:51 PM | in UCL Demo

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

while the webpage shows: Fingerprint: oeXukYz0RnvgQ7ElSfoPx1Gf2bQ

Comments and changes to this ticket

  • Ben Adida

    Ben Adida August 26th, 2008 @ 04:52 PM

    • State changed from “new” to “open”
    • Tag set to crypto
  • Ben Adida

    Ben Adida August 29th, 2008 @ 12:51 PM

    this is a unicode encoding problem.

  • Ben Adida

    Ben Adida January 4th, 2009 @ 08:57 PM

    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.

  • Ben Adida

    Ben Adida January 4th, 2009 @ 10:16 PM

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

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.

New-ticket Create new ticket

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

People watching this ticket

Tags

Pages