{% extends "base.html" %} {% block title %}{{ t('letter.title') }} — {{ connection.connection_id }} — painfree{% endblock %} {% block body %}

{{ t('letter.back') }} {{ t('letter.hint') }}

{# The letter is a document the bank reads. Its headings follow the console's language, because the person printing it is the reader who has to check it; the exponent, the modulus and the hashes are values and are printed exactly as the engine formats them, in every locale. #}

{{ t('letter.heading') }}

{# Named in words, not as `public_key`. The bank clerk comparing this against what INI and HIA delivered has to know which of the two hashes over a key this is, and a letter that does not say costs a phone call -- which is how this line came to be written. #}
HostID{{ letter.host_id }}
PartnerID{{ letter.partner_id }}
UserID{{ letter.user_id }}
{{ t('letter.date') }}{{ keys_created_at | moment }}
{{ t('letter.hash_convention') }} {{ t('letter.convention_' ~ letter.digest.value) }}
{% for key in letter.keys %}

{{ key.version.value }} — {{ t('letter.key_of', role=key.version.role.value, bits=key.modulus_bits) }}

{{ t('letter.exponent') }}

{{ key.exponent }}

{{ t('letter.modulus') }}

{{ key.modulus }}

{{ t('letter.hash') }}

{{ key.fingerprint_formatted }}
{% endfor %}

{{ t('letter.declaration') }}

{{ t('letter.signature_line') }}
{% endblock %}