iaptoolkit 0.3.9__tar.gz → 0.3.11__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {iaptoolkit-0.3.9 → iaptoolkit-0.3.11}/PKG-INFO +5 -3
- {iaptoolkit-0.3.9 → iaptoolkit-0.3.11}/pyproject.toml +2 -2
- {iaptoolkit-0.3.9 → iaptoolkit-0.3.11}/src/iaptoolkit/__init__.py +1 -1
- {iaptoolkit-0.3.9 → iaptoolkit-0.3.11}/src/iaptoolkit/tokens/service_account.py +2 -2
- {iaptoolkit-0.3.9 → iaptoolkit-0.3.11}/src/iaptoolkit/tokens/token_datastore.py +1 -1
- {iaptoolkit-0.3.9 → iaptoolkit-0.3.11}/LICENSE +0 -0
- {iaptoolkit-0.3.9 → iaptoolkit-0.3.11}/README.md +0 -0
- {iaptoolkit-0.3.9 → iaptoolkit-0.3.11}/src/iaptoolkit/constants.py +0 -0
- {iaptoolkit-0.3.9 → iaptoolkit-0.3.11}/src/iaptoolkit/exceptions.py +0 -0
- {iaptoolkit-0.3.9 → iaptoolkit-0.3.11}/src/iaptoolkit/headers.py +0 -0
- {iaptoolkit-0.3.9 → iaptoolkit-0.3.11}/src/iaptoolkit/tokens/__init__.py +0 -0
- {iaptoolkit-0.3.9 → iaptoolkit-0.3.11}/src/iaptoolkit/tokens/structs.py +0 -0
- {iaptoolkit-0.3.9 → iaptoolkit-0.3.11}/src/iaptoolkit/utils/__init__.py +0 -0
- {iaptoolkit-0.3.9 → iaptoolkit-0.3.11}/src/iaptoolkit/utils/urls.py +0 -0
- {iaptoolkit-0.3.9 → iaptoolkit-0.3.11}/src/iaptoolkit/utils/verify.py +0 -0
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: iaptoolkit
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.11
|
|
4
4
|
Summary: Library of common utils for interacting with Identity-Aware Proxies
|
|
5
|
+
License-File: LICENSE
|
|
5
6
|
Author: Rob Voigt
|
|
6
7
|
Author-email: code@ravoigt.com
|
|
7
8
|
Requires-Python: >=3.11,<4.0
|
|
@@ -9,8 +10,9 @@ Classifier: Programming Language :: Python :: 3
|
|
|
9
10
|
Classifier: Programming Language :: Python :: 3.11
|
|
10
11
|
Classifier: Programming Language :: Python :: 3.12
|
|
11
12
|
Classifier: Programming Language :: Python :: 3.13
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
12
14
|
Requires-Dist: google-auth (>=2.29.0,<3.0.0)
|
|
13
|
-
Requires-Dist: kvcommon[k8s] (>=0.4.
|
|
15
|
+
Requires-Dist: kvcommon[k8s] (>=0.4.8,<0.5.0)
|
|
14
16
|
Requires-Dist: requests (>=2.32.4)
|
|
15
17
|
Requires-Dist: toml (>=0.10.2,<0.11.0)
|
|
16
18
|
Project-URL: Homepage, https://github.com/RAVoigt/iaptoolkit
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "iaptoolkit"
|
|
3
|
-
version = "0.3.
|
|
3
|
+
version = "0.3.11"
|
|
4
4
|
description = "Library of common utils for interacting with Identity-Aware Proxies"
|
|
5
5
|
authors = ["Rob Voigt <code@ravoigt.com>"]
|
|
6
6
|
readme = "README.md"
|
|
@@ -25,7 +25,7 @@ python = "^3.11"
|
|
|
25
25
|
google-auth = "^2.29.0"
|
|
26
26
|
requests = ">=2.32.4"
|
|
27
27
|
toml = "^0.10.2"
|
|
28
|
-
kvcommon = {extras = ["k8s"], version = "^0.4.
|
|
28
|
+
kvcommon = {extras = ["k8s"], version = "^0.4.8"}
|
|
29
29
|
|
|
30
30
|
[tool.poetry.group.dev.dependencies]
|
|
31
31
|
black = "*"
|
|
@@ -47,7 +47,7 @@ class ServiceAccount(object):
|
|
|
47
47
|
or not token_dict.get("id_token", None)
|
|
48
48
|
or not token_dict.get("token_expiry", None)
|
|
49
49
|
):
|
|
50
|
-
LOG.debug("No stored service account token for current iap_client_id")
|
|
50
|
+
# LOG.debug("No stored service account token for current iap_client_id")
|
|
51
51
|
return
|
|
52
52
|
|
|
53
53
|
id_token_from_dict: str = token_dict.get("id_token", "")
|
|
@@ -57,7 +57,7 @@ class ServiceAccount(object):
|
|
|
57
57
|
try:
|
|
58
58
|
token_expiry = datetime.datetime.fromisoformat(token_expiry_from_dict)
|
|
59
59
|
except (ValueError, TypeError) as ex:
|
|
60
|
-
LOG.
|
|
60
|
+
LOG.warning(
|
|
61
61
|
"Invalid token expiry for stored token - Could not parse from ISO format to datetime."
|
|
62
62
|
)
|
|
63
63
|
return
|
|
@@ -36,7 +36,7 @@ class TokenDatastore(VersionedDatastore):
|
|
|
36
36
|
tokens_dict = self.get_or_create_nested_dict(self._service_account_tokens_key)
|
|
37
37
|
token_struct_dict = tokens_dict.get(iap_client_id, None)
|
|
38
38
|
if not token_struct_dict:
|
|
39
|
-
LOG.debug("No stored service account token for current iap_client_id")
|
|
39
|
+
# LOG.debug("No stored service account token for current iap_client_id")
|
|
40
40
|
return
|
|
41
41
|
return token_struct_dict
|
|
42
42
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|