Skip to content

Commit

Permalink
Remove securesystemslib.process module
Browse files Browse the repository at this point in the history
This module was originally developed in in-toto and transferred to
securesystemslib in secure-systems-lab#174, primarily as Py2/Py3-agnostic wrapper
around stdlib's `subprocess.run`, to to execute `gpg`.
In secure-systems-lab#502 we switched to using `subprocess.run` directly.

Another wrapper around `subprocess.run`, provided by the module,
allows capturing standard streams but still write them to a
terminal. It was developed as specific `in-toto-run` feature and
does not need to be public API in sslib.  in-toto/in-toto#544 moves
the function back to in-toto.

closes secure-systems-lab#345,
transfers secure-systems-lab#337 (to in-toto)

Signed-off-by: Lukas Puehringer <[email protected]>
  • Loading branch information
lukpueh committed Feb 10, 2023
1 parent e5f2296 commit e6c0841
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 409 deletions.
239 changes: 0 additions & 239 deletions securesystemslib/process.py

This file was deleted.

4 changes: 0 additions & 4 deletions securesystemslib/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,3 @@

# The algorithm(s) in HASH_ALGORITHMS are used to generate key IDs.
HASH_ALGORITHMS = ["sha256", "sha512"]

# Used in securesystemslib.process, to raise a subprocess.TimeoutExpired if
# a started subprocess does not terminate before the here specified seconds
SUBPROCESS_TIMEOUT = 3
Loading

0 comments on commit e6c0841

Please sign in to comment.