Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Fix a few typos #299

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion TODO.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 2 additions & 2 deletions jose/jwe.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down