Skip to content

Using password as a hashed string problem. Worked on v1.9.1 and stopped working on v.1.12.3 #4698

@VladStealth

Description

@VladStealth

Which version are you using?

1.12.3

Which operating system are you using?

Windows amd64 standard

Describe how to replicate the issue

When I use plain credentials, everything works as expected (1.12.3)
I can connect to mediaMTX and receive stream from cameras

authInternalUsers:
- user: rtsp
  pass: rtsp
  ips: []
  permissions:
  - action: publish
    path:
  - action: read
    path:
  - action: playback
    path:

On v1.9.1 I had plain username and hashed password.
It worked file before. Now, I am trying to move to the latest v1.12.3 expecting the feature with hashed password still works.

When I use hashed password on v1.12.3 I have 401 response.
Again, plain password works as expected.

authInternalUsers:
- user: rtsp
  pass: sha256:q9A3LaO+agZNkYBCYFnA0+jDLxXMykcBgHxhi08te+U=
  ips: []
  permissions:
  - action: publish
    path:
  - action: read
    path:
  - action: playback
    path:

Server logs

No response

Network dump

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggeneral

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions