Failed Login Due to SHA1 Hashed User Bulk Import

Overview

This article provides a potential cause for users not being able to log in after Importing hash passwords via SHA1.

Applies To

  • User Login
  • SHA1
  • Importing Hash Passwords

Cause

The “hex” encoding value for the salt is included, for example:

"salt": {
"value": "samplesaltvalue",
"encoding": "hex"
}

Solution

The “hex” value should not be needed (only the hash needs the encoding) and can be changed to:

"salt": {
"value": "samplesaltvalue"
}

Related References