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

{% trans "Trustees" %} [{% trans "back to election" %}]

{{election.name}}


{% if admin_p %} {% blocktrans %} 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 his secret key. {% endblocktrans %}

{% if not election.frozen_at %}

{% if election.has_helios_trustee %} {% blocktrans %} 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. {% endblocktrans %} {% endif %}

{% trans "add a trustee" %}

{% if not election.has_helios_trustee %}

{% trans "add Helios as a trustee" %}

{% endif %} {% endif %} {% else %} {% trans "Below are listed the trustees for this election." %} {% endif %} {% if not trustees|length %} {% else %}

{% for t in trustees %} {% endfor %}
{% trans "Trustee" %} {% trans "Public Key Fingerprint:" %}
#{{forloop.counter}}: {{t.name}} {% if t.public_key_hash %} {{t.public_key_hash}} {% else %} {% trans "No public key uploaded yet." %} {% endif %} {% if election.encrypted_tally %} {% if t.decryption_factors %} {% else %} {% endif %} {% endif %} {% if admin_p %} {% if t.secret_key %} {% if not election.frozen_at %} {% endif %} {% else %} {{t.email}} {% if not election.frozen_at %} {% endif %} {% endif %} {% endif %}
{% endif %} {% endblock %}