Releases · aws/aws-encryption-sdk-python

4.0.4 -- 2026-02-26

Maintenance

  • deps: Extend supported MPL_ versions to include v1.11.2 #788

    MPL v1.11.2 fixes de-serializing Error_OpaqueWithText and bumps cryptography upperbound to <47 due to CVE-2026-26007 (#1800)

NOTE

This library is NOT impacted by CVE-2026-26007. This library does not use SECT curves.

4.0.3 -- 2025-09-03

Maintenance

  • deps: Extend supported MPL versions to include v1.11.1 #770

    MPL v1.11.1 updates pytz version range to include 2025 releases.

4.0.2 -- 2025-06-30

Maintenance

  • deps: Extend supported MPL versions to include v1.11.0. (#763)

    MPL v1.11.0 contains performance improvements for the hierarchical keyring and
    extends the range of supported cryptography versions.

4.0.1 -- 2025-03-27

Fixes

  • fix: Improve header serialization (#747)

    ESDK-Python <4.0.1 would truncate non-ASCII key provider IDs it wrote to message headers.
    If a Raw or Custom MasterKeyProvider or Keyring supplied a non-ASCII key provider ID / key namespace,
    ESDK-Python would truncate the the key provider ID it wrote to the message's header.
    The message can be decrypted by replacing the truncated provider ID with the expected provider ID in decryption code.
    Contact AWS for any questions about this approach.

Maintenance

  • deps: Extend supported MPL versions to include v1.10.0

4.0.0 -- 2024-11-13

Features

Breaking Changes

  • The MPL introduces the Required Encryption Context Cryptographic Materials Manager
    ("required EC CMM") as a new construct for protecting your data.
    On encrypt, the required EC CMM will use specific configured
    encryption context key-value pairs to calculate the message signature,
    but will not store those pairs in the ESDK message.
    On decrypt, decryptors must supply these same pairs that were used when encrypting the message.
    All messages that have been encrypted with versions of the ESDK <4.0.0 are forward compatible with this change.
    However, messages that are constructed with the required EC CMM are not backward compatible with ESDK <4.0.0,
    as no version of ESDK <4.0.0 supports reading messages encrypted with the required EC CMM.
    A message that is encrypted with the required EC CMM from the MPL must be decrypted with a CMM from the MPL.

Fixes

  • fix: MKPs attempt to decrypt with remaining keys if a preceding raw RSA key failed to decrypt (#707)

3.3.0 -- 2024-05-21

Deprecation

The AWS Encryption SDK for Python no longer supports Python 3.7
as of version 3.3; only Python 3.8+ is supported.

Fixes

  • fix: Handle errors when decrypting multiple EDKs with raw RSA MKPs (#672 (#672))
  • chore: Updated description of decrypt() usage in src/aws_encryption_sdk/init.py (#660 (#660))
  • fix(CI): removed appveyor.yml (#668 (#668))
  • fix(CI): updated ci_test-vector-handler.yaml and ci_tests.yaml (#665 (#665))

Maintenance

  • feat: remove Python3.7 support (#648 (#648))
  • chore: Update copyright headers (#677 (#677))
  • chore(CFN): Changes for MPL TestVectors (#653 (#653))

3.2.0 -- 2024-03-18

2.5.1 -- 2022-08-30

Deprecation Announcement

The AWS Encryption SDK for Python Major Version 2 is End of Support.
It will no longer receive security updates or bug fixes.
Consider updating to the latest version of the AWS Encryption SDK for Python.

Maintenance

  • Emit Deprecation Warning on library initialization
  • Update cryptography range to greater than or equal to 2.5.0 less than 37

1.10.1 -- 2022-08-30

Deprecation Announcement

The AWS Encryption SDK for Python Major Version 1 is End of Support.
It will no longer receive security updates or bug fixes.
Consider updating to the latest version of the AWS Encryption SDK for Python.

Maintenance

  • Emit Deprecation Warning on library initialization

2.5.0 -- 2022-06-21

Maintenance

  • Pin cryptography to last version that supports Python2