{% extends "helios/templates/cryptobase.html" %} {% block title %}Trustees for {{election.name}}{% endblock %} {% block content %}

{{election.name}} — Trustees [back to election]

Trustees are responsible for decrypting the election result.
Each trustee generates a keypair and submits the public portion to Helios.
When it's time to decrypt, each trustee needs to provide their secret key.

{% if not election.frozen_at %}

Helios is automatically your first trustee and will handle its keypair generation and decryption automatically.
You may add additional trustees if you want, and you can even remove the Helios trustee.
However, we recommend you do this only if you have a solid understanding of the trustee's role.

{% if admin_p %}

[ add a trustee ]

{% if not election.has_helios_trustee %}

add Helios as a trustee

{% endif %} {% endif %} {% endif %} {% if not trustees|length %} {% else %} {% for t in trustees %}
Trustee #{{forloop.counter}}: {{t.name}} {% if admin_p %} {% if t.secret_key %} {% if not election.frozen_at %}[x]{% endif %} {% else %} ({{t.email}}) {% if not election.frozen_at %}[x]{% endif %} [send login] {% endif %} {% endif %}

{% if t.public_key_hash %} Public Key Fingerprint: {{t.public_key_hash}} {% else %} No public key uploaded yet. {% endif %}

{% if election.encrypted_tally %} {% if t.decryption_factors %} tally recorded for this trustee. {% else %} waiting for this trustee's tally {% endif %} {% endif %} {% endfor %} {% endif %} {% endblock %}