siv-org / siv

Secure Internet Voting protocol
https://siv.org
Other
12 stars 8 forks source link

Link Auth votes aren't being emailed encrypted ballot submissions #186

Open dsernst opened 2 months ago

dsernst commented 2 months ago

Don't have their email yet at time-of-submission, so can't send it in /submit-vote.

Good solution would be to add it to the verification-email that gets sent out after they fill out the next auth page:

https://github.com/siv-org/siv/blob/0299cea59dcd6c5bbdba43b1503fae0a1eb0029f/pages/api/election/%5Belection_id%5D/submit-link-auth-info.ts

dsernst commented 2 months ago

Actually would be better not to put encrypted-vote-receipt on the Verification Email, which would make that a bit more confusing, and instead only after they click the "Confirm it was me" button in that email.