Files
bellsystems-cp/backend/mqtt/mosquitto.py

18 lines
537 B
Python

"""
mqtt/mosquitto.py — no-ops since Stage 5.
Auth is now HMAC-based via the go-auth HTTP plugin.
These functions are kept as no-ops so existing call sites don't break.
They can be removed entirely in Phase 6 cleanup.
"""
def register_device_password(serial_number: str, password: str) -> bool:
"""No-op. HMAC auth is derived on demand — no registration needed."""
return True
def remove_device_password(serial_number: str) -> bool:
"""No-op. HMAC auth is derived on demand — no removal needed."""
return True