Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docker/transport/sshconn.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@

from .. import constants
from .basehttpadapter import BaseHTTPAdapter
from security import safe_command

RecentlyUsedContainer = urllib3._collections.RecentlyUsedContainer

Expand Down Expand Up @@ -53,8 +54,7 @@ def f():
env.pop('LD_LIBRARY_PATH', None)
env.pop('SSL_CERT_FILE', None)

self.proc = subprocess.Popen(
args,
self.proc = safe_command.run(subprocess.Popen, args,
env=env,
stdout=subprocess.PIPE,
stdin=subprocess.PIPE,
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ dependencies = [
"requests >= 2.26.0",
"urllib3 >= 1.26.0",
"pywin32>=304; sys_platform == \"win32\"",
"security==1.3.1",
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This library holds security tools for protecting Python API calls.

License: MITOpen SourceMore facts

]

[project.optional-dependencies]
Expand Down