Today has been a trip down memory lane for me. The ballots that Votebox implements are all written in XML, a language I haven't used since high school CS1. XML is an effective form of ballot transcription and Qt works well with it, allowing fairly easy acss to XML elements. While I was originally going to switch the XML ballot system to JSON, which is much more familiar to me now, I decided I'd stick it out and reacquaint myself with the former.
The first step in securing Votebox from erroneous ballots or a transmission based attack is to provide a schema that all ballots, incoming and outgoing, need to abide by. The schema then acts as a keyhole for the XML ballot, and checks its elements to make sure they're in proper order, and then acts accordingly. Hopefully within the week this schema system will be in place.
No comments:
Post a Comment