MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / _gf_std

Function _gf_std

webapp_modern.py:730–735  ·  view source on GitHub ↗
(arr)

Source from the content-addressed store, hash-verified

728 This authenticates a remote purely by the secret token — independent of
729 tailnet identity — so a remote reaching us over Tailscale node-sharing or
730 Funnel (a separate tailnet) can still push a file to our inbox. The token
731 grants exactly one thing: POST /api/mesh/files/push. Constant-time compared.
732 """
733 import hmac
734 auth = request.headers.get('Authorization', '')
735 if not auth.startswith('Bearer '):
736 return False
737 presented = auth[7:].strip()
738 if not presented:

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected