{%- extends "logs/layout.html" %} {%- block content %} {%- if result.policy %} {%- else %}
{% if result.key or not result.keylist %}
{% if result.key %}
{% else %}
{% endif %}
{% else %}

{{_("Encryption Key Management")}}

{% endif %} {% if result.key or result.keylist %}
{{ csrf_field|safe }} {% if not result.key %} {% endif %}
{%- if result.error %}

{{ result.error }}

{%- elif result.key and result.op_completed %} {%- if result.stored_password %}

{{ _("The password is:") }} {{ result.stored_password }}

{%- else %}

{{ title }}

{%- endif %} {%- endif %}

{{ _("Unlocking a key allows Mailpile to use it for decryption and creating digital signatures.") }}
{{ _("By default, unlocked keys stay accessible until you restart Mailpile.") }}

{{ _("If Mailpile remembers the password, you will not have to unlock the key again.") }}

{{ _("Locked keys can not be used for decryption or digital signatures.") }}

{{ _("Please authenticate using your Mailpile password.") }}

{% if state.query_args.ui_redirect_back %} {% elif False and not result.key %} {% endif %}
{% else %}

{{_("No Keys Here!")}}

{{_("Encryption keys can be created during the account creation process.")}}

{{ result|json }}
{% endif %}
{%- endif %} {%- endblock %}