Releases: aws/aws-encryption-sdk-python
4.0.0 -- 2024-11-13
Features
- Add support for constructs from the AWS Cryptographic Material Providers Library (MPL).
The MPL contains new constructs for encrypting and decrypting your data.
We highly recommend installing the MPL. See Installing for instructions.
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
3.2.0 -- 2024-03-18
Features
- test Python 3.12 in CI (#623 (https://github.com/josecorella/aws-encryption-sdk-python/issues/623)) (93a67d8 (josecorella@93a67d8))
- update requirements and README (#638 (https://github.com/josecorella/aws-encryption-sdk-python/issues/638)) (bcead77 (josecorella@bcead77))
Fixes
- CI for Decrypt Oracle (#558 (https://github.com/josecorella/aws-encryption-sdk-python/issues/558)) (6c6b732 (josecorella@6c6b732))
- deprecate python36 from chalice (#539 (https://github.com/josecorella/aws-encryption-sdk-python/issues/539)) (f8aa29f (josecorella@f8aa29f))
- test: correctly invoke ec.generate_private_key (#585 (https://github.com/josecorella/aws-encryption-sdk-python/issues/585)) (560e714 (josecorella@560e714))
- update pyca range (#507 (https://github.com/josecorella/aws-encryption-sdk-python/issues/507)) (aced92c (josecorella@aced92c))
- Use FORBID_ENCRYPT_ALLOW_DECRYPT policy for decrypt oracle (#538 (https://github.com/josecorella/aws-encryption-sdk-python/issues/538)) (e91838f (josecorella@e91838f))
- wrong formatting python warning (#546 (https://github.com/josecorella/aws-encryption-sdk-python/issues/546)) (9b618d3 (josecorella@9b618d3))
Maintenance
- Add example for custom KMS client config (#440 (https://github.com/josecorella/aws-encryption-sdk-python/issues/440)) (08f305a (josecorella@08f305a))
- Add Thread safety section to README (#562 (https://github.com/josecorella/aws-encryption-sdk-python/issues/562)) (7a07b16 (josecorella@7a07b16))
- bump deps & document upstream test (#646 (https://github.com/josecorella/aws-encryption-sdk-python/issues/646)) (a93ffe7 (josecorella@a93ffe7))
- CFN: Commit existing CFN (#636 (https://github.com/josecorella/aws-encryption-sdk-python/issues/636)) (c122076 (josecorella@c122076))
- ci: skip pyenv installation if already exists (#627 (https://github.com/josecorella/aws-encryption-sdk-python/issues/627)) (1006758 (josecorella@1006758))
- deps: bump actions/checkout from 3 to 4 (#607 (https://github.com/josecorella/aws-encryption-sdk-python/issues/607)) (e5c331b (josecorella@e5c331b))
- deps: bump actions/setup-python from 2 to 4.2.0 (#491 (https://github.com/josecorella/aws-encryption-sdk-python/issues/491)) (d064bf8 (josecorella@d064bf8))
- deps: bump cryptography from 39.0.0 to 39.0.1 in /test (#559 (https://github.com/josecorella/aws-encryption-sdk-python/issues/559)) (6468137 (josecorella@6468137))
- deps: bump cryptography from 39.0.1 to 41.0.2 in /test (#592 (https://github.com/josecorella/aws-encryption-sdk-python/issues/592)) (3ba8019 (josecorella@3ba8019))
- deps: bump cryptography from 41.0.2 to 41.0.6 in /test (#626 (https://github.com/josecorella/aws-encryption-sdk-python/issues/626)) (c67e6bd (josecorella@c67e6bd))
- deps: bump dependabot/fetch-metadata from 1.3.0 to 1.3.6 (#549 (https://github.com/josecorella/aws-encryption-sdk-python/issues/549)) (2a6bd9d (josecorella@2a6bd9d))
- deps: bump flake8-bugbear in /dev_requirements (#512 (https://github.com/josecorella/aws-encryption-sdk-python/issues/512)) (93f01d6 (josecorella@93f01d6))
- deps: bump flake8-docstrings in /dev_requirements (#555 (https://github.com/josecorella/aws-encryption-sdk-python/issues/555)) (bd8f270 (josecorella@bd8f270))
- deps: bump flake8-print from 4.0.0 to 5.0.0 in /dev_requirements (#554 (https://github.com/josecorella/aws-encryption-sdk-python/issues/554)) (2326531 (josecorella@2326531))
- deps: bump isort from 5.10.1 to 5.11.4 in /dev_requirements (#551 (https://github.com/josecorella/aws-encryption-sdk-python/issues/551)) (36a0ea2 (josecorella@36a0ea2))
- deps: bump pytest from 7.0.1 to 7.2.0 in /dev_requirements (#524 (https://github.com/josecorella/aws-encryption-sdk-python/issues/524)) (af98302 (josecorella@af98302))
- deps: bump pytest from 7.2.0 to 7.2.1 in /dev_requirements (#553 (https://github.com/josecorella/aws-encryption-sdk-python/issues/553)) (48f96d5 (josecorella@48f96d5))
- deps: bump pytest-cov from 3.0.0 to 4.0.0 in /dev_requirements (#550 (https://github.com/josecorella/aws-encryption-sdk-python/issues/550)) (6e436e1 (josecorella@6e436e1))
- deps: bump readme-renderer from 34.0 to 37.3 in /dev_requirements (#526 (https://github.com/josecorella/aws-encryption-sdk-python/issues/526)) (38aa063 (josecorella@38aa063))
- deps: bump setuptools from 62.0.0 to 66.1.1 in /dev_requirements (#547 (https://github.com/josecorella/aws-encryption-sdk-python/issues/547)) (04e8c16 (josecorella@04e8c16))
- deps: bump sphinx from 4.4.0 to 5.3.0 in /dev_requirements (#523 (https://github.com/josecorella/aws-encryption-sdk-python/issues/523)) (51cb2ce (josecorella@51cb2ce))
- deps: bump tox from 3.24.5 to 3.27.1 in /dev_requirements (#528 (https://github.com/josecorella/aws-encryption-sdk-python/issues/528)) (e2c834a (josecorella@e2c834a))
- deps: bump urllib3 from 1.26.14 to 1.26.18 in /test (#618 (https://github.com/josecorella/aws-encryption-sdk-python/issues/618)) (bbb2281 (josecorella@bbb2281))
- deps: bump vulture from 2.3 to 2.6 in /dev_requirements (#533 (https://github.com/josecorella/aws-encryption-sdk-python/issues/533)) (2822364 (josecorella@2822364))
- deps: bump wheel from 0.37.1 to 0.38.4 in /dev_requirements (#536 (https://github.com/josecorella/aws-encryption-sdk-python/issues/536)) (1922650 (josecorella@1922650))
- drop py3.6 from Oracle & Test Vectors (#529 (https://github.com/josecorella/aws-encryption-sdk-python/issues/529)) (8b6a493 (josecorella@8b6a493))
- drop py36 support (#530 (https://github.com/josecorella/aws-encryption-sdk-python/issues/530)) (a753ff8 (josecorella@a753ff8))
- release: add api token to prod release process (#503 (https://github.com/josecorella/aws-encryption-sdk-python/issues/503)) (333c85b (josecorella@333c85b))
- release: add api token to staging release process (#502 (https://github.com/josecorella/aws-encryption-sdk-python/issues/502)) (78e43b3 (josecorella@78e43b3))
- rm upstream-py27 (#564 (https://github.com/josecorella/aws-encryption-sdk-python/issues/564)) (b378508 (josecorella@b378508))
- SupportPolicy: Mark 1.x & 2.x End-of-Support (#501 (https://github.com/josecorella/aws-encryption-sdk-python/issues/501)) (ca58e5e (josecorella@ca58e5e))
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
1.10.0 -- 2022-06-21
Maintenance
- Pin
cryptography
to last version that supports Python2
3.1.1 -- 2022-06-21
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.