Jump to content

Anti-Harassment Tools/SecurePoll Improvements/creating an encrypted election

From mediawiki.org

1. When creating an election, under "Encryption" select "GPG"

2. Two new inputs will appear, "GPG encryption key" and "GPG signing key"

3. In the "GPG encryption key" input, put this:

-----BEGIN PGP PUBLIC KEY BLOCK-----

mQGNBGAYCVsBDADuUivBqnXoCmIZmmcTqlbTdvvHg8FVQt3qczgWOAD3SuqEeUnM
lUGxXpkb/yQF6+EbdtmfZhzInC+HV4QpJRWzirBwaG0Ms0R1o0Bph7VpScwKfME2
f34q5UCOYp523lQ/bfdt77k4gh4qQ/DjFMAzxLhTFaCaZE36zImcJ2N9WTthKY1a
6AmcbyLNxKX7ueeRMUClzFkTSEGyL0PQ2sXCx7rkLU98/FhCY3TtLd02aESYpdDq
EKMbZx6oWDAe2ruDN3npyO20lZ9/3f2uw4yB3bx/kmM30WAGu1jtR4P+i/eTXo/l
LjrPpL9fRswlkOnE08TfFY7O4kLuiHYuTQUmYi5a1bXX1ZnSLxP4IAwgFvNKOO/1
m0CeE18sYJrJwpJPqdSa3IlJHB4vdUUxxw5lQxH4Hhk+nrKGA1uuPtGYltEj8qtY
vOqEcHKijTmAxdADwtHCbvFAl1ZR/6vIRVMEzXhgDztqI31dWUh7nlL07Ju5rTRO
ZswQPXHY7d7ohqcAEQEAAbQUYmV0YXZvdGV3aWtpX2VuY3J5cHSJAdQEEwEKAD4W
IQSrYFYWyt04OElvMnspgbI4OF4NsgUCYBgJWwIbAwUJA8JnAAULCQgHAgYVCgkI
CwIEFgIDAQIeAQIXgAAKCRApgbI4OF4NspISC/9k4EJR4BkoZ40pEqNmf64lQCFs
Qoyqc0e5xHNgkXiUBnrjBS/pdFQC9Wmv9hZ89FkKlcQreEsFKzk5thhd5G//cAsa
NqBqvQ9tQK8AzD94f3C0IPzOs/+jLrJbO6xyvcMevDFvQQ95SrIwGRtV82nGN7sF
qtGoqQdlCLyLHLZUrwfna50CAg3NPg0qbi6lZMZj0vMR70c9VDnXe/mcEuuMCxrl
10I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