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

jpadilla / pyjwt
98%
master: 0%

Build:
Build:
LAST BUILD BRANCH: patch-1
DEFAULT BRANCH: master
Repo Added 20 Jan 2015 04:58AM UTC
Files 0
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

LAST BUILD ON BRANCH fix-key-errors
branch: fix-key-errors
CHANGE BRANCH
x
Reset
  • fix-key-errors
  • 0.4.2
  • 0.4.3
  • 1.0.0
  • 1.0.1
  • 1.1.0
  • 1.2.0
  • 1.3.0
  • 1.4.0
  • 1.4.1
  • 1.4.2
  • 1.5.0
  • 1.5.1
  • 1.5.2
  • 1.5.3
  • 1.6.0
  • 1.6.1
  • 1.6.2
  • 1.6.3
  • 190-remove-iat-verification
  • 2.0-develop
  • add-code-of-conduct-1
  • add-docs
  • add-jwk-for-hmac-rsa
  • add-python-35
  • bionic
  • bring-verify_expiration-back
  • cleanup-pr305
  • develop
  • ecdsa-bkwards-compat
  • fix-298
  • fix-cli-script
  • fix-ec-ssh-pub-key
  • fix-flake8
  • fix-mypy
  • fix-type-error-on-bytes-key
  • fix-vuln
  • fix_alg_vuln_on_verify
  • improve-usage
  • madams/cleanup-test-skips
  • master
  • new-release
  • pytest-version-bump
  • v1.0.1

pending completion
165

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.

49 of 49 new or added lines in 4 files covered. (100.0%)

631 of 641 relevant lines covered (98.44%)

7.72 hits per line

Relevant lines Covered
Build:
Build:
641 RELEVANT LINES 631 COVERED LINES
7.72 HITS PER LINE
Source Files on fix-key-errors
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
165 fix-key-errors 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 t... push 14 Mar 2017 03:58PM UTC mark-adams travis-ci pending completion  
162 fix-key-errors 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 t... push 14 Mar 2017 01:31PM UTC mark-adams travis-ci pending completion  
160 fix-key-errors 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 t... push 14 Mar 2017 01:13PM UTC mark-adams travis-ci pending completion  
159 fix-key-errors 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 t... push 14 Mar 2017 01:10PM UTC mark-adams travis-ci pending completion  
See All Builds (754)
  • Repo 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

© 2025 Coveralls, Inc