Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-50871

Implement PBKDF2 authentication to auth_db (will support django)

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Won't Do
    • Icon: Minor Minor
    • None
    • 2.8.7, 2.9.1, 3.0
    • Authentication

      inlcude another option to log in the django databases, they split the one way hashed password with $ so this line of code could made the autentication:
      $pieces = explode("$", $fromdb);
      $iterations = $pieces[1];
      $salt = $pieces[2];
      $old_hash = $pieces[3];
      $hash = hash_pbkdf2("SHA256", $extpassword, $salt, $iterations, 0, true);
      $hash = base64_encode($hash);
      return $hash==$old_hash;

            Unassigned Unassigned
            EsdrasCaleb Esdras Caleb Oliveira Silva
            Mark Nelson Mark Nelson
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.