Skip to content

Store password for REST API feature as Argon2 hash instead of clear text. #198

Open

Description

@mplieske

It would be great to enhance the security of the REST API feature by hashing the password in the application.properties as an Argon2 hash.

I know this is not a high security context. Still I would feel better if secrets are encoded. Because why do you even have authentication if the credentials are not stored safely.

Activity

  1. added a commit that references this issue on Nov 26, 2025
  2. mplieske commented on Nov 26, 2025

    @mplieske
    ContributorAuthor

    I created PR #199 for this issue.

  3. mplieske commented on Dec 2, 2025

    @mplieske
    ContributorAuthor

    I spotted one issue here.

    The configuration screen reads the password from the application.properties and loads it into the view. If you already have a configuration for the REST API feature and you want to change something, eg the port, the already hashed password will be hashed and saved.

    I will provide a fix for this in the coming days.

    Probably we should only save a password if provided a new one and we should not load the password from the application.properties into the view.

    In case of no password being present in the application.properties we could display a warning.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions