lp:~mruffell/ubuntu-release-upgrader

Owned by Matthew Ruffell
Get this repository:
git clone https://git.launchpad.net/~mruffell/ubuntu-release-upgrader
Only Matthew Ruffell can upload to this repository. If you are Matthew Ruffell please log in for upload directions.

Branches

Name Last Modified Last Commit
lp1982534 2023-01-10 03:45:41 UTC
Quirks: Change fips libgcrypt functions from subp.Popen to safer alternatives

Author: Matthew Ruffell
Author Date: 2023-01-10 01:59:53 UTC

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 _fipsLibgcryptDivert() to use subprocess.check_call().

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)

11 of 1 result
This repository contains Public information 
Everyone can see this information.

Subscribers