mirror of
https://github.com/PR0M3TH3AN/SeedPass.git
synced 2026-11-08 05:42:27 +00:00
Fix CI failures: linting and dependency vulnerabilities
- Apply code formatting fixes (black) to resolve test workflow failures. - Update `pyproject.toml`, `src/requirements.txt`, and lock files to upgrade vulnerable dependencies: - aiohttp -> 3.13.3 - cryptography -> 46.0.5 - orjson -> 3.11.7 (CVE-2025-67221) - pillow -> 12.1.1 (CVE-2026-25990) - pynacl -> 1.6.2 (CVE-2025-69277) - starlette -> 0.52.1 (CVE-2025-62727) - urllib3 -> 2.6.3 (CVE-2025-66418, etc.) - cbor2 -> 5.8.0 (CVE-2025-68131) - pyasn1 -> 0.6.2 (CVE-2026-23490) - python-multipart -> 0.0.22 (CVE-2026-24486) - Manually sync `requirements.lock` from `poetry.lock` as `pip-compile` is unavailable in the environment. Co-authored-by: PR0M3TH3AN <[email protected]>
This commit is contained in:
1 parent
d42ee42a68
commit
4a1529fd1a
11 files changed
+1081
-907
No files matched your search
@@ -85,7 +85,9 @@ def _load_policy(*, strict: bool = False) -> dict:
|
||||
raise ValueError(
|
||||
f"agent policy has invalid deny_private_reveal entries: {invalid}"
|
||||
)
|
||||
policy["deny_private_reveal"] = [v for v in deny_private if v in ALL_ENTRY_TYPES]
|
||||
policy["deny_private_reveal"] = [
|
||||
v for v in deny_private if v in ALL_ENTRY_TYPES
|
||||
]
|
||||
if isinstance(data.get("allow_export_import"), bool):
|
||||
policy["allow_export_import"] = data["allow_export_import"]
|
||||
return policy
|
||||
|
||||
Reference in new issue
Block a user