Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sandbox URL Creation #438

Closed
Closed
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
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ packaging>=21.3
pypng>=0.0.20
PyYAML>=5,<7
requests>=2.25.0,<3.0.0
security~=1.2.0
Copy link
Contributor 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

urllib3>=1.26.5,<2.0.0
4 changes: 2 additions & 2 deletions sigopt/orchestrate/iam/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@

import boto3
import certifi
import requests
from OpenSSL import SSL
from security import safe_requests

from ..services.aws_base import AwsService

Expand Down Expand Up @@ -36,7 +36,7 @@ def describe_eks_role(self, role_name):
return self.iam.Role(role_name)

def get_thumbprint_from_oidc_issuer(self, oidc_url):
response = requests.get(f"{oidc_url}/.well-known/openid-configuration")
response = safe_requests.get(f"{oidc_url}/.well-known/openid-configuration")
response.raise_for_status()
keys_url = response.json()["jwks_uri"]
parsed_url = urlparse(keys_url)
Expand Down
Loading