Skip to content

Save passwords as sensitive values #344

@janepie

Description

@janepie

Describe the bug

Passwords saved via Declarative Settings should be saved as sensitive values (encrypted) and not exposed to the frontend again.

Steps/Code to Reproduce

Use declarative settings to set a password and

  • check the db value and see it's unencrypted
  • reload the page and see that the placeholder dots match the password length

Expected Results

  • encrypted value in db
  • no exposing of the password again

Actual Results

  • unencrypted value in db
  • password exposed to frontend

Setup configuration

nc_py_api=0.19.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    nc upstream issuewaiting for it to be fixed/implemented in the Nextcloud

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions