{% extends "base.html" %} {% block title %}{{ t('profile.ssh_keys', 'SSH Keys') }} - {{ config.BBS_NAME }}{% endblock %} {% block content %}
{{ t('profile.ssh_keys', 'SSH Keys') }}

{{ t('profile.ssh_keys_help', 'A registered public key lets you log in over SSH with no password prompt at all — the key itself proves your identity during the SSH handshake. Password login keeps working exactly as before, with or without a registered key.') }}

{{ t('profile.paste_key_instruction', 'Paste the contents of your public key file (for example, ~/.ssh/id_ed25519.pub) — never the private key.') }}
{{ t('profile.registered_keys', 'Registered Keys') }} ({{ keys|length }})
{% if keys %} {% for k in keys %} {% endfor %}
{{ t('profile.key_label', 'Label') }}{{ t('profile.key_fingerprint', 'Fingerprint') }}{{ t('profile.key_date', 'Added') }}
{{ k.label or t('profile.no_label', '(none)') }} {{ k.fingerprint }} {{ k.created_at|eastern('%Y-%m-%d') }}
{% else %}
{{ t('profile.no_keys', 'No SSH keys registered yet — add one above.') }}
{% endif %}
{% endblock %}