Currently, Debian has two running votings: DPL election 2021 and
GR about RSM.

If you want to use the command line only for sending the filled ballot per email, there are a couple of helpers.

Let us assume, that you have got the ballot, filled it and saved as a vote.txt.

Signed-only message

If it is acceptable for you yo send signed only message (not encrypted), use following snippets:

cat vote.txt | gpg --clearsign |  mail leader2021@vote.debian.org
cat vote.txt | gpg --clearsign |  mail gr_rms@vote.debian.org

Signed and encrypted message

If you wish to encrypt the message, the public key which is attached to the ballot should be imported with

gpg --import public_key.asc

Then you can vote.

cat vote.txt | gpg --encrypt --armor -s -r leader2021@vote.debian.org |  mail leader2021@vote.debian.org
cat vote.txt | gpg --encrypt --armor -s -r gr_rms@vote.debian.org |  mail gr_rms@vote.debian.org

You can specify some more parameters to the mail such as “From:”-field and “reply-to” address:

...  mail gr_rms@vote.debian.org -a "From: Max Mustermann <max.mustermann@debian.org>" -r max.mustermann@debian.org

Hope that helps.



Source link

By admin

Leave a Reply

Your email address will not be published. Required fields are marked *