Skip to content

Commit 4072521

Browse files
committed
Bumped version.
Cleaned up.
1 parent c6671cb commit 4072521

File tree

4 files changed

+3
-4
lines changed

4 files changed

+3
-4
lines changed

src/cryptojwt/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
except ImportError:
2323
pass
2424

25-
__version__ = '0.7.0'
25+
__version__ = '0.7.1'
2626

2727
logger = logging.getLogger(__name__)
2828

src/cryptojwt/jwe/aes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,4 +131,4 @@ def decrypt(self, cipher_text, iv='', auth_data=None, tag=b''):
131131
if not iv:
132132
raise ValueError('Missing Nonce')
133133

134-
return self.key.decrypt(iv, cipher_text+tag, auth_data)
134+
return self.key.decrypt(iv, cipher_text+tag, auth_data)

src/cryptojwt/jwk/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import json
22

33
from .utils import DIGEST_HASH
4-
from ..exception import HeaderError
54
from ..exception import UnsupportedAlgorithm
65
from ..utils import as_unicode
76
from ..utils import b64e

src/cryptojwt/jwt.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ def unpack(self, token):
324324
if self.allowed_sign_algs:
325325
_verifier = jws_factory(_info, alg=self.allowed_sign_algs)
326326
else:
327-
_verifier = jws_factory(_info, alg=self.allowed_sign_algs)
327+
_verifier = jws_factory(_info)
328328

329329
if _verifier:
330330
_info = self._verify(_verifier, _info)

0 commit comments

Comments
 (0)