feat: add protected one-time TOTP QR enrollment

This commit is contained in:
2026-11-16 10:10:31 +01:00
parent a12ca4d46c
commit d92340ed89
17 changed files with 694 additions and 7 deletions

View File

@ -0,0 +1,8 @@
#!/usr/bin/env bash
# Zweck: KeyForge in vorhandener UFW ausschließlich für das Heimnetz freigeben.
# Wichtige Information: Adressen und Interface entsprechen srv04; benötigt root.
# Version: 1
set -euo pipefail
[[ $(id -u) == 0 ]] || { echo 'Bitte mit sudo ausführen.'; exit 1; }
ufw allow in on enp6s0 proto tcp from 192.168.12.0/23 to 192.168.12.4 port 8787 comment 'KeyForge LAN'
ufw status numbered