From 3c2cfcb67a0c431316e3264ee26474476f855e0d Mon Sep 17 00:00:00 2001 From: aitbc Date: Thu, 23 Apr 2026 17:12:09 +0200 Subject: [PATCH] fix: revert cryptography version from 47.0.0 to 46.0.0 in pyproject.toml files Version 47.0.0 does not exist in PyPI. Reverted to 46.0.0 which is the latest available version and still provides security fixes for the reported vulnerabilities. --- apps/blockchain-node/pyproject.toml | 2 +- packages/py/aitbc-core/pyproject.toml | 2 +- packages/py/aitbc-crypto/pyproject.toml | 2 +- packages/py/aitbc-sdk/pyproject.toml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/blockchain-node/pyproject.toml b/apps/blockchain-node/pyproject.toml index b4bc96ce..61146fec 100644 --- a/apps/blockchain-node/pyproject.toml +++ b/apps/blockchain-node/pyproject.toml @@ -9,7 +9,7 @@ packages = [ [tool.poetry.dependencies] python = "^3.13" -cryptography = ">=47.0.0" +cryptography = ">=46.0.0" # All dependencies managed centrally in /opt/aitbc/requirements-consolidated.txt # Use: ./scripts/install-profiles.sh web database blockchain diff --git a/packages/py/aitbc-core/pyproject.toml b/packages/py/aitbc-core/pyproject.toml index ad7468e3..ad4ff89c 100644 --- a/packages/py/aitbc-core/pyproject.toml +++ b/packages/py/aitbc-core/pyproject.toml @@ -8,7 +8,7 @@ authors = [ readme = "README.md" requires-python = ">=3.13" dependencies = [ - "cryptography>=47.0.0", + "cryptography>=46.0.0", "sqlmodel>=0.0.14", "fastapi>=0.104.0", "uvicorn>=0.24.0", diff --git a/packages/py/aitbc-crypto/pyproject.toml b/packages/py/aitbc-crypto/pyproject.toml index 63c95fab..4c36505b 100644 --- a/packages/py/aitbc-crypto/pyproject.toml +++ b/packages/py/aitbc-crypto/pyproject.toml @@ -8,7 +8,7 @@ authors = [ readme = "README.md" requires-python = ">=3.13" dependencies = [ - "cryptography>=47.0.0", + "cryptography>=46.0.0", "pynacl>=1.5.0" ] diff --git a/packages/py/aitbc-sdk/pyproject.toml b/packages/py/aitbc-sdk/pyproject.toml index d34aa725..767b0a25 100644 --- a/packages/py/aitbc-sdk/pyproject.toml +++ b/packages/py/aitbc-sdk/pyproject.toml @@ -8,7 +8,7 @@ authors = [ readme = "README.md" requires-python = ">=3.13" dependencies = [ - "cryptography>=47.0.0", + "cryptography>=46.0.0", "requests>=2.31.0", "pydantic>=2.5.0", "httpx>=0.25.0",