• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

sybrenstuvel / python-rsa / 306 / 3
92%
master: 92%

Build:
DEFAULT BRANCH: master
Ran 15 Nov 2020 02:23PM UTC
Files 15
Run time 1s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

15 Nov 2020 02:21PM UTC coverage: 91.532% (+0.5%) from 91.056%
306.3

push

travis-ci

sybrenstuvel
Fix #165: CVE-2020-25658 - Bleichenbacher-style timing oracle

Use as many constant-time comparisons as practical in the
`rsa.pkcs1.decrypt` function.

`cleartext.index(b'\x00', 2)` will still be non-constant-time. The
alternative would be to iterate over all the data byte by byte in
Python, which is several orders of magnitude slower. Given that a
perfect constant-time implementation is very hard or even impossible to
do in Python [1], I chose the more performant option here.

[1]: https://securitypitfalls.wordpress.com/2018/08/03/constant-time-compare-in-python/

735 of 803 relevant lines covered (91.53%)

0.92 hits per line

Source Files on job 306.3
  • Tree
  • List 0
  • Changed 5
  • Source Changed 1
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 290
  • Travis Job 306.3
  • dae8ce0d on github
  • Prev Job for on master (#305.1)
  • Next Job for on master (#308.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc