-
Notifications
You must be signed in to change notification settings - Fork 0
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
Test ci #19
Conversation
kasa/klaptransport.py
Outdated
digest = hashes.Hash(hashes.SHA1()) # noqa: S303 | ||
digest.update(payload) | ||
return digest.finalize() | ||
return hashlib.sha1(payload).digest() # noqa: S324 |
Check failure
Code scanning / CodeQL
Use of a broken or weak cryptographic hashing algorithm on sensitive data High
Sensitive data (id)
Sensitive data (password)
kasa/protocol.py
Outdated
hash = digest.finalize() | ||
return hash | ||
"""Return the MD5 hash of the payload.""" | ||
return hashlib.md5(payload).digest() # noqa: S324 |
Check failure
Code scanning / CodeQL
Use of a broken or weak cryptographic hashing algorithm on sensitive data High
Sensitive data (id)
Sensitive data (id)
Sensitive data (password)
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #19 +/- ##
=======================================
Coverage 89.19% 89.19%
=======================================
Files 63 63
Lines 4525 4525
Branches 1147 1147
=======================================
Hits 4036 4036
Misses 406 406
Partials 83 83 ☔ View full report in Codecov by Sentry. |
No description provided.