-
Notifications
You must be signed in to change notification settings - Fork 241
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix for CVE-2024-33664. JWE limited to 250K (#352)
* Fix for CVE-2024-33664. JWE limited to 250K * Removed Py3.7 from Ubuntu latest. Linting on Py3.10 * Changed exception message * Test now uses monkeypatch and checks error message text * Update .github/workflows/ci.yml * Update .github/workflows/ci.yml * Update jose/jwe.py * Update tests/test_jwe.py * fmt --------- Co-authored-by: Asher Foa <[email protected]>
- Loading branch information
1 parent
c9403b5
commit 8e1f521
Showing
4 changed files
with
48 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -96,3 +96,5 @@ class Zips: | |
|
||
|
||
ZIPS = Zips() | ||
|
||
JWE_SIZE_LIMIT = 250 * 1024 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters