fix(deps): add pycryptodome dependency for PGP RSA features

This change explicitly adds `pycryptodome` to `pyproject.toml` and `src/requirements.txt` to resolve a `ModuleNotFoundError` when generating PGP RSA keys. The `Crypto` namespace provided by `pycryptodome` is required by `src/seedpass/core/password_generation.py`.

Verified with `reproduce_issue.py` (which now passes) and `src/tests/test_pgp_entry.py`.

Co-authored-by: PR0M3TH3AN <[email protected]>
This commit is contained in:
google-labs-jules[bot]andPR0M3TH3AN committed 2026-02-26 19:17:29 +00:00
1 parent ece0dda09f
commit 1dc98a3e96
2 files changed
+3

No files matched your search

+2
View File
@@ -39,6 +39,7 @@ pynacl = ">=1.6.2"
pyasn1 = ">=0.6.2"
starlette = ">=0.40,<0.48"
urllib3 = ">=2.6.0"
pycryptodome = ">=3.20.0,<4"
toga-core = { version = ">=0.5.2", optional = true }
pillow = { version = ">=12.1.1", optional = true }
toga-gtk = { version = ">=0.5.2", optional = true }
@@ -108,6 +109,7 @@ requires = [
"python-multipart>=0.0.22",
"orjson>=3.11.5",
"argon2-cffi",
"pycryptodome>=3.20.0,<4",
]
icon = "logo/png/SeedPass-Logo-24.png"
license = { file = "LICENSE" }
+1
View File
@@ -24,6 +24,7 @@ pynacl>=1.6.2,<2
cbor2>=5.8.0,<6
pyasn1>=0.6.2,<1
urllib3>=2.6.0,<3
pycryptodome>=3.20.0,<4
freezegun>=1.5.4,<2
typer>=0.12.3,<1