Skip to content

Just emit a warning when verifying with a private key - #168

Merged
blag merged 8 commits into
mpdavis:masterfrom
blag:rsa-privkey-no-verify
Dec 20, 2019
Merged

Just emit a warning when verifying with a private key#168
blag merged 8 commits into
mpdavis:masterfrom
blag:rsa-privkey-no-verify

Conversation

@blag

@blagblag commented Dec 19, 2019

Copy link
Copy Markdown
Contributor

Closes#53.
Closes#142.

Emits warning when user attempts to verify message with a private key.

Gasper Zejnand others added 3 commits April 28, 2019 22:01
@codecov

codecovBot commented Dec 19, 2019

Copy link
Copy Markdown

Codecov Report

Merging #168 into master will increase coverage by 0.61%.
The diff coverage is 100%.

Impacted file tree graph

@@ Coverage Diff @@## master #168 +/- ##
==========================================
+ Coverage 96.57% 97.18% +0.61% 
==========================================
Files 14 14 Lines 1079 1067 -12 ==========================================
- Hits 1042 1037 -5 + Misses 37 30 -7
Impacted FilesCoverage Δ
jose/exceptions.py100% <ø> (ø)⬆️
jose/jws.py96.72% <ø> (ø)⬆️
jose/utils.py100% <ø> (+12.28%)⬆️
jose/backends/cryptography_backend.py98.11% <100%> (ø)⬆️
jose/backends/rsa_backend.py96.57% <100%> (+0.02%)⬆️
jose/backends/pycrypto_backend.py95.86% <100%> (+0.03%)⬆️
jose/jwk.py95.06% <100%> (-0.07%)⬇️
jose/backends/ecdsa_backend.py98.66% <100%> (ø)⬆️
jose/__init__.py100% <100%> (ø)⬆️
jose/jwt.py100% <100%> (ø)⬆️

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 40920a5...6a3865b. Read the comment docs.

@blag
blagforce-pushed the rsa-privkey-no-verify branch from 24c7714 to e4b92e0CompareDecember 19, 2019 10:28
@blagblag changed the title Rsa privkey no verifyJust emit a warning when verifying with a private keyDec 20, 2019
@blag
blagforce-pushed the rsa-privkey-no-verify branch from 5eae276 to a560fdbCompareDecember 20, 2019 08:38
@blag
blagforce-pushed the rsa-privkey-no-verify branch from a560fdb to c25d615CompareDecember 20, 2019 09:12
@blag
blagforce-pushed the rsa-privkey-no-verify branch from c25d615 to 2d7f481CompareDecember 20, 2019 09:23
@blag
blagforce-pushed the rsa-privkey-no-verify branch from 2d7f481 to 58fc6b3CompareDecember 20, 2019 09:27
@blag
blagforce-pushed the rsa-privkey-no-verify branch from 58fc6b3 to 6a3865bCompareDecember 20, 2019 10:18
@blag
blag merged commit b4d4385 into mpdavis:masterDec 20, 2019
@blag
blag deleted the rsa-privkey-no-verify branch December 20, 2019 10:27
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

JWS verification succeeds with both public and private keys when signing with the private key using RS256

1 participant

@blag