Skip to content
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

Remove constant_time_string_compare #163

Merged
merged 1 commit into from
Dec 16, 2019

Conversation

blag
Copy link
Contributor

@blag blag commented Dec 16, 2019

The hmac.compare_digest function was added in Python 2.7, which is the minimum that we support. We no longer need this compatibility shim.

@blag blag force-pushed the remove-constant-time-string-compare branch from 08fd8a4 to d7ca2bc Compare December 16, 2019 22:32
@codecov
Copy link

codecov bot commented Dec 16, 2019

Codecov Report

Merging #163 into master will increase coverage by 0.62%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #163      +/-   ##
==========================================
+ Coverage   96.46%   97.08%   +0.62%     
==========================================
  Files          14       14              
  Lines        1076     1065      -11     
==========================================
- Hits         1038     1034       -4     
+ Misses         38       31       -7
Impacted Files Coverage Δ
jose/utils.py 100% <ø> (+12.28%) ⬆️
jose/jwk.py 93.9% <100%> (-0.08%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9f5ac29...d7ca2bc. Read the comment docs.

@blag blag merged commit 70490aa into mpdavis:master Dec 16, 2019
@blag blag deleted the remove-constant-time-string-compare branch December 16, 2019 22:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant