Bump cryptogrpahy - #1682
Conversation
…to prevent lockfile rev from changing Signed-off-by: Ayush Dattagupta <ayushdg95@gmail.com>
Greptile SummaryThis PR bumps the
Confidence Score: 5/5Safe to merge — minimal, targeted security bump with no behavioral changes. Only two files are changed: a one-line version bump and CVE comment update in pyproject.toml, and the corresponding lock file regeneration. The lock file bulk diff is a benign format-field addition from the newer uv version. The sole open finding is a P2 style suggestion to preserve the original CVE reference in the comment, which does not affect correctness or security. No files require special attention. Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A["CVE GHSA-m959-cc7f-wv43\nidentified in cryptography"] --> B["Raise constraint\ncryptography >=46.0.5 → >=46.0.6"]
B --> C["Add uv required-version >=0.7.0\nto prevent lock file regression"]
C --> D["Regenerate uv.lock\nwith uv >=0.7.0"]
D --> E["Lock revision 1 → 3\nupload-time fields added to all packages"]
E --> F["cryptography resolved\n46.0.5 → 46.0.6"]
Reviews (1): Last reviewed commit: "Merge branch 'main' into cve-cryptogrpah..." | Re-trigger Greptile |
| constraint-dependencies = [ | ||
| "aiohttp>=3.13.3", # Addresses CVE GHSA-6mq8-rvhq-8wgg | ||
| "cryptography>=46.0.5", # Address CVE GHSA-r6ph-v2qm-q3c2 | ||
| "cryptography>=46.0.6", # Address CVE GHSA-m959-cc7f-wv43 |
There was a problem hiding this comment.
Consider preserving both CVE references in the comment
The comment was updated from # Address CVE GHSA-r6ph-v2qm-q3c2 to # Address CVE GHSA-m959-cc7f-wv43, which drops the original CVE that motivated the >=46.0.5 floor. Since >=46.0.6 still satisfies the original constraint, both CVEs remain addressed, and preserving both makes the audit trail clearer for anyone revisiting this line later.
| "cryptography>=46.0.6", # Address CVE GHSA-m959-cc7f-wv43 | |
| "cryptography>=46.0.6", # Address CVE GHSA-r6ph-v2qm-q3c2, GHSA-m959-cc7f-wv43 |
Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!
Description
Bumps cryptography constraint dependency. Also adds a min version to uv to prevent users with older version committing the lock file that ends up changing revisions to older versions.
Usage
# Add snippet demonstrating usageChecklist