{% extends "base.html" %} {% block title %}Verification Result — FieldWitness{% endblock %} {% block content %}
{% if found %}
{{ message }}
{% else %}
{{ message }}
{% endif %} {% if not is_image %}
This file is attested by cryptographic hash. Perceptual matching (pHash, dHash) is available for image files only.
{% endif %} {# Query file hashes #}
File Hashes for {{ filename }}
{{ query_hashes.sha256 }}
{% if query_hashes.phash %}
{{ query_hashes.phash }}
{% endif %}
{# Matching attestations #} {% for match in matches %}
Attestation {{ match.record.short_id }} {{ match.match_type }} match
{{ match.record.attestor_fingerprint[:16] }}... ({{ match.attestor_name }})
{{ match.record.timestamp.strftime('%Y-%m-%d %H:%M:%S UTC') }}
{% if match.record.captured_at %}
{{ match.record.captured_at.strftime('%Y-%m-%d %H:%M:%S') }}
{% endif %} {% if match.record.location %}
{{ match.record.location }}
{% endif %} {% if match.record.metadata.get('caption') %}
{{ match.record.metadata.caption }}
{% endif %}
{% if match.distances %}
Hash Distances
{% for name, dist in match.distances.items() %} {{ name }}: {{ dist }} {% endfor %}
{% endif %}
{% endfor %} {% if found %}
Download Verification Receipt

Generate a signed JSON receipt for legal or archival use. Re-upload the same file to produce the downloadable receipt.

{% endif %}
{% endblock %}