Skip to content

Commit 683ca24

Browse files
committed
fix(jws): validate payload size for rfc7797
1 parent 76ee6a5 commit 683ca24

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎src/joserfc/_rfc7797/compact.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ def extract_rfc7515_compact(
5656
if is_rfc7797_enabled(protected):
5757
if not payload_segment and payload:
5858
payload_segment = to_bytes(payload)
59+
registry.validate_payload_size(payload_segment)
5960
payload = payload_segment
6061
else:
6162
if not payload_segment and payload:

0 commit comments

Comments
 (0)