From 33f43b28e8223aae9b5a0ee3c09b3f9b8f87f5ab Mon Sep 17 00:00:00 2001 From: Oliver Tseng Date: Wed, 4 Sep 2024 06:19:54 -0400 Subject: [PATCH 1/2] Create RemoteApiUtil.py --- util/RemoteApiUtil.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 util/RemoteApiUtil.py diff --git a/util/RemoteApiUtil.py b/util/RemoteApiUtil.py new file mode 100644 index 0000000000..38f91fd3c8 --- /dev/null +++ b/util/RemoteApiUtil.py @@ -0,0 +1,12 @@ +import hashlib +from datetime import timezone, datetime + +import config + +if __name__ == "__main__": + print(f"Username: {config.apiServerClientId}") + + dt = datetime.now(timezone.utc) + secret = config.apiServerClientSecret + str(dt.month) + password = hashlib.md5(secret.encode("utf-8")).hexdigest() + print(f"Password: {password}") From 683425329dce336381fb72a22a04f57181578214 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 4 Sep 2024 06:31:05 -0400 Subject: [PATCH 2/2] Bump cryptography from 42.0.4 to 43.0.1 (#299) Bumps [cryptography](https://github.com/pyca/cryptography) from 42.0.4 to 43.0.1. - [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst) - [Commits](https://github.com/pyca/cryptography/compare/42.0.4...43.0.1) --- updated-dependencies: - dependency-name: cryptography dependency-type: direct:production ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- docker_requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker_requirements.txt b/docker_requirements.txt index 0dbe0aad9f..fbdd3732f7 100644 --- a/docker_requirements.txt +++ b/docker_requirements.txt @@ -11,7 +11,7 @@ click==8.0.3 cobble==0.1.3 colorama==0.4.4 contextlib2==0.6.0.post1 -cryptography==42.0.4 +cryptography==43.0.1 Deprecated==1.2.13 diff-match-patch==20200713 distlib==0.3.4