{% extends "base.html" %} {% block title %}{{ t('bank_keys.title') }} — {{ connection.connection_id }} — painfree{% endblock %} {% block head %}{% if outstanding %}{% endif %}{% endblock %} {% block body %}

{{ t('bank_keys.heading') }} — {{ connection.connection_id }}

{{ t('bank_keys.read_this') }} {{ t('bank_keys.read_this_body') }}

{{ t('bank_keys.what_hpb') }}

{# The fingerprints are hex over a key. They are values, not prose: the grouping is the engine's own so that this page and the bank's letter print the same 64 characters the same way. #}

{{ t('bank_keys.convention') }} {{ connection.letter_digest.value }}. {{ t('bank_keys.grouped') }}

{% for role, value in received.items() %}

{{ t('bank_keys.role_' ~ role) }} — {{ 'X002' if role == 'authentication' else 'E002' }}

{{ value | fingerprint }} {% endfor %} {% for key in staged %} {% endfor %}
{{ t('bank_keys.received', version=key.version.value) }}{{ key.created_at | moment }}
{% if may('connections:write') %}

{{ t('bank_keys.confirm') }}

{{ t('bank_keys.confirm_body') }}

{{ t('bank_keys.decline') }}

{{ t('bank_keys.decline_body') }}

{{ t('bank_keys.decide_later') }}
{% else %}

{{ t('bank_keys.needs_scope') }}

{% endif %} {% endblock %}