mismatched fingerprints
-
Ben Adida
- State changed from new to open
- Tag set to crypto
-
Ben Adida
this is a unicode encoding problem.
-
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.
-
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.
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.