Merge ~mruffell/ubuntu-release-upgrader:lp1982534 into ubuntu-release-upgrader:ubuntu/focal
Proposed by
Matthew Ruffell
Status: | Merged |
---|---|
Merged at revision: | 5fafe12d3760861ed31ae265b6394a8c360f90e1 |
Proposed branch: | ~mruffell/ubuntu-release-upgrader:lp1982534 |
Merge into: | ubuntu-release-upgrader:ubuntu/focal |
Diff against target: |
105 lines (+15/-15) 2 files modified
DistUpgrade/DistUpgradeQuirks.py (+3/-3) tests/test_quirks.py (+12/-12) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Brian Murray | Approve | ||
Review via email: mp+435410@code.launchpad.net |
Description of the change
Quirks: Change fips libgcrypt functions from subp.Popen to safer alternatives
Robie Basak pointed out during SRU review that subprocess.Popen()
requires the author to call wait() and check the return code manually
when it could be done in a more safe fashion with check_call().
Change _fipsLibgcryptD
Additionally, change the subprocess.Popen() for manual rm to
os.unlink(), again a safer way of removing the hmac file.
Change the tests to match new functions.
(LP: #1982534)
To post a comment you must log in.