Bind stove API keys to configured client IP

This commit is contained in:
anor
2026-11-27 03:26:42 +10:00
parent 086a993e8a
commit be5a29277a
13 changed files with 235 additions and 25 deletions
+1 -1
View File
@@ -35,7 +35,7 @@ def env(tmp_path, monkeypatch):
@pytest.fixture()
def key_id(env):
return stove_keys.create_key(name="k")["id"]
return stove_keys.create_key(name="k", allowed_ip="127.0.0.1")["id"]
def _iso(ts):