Skip to content

#742 - Fix Encryption Package Overwrite Bug#782

Merged
lprichar merged 1 commit intomainfrom
bug/742-package-overwrite
Sep 6, 2022
Merged

#742 - Fix Encryption Package Overwrite Bug#782
lprichar merged 1 commit intomainfrom
bug/742-package-overwrite

Conversation

@lprichar
Copy link
Copy Markdown
Contributor

@lprichar lprichar commented Sep 6, 2022

Issue

Fixes #742

Description

This fixes the bug where a creating a second election internally overwrites the election package of any prior elections.

Testing

  1. Create key ceremony
  2. Create election
  3. Create a 2nd key ceremony
  4. Create a 2nd election
  5. Go to 1st election
  6. Export 1st election's encryption page
  7. Encrypt and upload ballots based the exported encryption package to the 1st election
  8. Perform a decryption

Expected: this previously caused an infinite loop. Now it does not.

Copy link
Copy Markdown
Contributor

@SteveMaier-IRT SteveMaier-IRT left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

straight forward. looks good.

@lprichar lprichar merged commit 8285a1a into main Sep 6, 2022
@lprichar lprichar deleted the bug/742-package-overwrite branch September 6, 2022 18:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

🐞 GUI Overwrites Election Packages

2 participants