Skip to content

Are hashed passwords allowed in simple auth? #587

Description

@dangarciahe

I've been trying to store hashed passwords instead of their plain-text version when using simple auth method, but have so far failed.

Spring boot documentation indicates that this should be allowed, but I found no mention on this in Shiny Proxy documentation.

What I tried was:

proxy:
  users:
    - name: jeff
      password: $2a$10$dXJ3SW6G7P50lGmMkkmwe.20cQQubK3.HZWzG3YB1tlRy.fqvM/BG

but this simply makes the new password the hashed value, not the string that produced this hash.

I also tried adding {bcrypt} as a prefix: password: {bcrypt}$2a$10$dXJ3SW6G7P50lGmMkkmwe.20cQQubK3.HZWzG3YB1tlRy.fqvM/BG, as outlined in Boot Spring docs, but this causes Shiny Proxy to crash.

Is it possible to store hashed passwords instead of plain-text ones when using simple auth?

This was tested in Shiny Proxy 3.2.3

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions