{% extends "base.html" %} {% block content %}
{% if show_encryption %}

XMPP Channel

Component JID {{ xmpp_state.omemo_target_jid|default:"—" }}
OMEMO {% if xmpp_state.omemo_enabled %} Active {% else %} {{ xmpp_state.omemo_status|default:"not configured" }} {% endif %}
Status reason {{ xmpp_state.omemo_status_reason|default:"—" }}
Component fingerprint {{ xmpp_state.omemo_fingerprint|default:"—" }}

Security Policy

{% csrf_token %}

When enabled, any plaintext XMPP message to the gateway is rejected before command routing.

This is separate from command-scope policy checks such as Require Trusted Fingerprint.

When enabled, relay text from contacts is sent with OMEMO when available. If disabled, relay text is sent in plaintext.

Your XMPP Client

{% if omemo_row %}
Status {% if omemo_row.status == "detected" %} {{ omemo_row.status }} {% elif omemo_row.status == "no_omemo" %} no OMEMO observed {% elif omemo_row.status == "error" %} {{ omemo_row.status }} {% else %} {{ omemo_row.status }} {% endif %}
Client OMEMO {% if omemo_client_fingerprint %}
Client fingerprint: {{ omemo_client_fingerprint }}

This is your client OMEMO fingerprint observed by the gateway.

{% elif omemo_client_key_info.has_ids %}
{% if omemo_client_key_info.sid %}
Your device ID: {{ omemo_client_key_info.sid }}
{% endif %} {% if omemo_client_key_info.rid %}
Gateway device ID: {{ omemo_client_key_info.rid }}
{% endif %}

These IDs identify the OMEMO devices that participated in the encrypted message.

{% else %} {{ omemo_row.latest_client_key|default:"—" }} {% endif %}
Contact JID {{ sender_jid.bare|default:"—" }}
Resource {{ sender_jid.resource|default:"—" }}
GIA component {{ omemo_row.last_target_jid|default:"—" }}
Last seen {{ omemo_row.last_seen_at|default:"—" }}
Updated {{ omemo_row.updated_at }}
{% else %}

No OMEMO observation recorded yet. Send a message via XMPP to populate this.

{% endif %}

OMEMO Trust Management

Manage trust for discovered OMEMO keys observed by the gateway.

Note: You are responsible for trusting your own other devices from your other XMPP clients.

{% if discovered_omemo_keys %} {% for item in discovered_omemo_keys %} {% endfor %}
JID Type Discovered key Source Trusted
{{ item.jid }} {{ item.key_type }} {{ item.key_id }} {{ item.label }} {% if item.trusted %} trusted {% else %} not trusted {% endif %}
{% csrf_token %}
{% else %}

No discovered OMEMO keys yet. Send an OMEMO message to populate this list.

{% endif %}
{% endif %} {% if show_permission %}

Global Scope Override

This scope can force settings across all Command Security Scopes.

{% csrf_token %}

Global Scope Override

Remote controls for local scope security checkboxes.

global.override

Scope Enabled {% if global_override.values.scope_enabled == "on" %} Force On {% elif global_override.values.scope_enabled == "off" %} Force Off {% else %} Per Scope {% endif %}
{% for service in policy_services %} {{ service }} {% endfor %}

Set each field to Per Scope to edit that field inside local scopes.

{% if security_settings.require_omemo %}

Locked by Encryption setting: disable "Require OMEMO encryption" to edit this override.

{% endif %}
{% for service in policy_services %} {% endfor %}

Allowed Services: xmpp, whatsapp, signal, instagram, web.

Leave all unchecked to allow all services.

{% for rule in global_override.channel_rules %}
{% endfor %}

Leave pattern rows empty to allow all channels for allowed services.

Fine-Grained Security Scopes

Choose a top-level category, expand a scope, then click Change to edit that scope.

{% for group in policy_groups %}
{% for row in group.rows %}
{{ row.label }} {{ row.scope_key }} Scope Enabled {% if row.enabled %} On {% else %} Off {% endif %}
{% csrf_token %}

{{ row.description }}

{% for service in policy_services %} {{ service }} {% endfor %}
{% for service in policy_services %} {% endfor %}

Allowed Services: xmpp, whatsapp, signal, instagram, web.

Leave all unchecked to allow all services.

{% for rule in row.channel_rules %}
{% endfor %}

Leave pattern rows empty to allow all channels for allowed services.

{% endfor %}
{% endfor %}
{% endif %} {% if show_encryption %}

OMEMO Enablement Plan

Complete each step to achieve end-to-end encrypted messaging with the gateway.

{% for step in omemo_plan %} {% endfor %}
{% if step.done %} {% else %} {% endif %} {{ step.label }} {{ step.hint }}
{% endif %}
{% endblock %}