Merge ~marlinc/cloud-init:chpasswd-hash into cloud-init:master
Proposed by
Marlin Cremers
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Chad Smith | ||||
Approved revision: | adb453ab0f1299ad26634cd3df0ae078561a7df4 | ||||
Merge reported by: | Server Team CI bot | ||||
Merged at revision: | not available | ||||
Proposed branch: | ~marlinc/cloud-init:chpasswd-hash | ||||
Merge into: | cloud-init:master | ||||
Diff against target: |
62 lines (+41/-1) 2 files modified
cloudinit/config/cc_set_passwords.py (+1/-1) cloudinit/config/tests/test_set_passwords.py (+40/-0) |
||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Server Team CI bot | continuous-integration | Approve | |
Chad Smith | Approve | ||
Scott Moser | Pending | ||
Review via email: mp+361683@code.launchpad.net |
Commit message
cc_set_passwords: Fix regex when parsing hashed passwords
Correct invalid regex to match hashes starting with the following:
- $1, $2a, $2y, $5 or $6
LP: #1811446
Author: Marlin Cremers <email address hidden>
To post a comment you must log in.
I'm looking into how to best provide a test for this (and possibly the other hashing algorithms as there are no tests for those either).