Skip to content

Commit 1f76fbd

Browse files
committed
Bumped version and added some descriptive text.
1 parent 6544351 commit 1f76fbd

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

src/cryptojwt/__init__.py

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

24-
__version__ = '0.7.6'
24+
__version__ = '0.7.7'
2525

2626
logger = logging.getLogger(__name__)
2727

src/cryptojwt/jws/jws.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,13 +295,17 @@ def create_signature(protected, unprotected):
295295

296296
def verify_json(self, jws, keys=None, allow_none=False, at_least_one=False):
297297
"""
298+
Verifies a JSON serialized signed JWT. The object may contain multiple
299+
signatures. In the case that the verifier does not have the whole
300+
set of necessary keys she may chose to accept that some verifications
301+
fails due to no suitable key.
298302
299303
:param jws: The JSON document representing the signed JSON
300304
:param keys: Keys that might be useful for verifying the signatures
301305
:param allow_none: Allow the None signature algorithm. Is the same
302306
as allowing no signature at all.
303307
:param at_least_one: At least one of the signatures must verify
304-
correctly. No suitable signing key is the only allow exception.
308+
correctly. No suitable signing key is the only allowed exception.
305309
:return:
306310
"""
307311

0 commit comments

Comments
 (0)