Skip to content

Latest commit

 

History

History
432 lines (342 loc) · 23.2 KB

CHANGELOG.rst

File metadata and controls

432 lines (342 loc) · 23.2 KB

Changelog

4.0.0 -- 2024-10-29

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-20

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

Features

Fixes

Maintenance

3.1.1 -- 2022-06-20

Maintenance

  • Replace deprecated cryptography verify_interface with isinstance #467

3.1.0 -- 2021-11-10

Deprecation

The AWS Encryption SDK for Python no longer supports Python 3.5 as of version 3.1; only Python 3.6+ is supported. Customers using Python 3.5 can still use the 2.x line of the AWS Encryption SDK for Python, which will continue to receive security updates, in accordance with our Support Policy.

Feature

  • Warn on Deprecated Python usage #368
  • Add Python 3.10 to CI
  • Remove Python 3.5 from testing

3.0.0 -- 2021-07-01

Deprecation

The AWS Encryption SDK for Python no longer supports Python 2 or Python 3.4 as of major version 3.x; only Python 3.5+ is supported. Customers using Python 2 or Python 3.4 can still use the 2.x line of the AWS Encryption SDK for Python, which will continue to receive security updates for the next 12 months, in accordance with our Support Policy.

Maintenance

  • Move away from deprecated cryptography int_from_bytes #355

2.4.0 -- 2021-07-01

Deprecation Announcement

The AWS Encryption SDK for Python is discontinuing support for Python 2. Future major versions of this library will drop support for Python 2 and begin to adopt changes that are known to break Python 2.

Support for Python 3.4 will be removed at the same time. Moving forward, we will support Python 3.5+.

Security updates will still be available for the Encryption SDK 2.x line for the next 12 months, in accordance with our Support Policy.

2.3.0 -- 2021-06-16

Features

2.2.0 -- 2021-05-27

Features

2.1.0 -- 2020-04-20

Maintenance

  • New minimum cryptography dependency 2.5.0 since we're using newer byte type checking #308
  • New minimum boto dependency 1.10.0 to ensure KMS Decrypt APIs know about the KeyId parameter #317
  • Add python 3.8 and 3.9 to CI and update setup.py to clarify we support them #329
  • Update decrypt oracle and test vector handlers with 2.0.0 changes #303
  • Added a number of CodeBuild specs to support integration tests and release processes

2.0.0 -- 2020-09-24

Features

  • Updates to the AWS Encryption SDK. 73cce71

Breaking Changes

  • KMSMasterKeyProvider is removed. Customers must use StrictAwsKmsMasterKeyProvider with explicit key ids, or DiscoveryAwsKmsMasterKeyProvider to allow decryption of any ciphertext to which the application has access.
  • The encrypt, decrypt, and stream methods in the aws_encryption_sdk module are removed, replaced by identically named methods on the new EncryptionSDKClient class.
  • Key committing algorithm suites are now default.

See Migration guide for more details.

1.7.0 -- 2020-09-24

Features

  • Updates to the AWS Encryption SDK. ef90351

Deprecations

  • KMSMasterKeyProvider is deprecated. Customers should move to StrictAwsKmsMasterKeyProvider with explicit key ids, or DiscoveryAwsKmsMasterKeyProvider to allow decryption of any ciphertext to which the application has access.
  • The encrypt, decrypt, and stream methods in the aws_encryption_sdk module are deprecated. Customers should move to the identically named methods on the new EncryptionSDKClient class.

See Migration guide for more details.

1.4.1 -- 2019-09-20

Bugfixes

  • Fix region configuration override in botocore sessions. #190 #193

Minor

  • Caching CMM must require that max age configuration value is greater than 0. #147 #172

1.4.0 -- 2019-05-23

Minor

  • Remove dependence on all source_stream APIs except for read(). #103

Potentially Backwards Incompatible

  • Encryption streams no longer close the source_stream when they themselves close. If you are using context managers for all of your stream handling, this change will not affect you. However, if you have been relying on the StreamDecryptor or StreamEncryptor to close your source_stream for you, you will now need to close those streams yourself.
  • StreamDecryptor.body_start and StreamDecryptor.body_end, deprecated in a prior release, have now been removed.

Maintenance

  • Move all remaining unittest tests to pytest. #99

Bugfixes

  • Fix MasterKeyprovider.decrypt_data_key_from_list error handling. #150

1.3.8 -- 2018-11-15

Bugfixes

  • Remove debug logging that may contain input data when encrypting non-default unframed messages. #105

Minor

  • Add support to remove clients from :class:`KMSMasterKeyProvider` client cache if they fail to connect to endpoint. #86
  • Add support for SHA384 and SHA512 for use with RSA OAEP wrapping algorithms. #56
  • Fix streaming_client classes to properly interpret short reads in source streams. #24

1.3.7 -- 2018-09-20

Bugfixes

  • Fix KMSMasterKeyProvider to determine the default region before trying to create the requested master keys. #83

1.3.6 -- 2018-09-04

Bugfixes

1.3.5 -- 2018-08-01

  • Move the aws-encryption-sdk-python repository from awslabs to aws.

1.3.4 -- 2018-04-12

Bugfixes

  • AWS KMS master key/provider user agent extension fixed. #47

Maintenance

  • New minimum pytest version 3.3.1 to avoid bugs in 3.3.0 #32
  • New minimum attrs version 17.4.0 to allow use of converter rather than convert #39
  • Algorithm Suites are modeled as collections of sub-suites now #36
  • Selecting test suites is more sane now, with pytest markers. #41

1.3.3 -- 2017-12-05

Bugfixes

  • Remove use of attrs functionality deprecated in 17.3.0 #29

Maintenance

1.3.2 -- 2017-09-28

  • Addressed issue #13 to properly handle non-seekable source streams.

1.3.1 -- 2017-09-12

Reorganization

  • Moved source into src.
  • Moved examples into examples.
  • Broke out internal.crypto into smaller, feature-oriented, modules.

Tooling

  • Added tox configuration to support automation and development tooling.
  • Added pylint, flake8, and doc8 configuration to enforce style rules.

Maintenance

  • Updated internal.crypto.authentication.Verifier to use Prehashed.
  • Addressed docstring issue #7.
  • Addressed docstring issue #8.
  • Addressed logging issue #10.
  • Addressed assorted linting issues to bring source, tests, examples, and docs up to configured linting standards.

1.3.0 -- 2017-08-04

Major

  • Added cryptographic materials managers as a concept
  • Added data key caching
  • Moved to deterministic IV generation

Minor

  • Added changelog
  • Fixed attrs usage to provide consistent behavior with 16.3.0 and 17.x
  • Fixed performance bug which caused KDF calculations to be performed too frequently
  • Removed line_length as a configurable parameter of EncryptingStream and DecryptingStream objects to simplify class APIs after it was found in further testing to have no measurable impact on performance
  • Added deterministic length eliptic curve signature generation
  • Added support for calculating ciphertext message length from header
  • Migrated README from md to rst

1.2.2 -- 2017-05-23

1.2.0 -- 2017-03-21

  • Initial public release