Add web push delivery diagnostics and iPhone recovery

This commit is contained in:
kzolotarev95 committed 2026-08-16 21:32:44 +04:00
1 parent 2438231ad2
commit d5804a9ecf
2 files changed
+851 -67

No files matched your search

+7
View File
@@ -139,6 +139,13 @@ install_python_deps_v2() {
if ! $SUDO /opt/owrt-remote/venv/bin/python -m pip install --upgrade fido2 >/dev/null; then
warn "Не смог поставить fido2 для Passkey/WebAuthn. Проверь internet/DNS на VPS."
fi
if ! $SUDO /opt/owrt-remote/venv/bin/python - <<'PY' >/dev/null 2>&1
from pywebpush import webpush, WebPushException # noqa: F401
from fido2.server import Fido2Server # noqa: F401
PY
then
warn "Hub venv создался, но Web Push/Passkey модули не импортируются. Выполни: sudo /opt/owrt-remote/venv/bin/python -m pip install --upgrade pywebpush fido2"
fi
}
install_xray_service() {