Bug 1229472
| Summary: | RFC: linux-pam hardcodes sha512 salt length to 8 bytes | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Paulo Andrade <pandrade> |
| Component: | pam | Assignee: | Tomas Mraz <tmraz> |
| Status: | CLOSED WONTFIX | QA Contact: | BaseOS QE Security Team <qe-baseos-security> |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | 7.0 | CC: | cww, pdwyer, pkis |
| Target Milestone: | rc | Keywords: | FutureFeature |
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Enhancement | |
| Doc Text: |
Cause:
Consequence:
Fix:
Result:
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-01-19 14:56:02 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1203710, 1229474 | ||
|
Description
Paulo Andrade
2015-06-08 21:16:50 UTC
8 character salt provides the search space of 2^48 * number-of-precomputed-passwords. That's 281 TB * length of password hash per single password. That is still completely impractical value for creation of rainbow tables. So there is no hurry to change this. However I'll report it upstream and we'll probably change it to a higher value in the next upstream release. (In reply to Tomas Mraz from comment #2) > 8 character salt provides the search space of 2^48 * > number-of-precomputed-passwords. That's 281 TB * length of password hash per > single password. That is still completely impractical value for creation of > rainbow tables. > > So there is no hurry to change this. > > However I'll report it upstream and we'll probably change it to a higher > value in the next upstream release. Could it be made configurable? The user would like to be able to change the length. It could be a pam_unix option, to choose from 8 to 16. Or a number larger than 8 if the default minimum becomes larger. I do not think it is worth adding an option for this. We would just raise the length if the current one is decided to be too short for foreseeable future. Development Management has reviewed and declined this request. You may appeal this decision by reopening this request. |