Skip to content

SERVER_HASHED_PASSWORD incorrect password #195

Open
@estuardoquan

Description

@estuardoquan

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

I've tried running both my personal py srcipt with bcrypt, which starts with $2b$12$; and the argon one on the example 'thisismypassword' and both of them are failing... please advice

Expected Behavior

No response

Steps To Reproduce

// docker-compose.yml
...
environment:
...
    HASHED_PASSWORD: $$argon2i$$v=19$$m=4096,t=3,p=1$$wST5QhBgk2lu1ih4DMuxvg$$LS1alrVdIWtvZHwnzCM1DUGg+5DTO3Dt1d5v9XtLws4

Environment

- OS: Fedora Server
- How docker service was installed: via dnf

CPU architecture

x86-64

Docker creation

docker compose up -d

Container logs

editor-1  | [migrations] started                                                                                                             │ Fedora 41 - x86_64                                                                                  100% |  57.1 KiB/s |  30.5 KiB |  00m01s
editor-1  | [migrations] no migrations found                                                                                                 │ Fedora 41 - x86_64 - Updates                                                                        100% |   1.8 MiB/s |   2.7 MiB |  00m01s
editor-1  | ───────────────────────────────────────                                                                                          │Repositories loaded.
editor-1  |                                                                                                                                  │augeas-libs.x86_64 1.14.2-0.4.20250324git4dffa3d.fc41 updates
editor-1  |       ██╗     ███████╗██╗ ██████╗                                                                                                │[admin@fedora:~] $ sudo dnf update
editor-1  |       ██║     ██╔════╝██║██╔═══██╗                                                                                               │[sudo] password for admin: 
editor-1  |       ██║     ███████╗██║██║   ██║                                                                                               │Updating and loading repositories:
editor-1  |       ██║     ╚════██║██║██║   ██║                                                                                               │ Fedora 41 - x86_64 - Updates                                                                        100% |  91.5 KiB/s |  28.9 KiB |  00m00s
editor-1  |       ███████╗███████║██║╚██████╔╝                                                                                               │ Fedora 41 - x86_64 - Updates                                                                        100% |   1.8 MiB/s |   2.8 MiB |  00m02s
editor-1  |       ╚══════╝╚══════╝╚═╝ ╚═════╝                                                                                                │Repositories loaded.
editor-1  |                                                                                                                                  │Package                                        Arch        Version                                        Repository                     Size
editor-1  |    Brought to you by linuxserver.io                                                                                              │Upgrading:
editor-1  | ───────────────────────────────────────                                                                                          │ augeas-libs                                   x86_64      1.14.2-0.4.20250324git4dffa3d.fc41             updates                     1.2 MiB
editor-1  |                                                                                                                                  │   replacing augeas-libs                       x86_64      1.14.2-0.1.20240903git2de06e0.fc41             anaconda                    1.2 MiB
editor-1  | To support LSIO projects visit:                                                                                                  │
editor-1  | https://www.linuxserver.io/donate/                                                                                               │Transaction Summary:
editor-1  |                                                                                                                                  │ Upgrading:          1 package
editor-1  | ───────────────────────────────────────                                                                                          │ Replacing:          1 package
editor-1  | GID/UID                                                                                                                          │
editor-1  | ───────────────────────────────────────                                                                                          │Total size of inbound packages is 413 KiB. Need to download 413 KiB.
editor-1  |                                                                                                                                  │After this operation, 256 B extra will be used (install 1 MiB, remove 1 MiB).
editor-1  | User UID:    1000                                                                                                                │Is this ok [y/N]: y
editor-1  | User GID:    1000                                                                                                                │[1/1] augeas-libs-0:1.14.2-0.4.20250324git4dffa3d.fc41.x86_64                                        100% |   1.1 MiB/s | 412.7 KiB |  00m00s
editor-1  | ───────────────────────────────────────                                                                                          │---------------------------------------------------------------------------------------------------------------------------------------------
editor-1  | Linuxserver.io version: 4.98.2-ls261                                                                                             │[1/1] Total                                                                                          100% | 595.5 KiB/s | 412.7 KiB |  00m01s
editor-1  | Build-date: 2025-03-22T20:23:16+00:00                                                                                            │Running transaction
editor-1  | ───────────────────────────────────────                                                                                          │[1/4] Verify package files                                                                           100% | 250.0   B/s |   1.0   B |  00m00s
editor-1  |                                                                                                                                  │[2/4] Prepare transaction                                                                            100% |  17.0   B/s |   2.0   B |  00m00s
editor-1  | [custom-init] No custom files found, skipping...                                                                                 │[3/4] Upgrading augeas-libs-0:1.14.2-0.4.20250324git4dffa3d.fc41.x86_64                              100% |   3.4 MiB/s |   1.2 MiB |  00m00s
editor-1  | [2025-03-29T16:40:37.290Z] info  code-server 4.98.2 e2c489dd00f163b1a8d959965b0c30c1a978a080                                     │[4/4] Removing augeas-libs-0:1.14.2-0.1.20240903git2de06e0.fc41.x86_64                               100% |   1.2 KiB/s | 245.0   B |  00m00s
editor-1  | [2025-03-29T16:40:37.291Z] info  Using user-data-dir /config/data                                                                │Complete!
editor-1  | [2025-03-29T16:40:37.307Z] info  Using config file /config/.config/code-server/config.yaml                                       │[admin@fedora:~] $ 
editor-1  | [2025-03-29T16:40:37.307Z] info  HTTP server listening on http://0.0.0.0:8443/                                                   │
editor-1  | [2025-03-29T16:40:37.307Z] info    - Authentication is enabled                                                                   │
editor-1  | [2025-03-29T16:40:37.307Z] info      - Using password from $HASHED_PASSWORD                                                      │
editor-1  | [2025-03-29T16:40:37.307Z] info    - Not serving HTTPS                                                                           │
editor-1  | [2025-03-29T16:40:37.307Z] info  Session server listening on /config/data/code-server-ipc.sock                                   │
editor-1  | Connection to 127.0.0.1 8443 port [tcp/*] succeeded!                                                                             │
editor-1  | [ls.io-init] done.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Issues

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions