Skip to content

Faulty comparison with the use_bitwarden environment variable #2

@eleumasc

Description

@eleumasc

The "use_bitwarden" environment variable is defined with a boolean value True or False in docker-compose.yaml, and the value is automatically coerced into the string "True" or "False" when imported into the environment. Hence, in entrypoint-unpriviled.sh, the conditional "$use_bitwarden" == true is always false.

PROPOSED SOLUTION: Replace the above check with "$use_bitwarden" == "True".

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions