diff --git a/TODO.md b/TODO.md index dd643a1e..779a15a6 100644 --- a/TODO.md +++ b/TODO.md @@ -14,6 +14,6 @@ * Refactor Algorithm logic with set Exceptions to return * Add HTML documentation * Implement ECSDA signing -* Refactor JWT claims verifcation +* Refactor JWT claims verification * Add actual exceptions instead of using the base exception * Audit JWT claims tests and rectify against the spec diff --git a/jose/jwe.py b/jose/jwe.py index 2c387ff4..def2a3c0 100644 --- a/jose/jwe.py +++ b/jose/jwe.py @@ -12,7 +12,7 @@ def encrypt(plaintext, key, encryption=ALGORITHMS.A256GCM, algorithm=ALGORITHMS.DIR, zip=None, cty=None, kid=None): - """Encrypts plaintext and returns a JWE cmpact serialization string. + """Encrypts plaintext and returns a JWE compact serialization string. Args: plaintext (bytes): A bytes object to encrypt @@ -530,7 +530,7 @@ def _get_key_wrap_cek(enc, key): def _get_random_cek_bytes_for_enc(enc): """ - Get the random cek bytes based on the encryptionn algorithm + Get the random cek bytes based on the encryption algorithm Args: enc (str): Encryption algorithm