Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • I ISPConfig 3
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 550
    • Issues 550
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 40
    • Merge requests 40
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • ISPConfig
  • ISPConfig 3
  • Issues
  • #4506

Closed
Open
Created Feb 08, 2017 by Till Brehm@tbrehmOwner

Add support for more password hash types (patch)

By cinap:

hi,

here is a little patch that allows (email) users to authenticate with legacy des based crypt hashes. we needed this when migrating an existing user database to ispconfig without havig users to change ther passwords.

it adds the function cryptcheck() that depending on the format of the hash, validates the password.

right now it only allows $1$ (MD5), $5$ (SHA256) and DES hashes and unsalted plain MD5. it might be better to generalize this fnuction further to always just try crypt() first and fall back to md5 check if that fails.

cryptlogin.patch

Assignee
Assign to
Time tracking