Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • lemonldap-ng lemonldap-ng
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 312
    • Issues 312
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 6
    • Merge requests 6
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • LemonLDAP NGLemonLDAP NG
  • lemonldap-nglemonldap-ng
  • Merge requests
  • !183

Completed implementation of encrypt for salted password hashes

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Master Q requested to merge masterq/lemonldap-ng:masterq-v2.0-patch-44570 into v2.0 Mar 01, 2021
  • Overview 23
  • Commits 12
  • Pipelines 7
  • Changes 3

Now generating salted hashes if encrypt (Unix passwords) are in use. It's needs a second parameter if you want a salted password (The salt). As this don't need to be HEX I added an function that generating 16 bytes of letters, because this is more secure. If you don't like this just change it to gen_salt and remove the function.

Would be happy if this comes into the lemonldap ng because else i need to merge it into every version, because unix passwords are in use but don't want unsalted hashes. Thank you for reading

Edited May 12, 2021 by Clément OUDOT
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: masterq-v2.0-patch-44570