From 8bc96e979f7e57835e4b930ec22f98da10f0828d Mon Sep 17 00:00:00 2001 From: Tim Gates Date: Wed, 10 Feb 2021 09:11:12 +1100 Subject: [PATCH] Fix a few spelling mistakes --- docs/source/conf.py | 2 +- jose.py | 2 +- tests.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/source/conf.py b/docs/source/conf.py index e6ab70a..e712240 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -310,7 +310,7 @@ # The format is a list of tuples containing the path and title. #epub_pre_files = [] -# HTML files shat should be inserted after the pages created by sphinx. +# HTML files that should be inserted after the pages created by sphinx. # The format is a list of tuples containing the path and title. #epub_post_files = [] diff --git a/jose.py b/jose.py index beb5b81..0deb610 100644 --- a/jose.py +++ b/jose.py @@ -644,7 +644,7 @@ class _JWA(object): def __getitem__(self, key): """ Derive implementation(s) from key - If key is compond (-|+) then it will return a tuple + If key is compound (-|+) then it will return a tuple of implementations. Each implementation is a tuple in following format: - for hash algorithms ((, ), ) diff --git a/tests.py b/tests.py index fdf15ab..afcb82f 100644 --- a/tests.py +++ b/tests.py @@ -169,7 +169,7 @@ def test_jwe_adata(self): jwt = jose.legacy_decrypt(jose.deserialize_compact(et), rsa_priv_key, adata=adata) - # make sure signaures don't match when adata isn't passed in + # make sure signatures don't match when adata isn't passed in try: hdr, dt = jose.legacy_decrypt(jose.deserialize_compact(et), rsa_priv_key)