Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • fusiondirectory fusiondirectory
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 35
    • Issues 35
    • List
    • Boards
    • Service Desk
    • Milestones
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Terraform modules
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • fusiondirectoryfusiondirectory
  • fusiondirectoryfusiondirectory
  • Issues
  • #6125
Closed
Open
Issue created Nov 12, 2020 by bmortier@bmortierMaintainer

add an option to output clear password when we use --encrypt-passwords

Descriptive title for this enhancement

add an option to fusiondirectory-setup to output clear password when we use --encrypt-passwords

Actual behavior

Not implemented

Expected behavior

fusiondirectory-setup --check-config-password <environment(default = default)> displays my_clear_password

Step by step description of new behaviour

  1. Add the option

Benefits

  • Admins inheriting FD installations can decrypt password
  • Automation tools like Ansible or puppet have a way to validate a password against the encrypted one without crafting clear password config and reencrypt on each run (showing a change when there is not)
  • For the previous point leaving encryption to FD is better than let 3rd party tools mimic FD behavior, leading to an obsolete tooling if you decide to change the encryption process

Possible Drawbacks

  • This code change the argument reading loop and may have undesired side effects (though it shouldn't)
  • A simple way to decrypt password for an attacker (but reading at the tool perl source is easy enough to do it without)
Edited Feb 02, 2021 by bmortier
Assignee
Assign to
Time tracking