Skip to content

Remove constant_time_string_compare#163

Merged
blag merged 1 commit intompdavis:masterfrom
blag:remove-constant-time-string-compare
Dec 16, 2019
Merged

Remove constant_time_string_compare#163
blag merged 1 commit intompdavis:masterfrom
blag:remove-constant-time-string-compare

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