mirror of
https://github.com/tr4nt0r/python-xbox.git
synced 2026-04-24 23:36:08 +03:00
[PR #104] [MERGED] Replace ecdsa with cryptography #107
Labels
No labels
👻 bug
🐣 good first issue
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/python-xbox#107
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/tr4nt0r/python-xbox/pull/104
Author: @JamieMagee
Created: 2/26/2026
Status: ✅ Merged
Merged: 2/26/2026
Merged by: @tr4nt0r
Base:
main← Head:replace-ecdsa-with-cryptography📝 Commits (3)
28692cbReplace ecdsa with cryptographyf32f478Fix test fixtures after ecdsa → cryptography switch405af51pin cryptography in dev environment📊 Changes
5 files changed (+56 additions, -32 deletions)
View changed files
📝
pyproject.toml(+2 -2)📝
src/pythonxbox/common/request_signer.py(+33 -16)📝
tests/conftest.py(+11 -6)📝
tests/data/test_signing_key.pem(+3 -3)📝
tests/test_request_signer.py(+7 -5)📄 Description
Replace the vulnerable
ecdsalibrary with the production-gradecryptographylibrary for all ECDSA operations.The
ecdsapackage is vulnerable to CVE-2024-23342 and the upstream author explicitly states it should not be used in production:Closes #69
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.