Skip to content

Commit 1f0ae0a

Browse files
authored
docs: Fix a few typos (#299)
There are small typos in: - TODO.md - jose/jwe.py Fixes: - Should read `verification` rather than `verifcation`. - Should read `encryption` rather than `encryptionn`. - Should read `compact` rather than `cmpact`.
1 parent ceaac36 commit 1f0ae0a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

TODO.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@
1414
* Refactor Algorithm logic with set Exceptions to return
1515
* Add HTML documentation
1616
* Implement ECSDA signing
17-
* Refactor JWT claims verifcation
17+
* Refactor JWT claims verification
1818
* Add actual exceptions instead of using the base exception
1919
* Audit JWT claims tests and rectify against the spec

jose/jwe.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313

1414
def encrypt(plaintext, key, encryption=ALGORITHMS.A256GCM, algorithm=ALGORITHMS.DIR, zip=None, cty=None, kid=None):
15-
"""Encrypts plaintext and returns a JWE cmpact serialization string.
15+
"""Encrypts plaintext and returns a JWE compact serialization string.
1616
1717
Args:
1818
plaintext (bytes): A bytes object to encrypt
@@ -542,7 +542,7 @@ def _get_key_wrap_cek(enc, key):
542542

543543
def _get_random_cek_bytes_for_enc(enc):
544544
"""
545-
Get the random cek bytes based on the encryptionn algorithm
545+
Get the random cek bytes based on the encryption algorithm
546546
547547
Args:
548548
enc (str): Encryption algorithm

0 commit comments

Comments
 (0)