kth-tcs / trustfull-demonstrator

Code for the demonstrator of the Trustfull project based on the e-voting system verificatum
1 stars 4 forks source link

Election is not restarted properly #24

Closed algomaster99 closed 2 years ago

algomaster99 commented 2 years ago

Tallying after resetting a voting session does not work now. The tally command outputs the following message.

Exception in thread "main" com.verificatum.protocol.ProtocolError: Attempting to shuffle in a used session!
        at com.verificatum.protocol.mixnet.MixNetElGamalSession.shuffle(MixNetElGamalSession.java:207)
        at com.verificatum.protocol.mixnet.MixNetElGamalSession.mix(MixNetElGamalSession.java:342)
        at com.verificatum.protocol.mixnet.MixNetElGamalSession.mix(MixNetElGamalSession.java:357)
        at com.verificatum.protocol.mixnet.MixNetElGamalTool.processMixing(MixNetElGamalTool.java:961)
        at com.verificatum.protocol.mixnet.MixNetElGamalTool.main(MixNetElGamalTool.java:1151)
algomaster99 commented 2 years ago

I had a meeting with Douglas about this. We first need to delete the session of the entire mix net using -delete flag define before we can start tallying again.