Complete project rebrand for better positioning in the press freedom and digital security space. FieldWitness communicates both field deployment and evidence testimony — appropriate for the target audience of journalists, NGOs, and human rights organizations. Rename mapping: - soosef → fieldwitness (package, CLI, all imports) - soosef.stegasoo → fieldwitness.stego - soosef.verisoo → fieldwitness.attest - ~/.soosef/ → ~/.fwmetadata/ (innocuous data dir name) - SOOSEF_DATA_DIR → FIELDWITNESS_DATA_DIR - SoosefConfig → FieldWitnessConfig - SoosefError → FieldWitnessError Also includes: - License switch from MIT to GPL-3.0 - C2PA bridge module (Phase 0-2 MVP): cert.py, export.py, vendor_assertions.py - README repositioned to lead with provenance/federation, stego backgrounded - Threat model skeleton at docs/security/threat-model.md - Planning docs: docs/planning/c2pa-integration.md, docs/planning/gtm-feasibility.md Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
60 lines
2.6 KiB
HTML
60 lines
2.6 KiB
HTML
{% extends "base.html" %}
|
|
{% block title %}Fieldkit Status — FieldWitness{% endblock %}
|
|
{% block content %}
|
|
<h2><i class="bi bi-speedometer2 me-2"></i>Fieldkit Status</h2>
|
|
<p class="text-muted">Security monitors and system health.</p>
|
|
|
|
<div class="row g-4">
|
|
{# Dead Man's Switch #}
|
|
<div class="col-md-6">
|
|
<div class="card bg-dark border-secondary">
|
|
<div class="card-body">
|
|
<h5 class="card-title">
|
|
<i class="bi bi-clock-history me-2"></i>Dead Man's Switch
|
|
{% if deadman_status.armed %}
|
|
{% if deadman_status.overdue %}
|
|
<span class="badge bg-danger ms-2">OVERDUE</span>
|
|
{% else %}
|
|
<span class="badge bg-success ms-2">Armed</span>
|
|
{% endif %}
|
|
{% else %}
|
|
<span class="badge bg-secondary ms-2">Disarmed</span>
|
|
{% endif %}
|
|
</h5>
|
|
{% if deadman_status.armed %}
|
|
<p class="text-muted small">
|
|
Interval: {{ deadman_status.interval_hours }}h
|
|
({{ deadman_status.grace_hours }}h grace)<br>
|
|
Last check-in: {{ deadman_status.last_checkin or 'Never' }}<br>
|
|
{% if deadman_status.get('next_due') %}
|
|
Next due: {{ deadman_status.next_due }}
|
|
{% endif %}
|
|
</p>
|
|
<form method="POST" action="{{ url_for('fieldkit.deadman_checkin') }}">
|
|
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}"/>
|
|
<button type="submit" class="btn btn-success btn-sm">
|
|
<i class="bi bi-check-circle me-1"></i>Check In Now
|
|
</button>
|
|
</form>
|
|
{% else %}
|
|
<p class="text-muted small">Not currently armed. Enable in config or via CLI.</p>
|
|
{% endif %}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
{# Killswitch #}
|
|
<div class="col-md-6">
|
|
<div class="card bg-dark border-secondary">
|
|
<div class="card-body">
|
|
<h5 class="card-title"><i class="bi bi-exclamation-octagon me-2 text-danger"></i>Killswitch</h5>
|
|
<p class="text-muted small">Emergency data destruction. Destroys all keys, attestation logs, and auth data.</p>
|
|
<a href="{{ url_for('fieldkit.killswitch') }}" class="btn btn-outline-danger btn-sm">
|
|
<i class="bi bi-exclamation-octagon me-1"></i>Killswitch Panel
|
|
</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|