Skip to content

Maintenance: allow cryptography 51 in the jwt and all extras #8952

Backlog

Description

@itzzdev09

Why is this needed?

cryptography 51.0.0 was released on 2026-12-01. The jwt and all extras pin cryptography (>=50.0.1,<51.0.0), so anyone installing aws-lambda-powertools[jwt] or [all] can't move to 51 (or install next to a package that needs it).

Which area does this relate to?

Other (dependencies of the Auth / JWT utility)

Solution

Raise the cap to <52.0.0 in both extras and in the matching uv.lock requires-dist entries. The locked version stays 50.0.2; dependabot can bump it once this lands. With cryptography 51.0.1 the auth and data masking tests pass unchanged (details in the PR).

I used an AI assistant (Claude) to prepare this issue and the PR.

Acknowledgment

  • This request meets Powertools for AWS Lambda (Python) Tenets
  • Should this be considered in other Powertools for AWS Lambda languages?

Activity

  1. boring-cyborg commented on Dec 4, 2026

    @boring-cyborg

    Thanks for opening your first issue here! We'll come back to you as soon as we can.
    In the meantime, check out the #python channel on our Powertools for AWS Lambda Discord: Invite link

  2. powertools-for-aws-oss-automation commented on Dec 4, 2026

    @powertools-for-aws-oss-automation

    Thanks for opening your first issue here! We'll come back to you as soon as we can.
    In the meantime, check out our GitHub Discussions: Join the conversation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions