Skip to content

Commit 84f6dc8

Browse files
remote/authenticator: drop obsolete ticket authenticator
Now that labgrid-project#1079 and labgrid-project#1136 are merged, the coordinator no longer supports ticket authentication. Drop the corresponding authenticator class, do not advertise ticket auth anymore. Exporters and clients might still talk to older coordinator versions, so leave ticket authentication for these components enabled. Signed-off-by: Bastian Krause <[email protected]>
1 parent 80595d5 commit 84f6dc8

File tree

3 files changed

+1
-27
lines changed

3 files changed

+1
-27
lines changed

labgrid/remote/authenticator.py

-20
This file was deleted.

labgrid/remote/coordinator.py

+1-4
Original file line numberDiff line numberDiff line change
@@ -133,14 +133,11 @@ async def onConnect(self):
133133
enable_tcp_nodelay(self)
134134
self.join(
135135
self.config.realm,
136-
authmethods=["anonymous", "ticket"],
136+
authmethods=["anonymous"],
137137
authid="coordinator",
138138
authextra={"authid": "coordinator"},
139139
)
140140

141-
def onChallenge(self, challenge):
142-
return "dummy-ticket"
143-
144141
@locked
145142
async def onJoin(self, details):
146143
await self.subscribe(self.on_session_join, 'wamp.session.on_join')

pyproject.toml

-3
Original file line numberDiff line numberDiff line change
@@ -157,9 +157,6 @@ testpaths = [
157157
]
158158
addopts = "-p no:labgrid"
159159

160-
[tool.pylint.MASTER]
161-
ignore-paths = ["labgrid/remote/authenticator.py"]
162-
163160
[tool.pylint.imports]
164161
ignored-modules = ["gi"]
165162

0 commit comments

Comments
 (0)