Skip to content

Commit d5d43ff

Browse files
Bastian-Krauserpoisel
authored andcommitted
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 f6dc389 commit d5d43ff

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
@@ -161,9 +161,6 @@ testpaths = [
161161
]
162162
addopts = "-p no:labgrid"
163163

164-
[tool.pylint.MASTER]
165-
ignore-paths = ["labgrid/remote/authenticator.py"]
166-
167164
[tool.pylint.imports]
168165
ignored-modules = ["gi"]
169166

0 commit comments

Comments
 (0)