Skip to content

Password length limited to 20 when using docker image and DBA_PASSWORD env variable #1369

@jakubklimek

Description

@jakubklimek

It seems that the dba password length is limited to 20 when setting it in docker image via env variable.

Repro:

20 characters password

  1. docker run --name my_virtdb --interactive --tty --env DBA_PASSWORD=eV6cuMJMBlz81ITbz8e2 --publish 1111:1111 --publish 8890:8890 openlink/virtuoso-opensource-7:latest
  2. Open http://localhost:8890
  3. Try to log in using dba/eV6cuMJMBlz81ITbz8e2 - user gets logged in

21+ characters password

  1. delete container from previous attempt
  2. docker run --name my_virtdb --interactive --tty --env DBA_PASSWORD=eV6cuMJMBlz81ITbz8e21 --publish 1111:1111 --publish 8890:8890 openlink/virtuoso-opensource-7:latest
  3. Open http://localhost:8890
  4. Try to log in using dba/eV6cuMJMBlz81ITbz8e21 - results in bad login

The longer password is present in /opt/virtuoso-opensource/settings/dba_password, it just does not work.
When setting the longer password to dba via conductor, it then works.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions