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

jpadilla / pyjwt / 165 / 10
98%
master: 0%

Build:
Build:
LAST BUILD BRANCH: patch-1
DEFAULT BRANCH: master
Ran 14 Mar 2017 04:06PM UTC
Files 11
Run time 0s
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

14 Mar 2017 03:43PM UTC coverage: 73.011%. First build
TOXENV=py35-contrib_crypto

push

travis-ci

mark-adams
Refactor error handling in Algorithm.prepare_key() methods

Our error handling in Algorithm.prepare_key() was previously weird and
kind of inconsistent. This change makes a number of improvements:

* Refactors RSA and ECDSA prepare_key() methods to reduce nesting and
  make the code simpler to understand
* All calls to Algorithm.prepare_key() return InvalidKeyError (or a
  subclass) or a valid key instance.
* Created a new InvalidAsymmetricKeyError class that is used to provide
  a standard message when an invalid RSA or ECDSA key is used.

468 of 641 relevant lines covered (73.01%)

0.73 hits per line

Source Files on job 165.10 (TOXENV=py35-contrib_crypto)
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 165
  • Travis Job 165.10
  • d04339de on github
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