Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
X xlte
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Kirill Smelkov
  • xlte
  • Merge requests
  • !6

Merged
Created May 23, 2024 by Kirill Smelkov@kirrMaintainer

Add support for password-based authentication and use it in XLog

  • Overview 3
  • Commits 2
  • Changes 2

Quoting the patches:

---- 8< ----
amari: Conn: add support for password-based authentication

Sometimes Amarisoft services are setup to require custom challenge/response authentication upon connecting to their WebSocket. In 61ad9032 (amari: Add functionality to interoperate with an Amarisoft LTE service via WebSocket) I've put TODO for that but now we start to need it.

-> Implement corresponding support for password-based authentication.

In the next patch we will teach XLog to use it.

See https://tech-academy.amarisoft.com/lteenb.doc#Startup for details of the authentication handshake protocol.

/cc @lu.xu

---- 8< ----
amari.xlog: Add support for password-based authentication

Add new --password option and wire it to go to amari.connect(password=...)

Support for password-based authentication in amari.connect was just added in the previous patch.

We need to extend filtering of logged fields on service attach a bit since now the first service message can be both 'ready' and 'authenticate', and besides e.g. 'message' we don't want to log what was the 'challenge'.

/cc @lu.xu

Assignee
Assign to
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Source branch: y/wsauth
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7