-
Notifications
You must be signed in to change notification settings - Fork 724
fix: Vulnerability fix for starkbank-ecdsa 2.2.0 dependency #1085
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: Vulnerability fix for starkbank-ecdsa 2.2.0 dependency #1085
Conversation
@tiwarishubham635 should this be merged? |
I see some tests are failing |
@tiwarishubham635 Have fixed the tests. Could you please retrigger the builds? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
@tiwarishubham635 When will this patch be released? Thanks |
We will be releasing today. Thanks! |
from ellipticcurve.publicKey import PublicKey | ||
from ellipticcurve.signature import Signature | ||
|
||
from .eventwebhook_header import EventWebhookHeader |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removing EventWebhookHeader breaks eventwebhook_example.py
I think we can export the EventWebhookHeader from eventwebhook init.py to fix this |
Fixes
As part of the quay.io vulnerability report, it is reported that the
sendgrid-python==6.11.0
package has a vulnerability (GHSA-9wx7-jrvc-28mm) reported for dependencystarkbank-ecdsa==2.2.0
which is the latest version available from 2022 (The starbank repository no longer seems to be maintained).This PR solves replaces the outdated starbank-ecdsa library (https://github.com/starkbank/ecdsa-python) with an actively mainained library ecdsa (https://github.com/tlsfuzzer/python-ecdsa).
Checklist