- Replace deprecated cryptography
verify_interface
withisinstance
#467
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.
- Warn on Deprecated Python usage #368
- Add Python 3.10 to CI
- Remove Python 3.5 from testing
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.
- Move away from deprecated cryptography
int_from_bytes
#355
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.
AWS KMS multi-Region Key support
Added new the master key MRKAwareKMSMasterKey and the new master key providers MRKAwareStrictAwsKmsMasterKeyProvider and MRKAwareDiscoveryAwsKmsMasterKeyProvider that support AWS KMS multi-Region Keys.
See https://docs.aws.amazon.com/kms/latest/developerguide/multi-region-keys-overview.html for more details about AWS KMS multi-Region Keys. See https://docs.aws.amazon.com/encryption-sdk/latest/developer-guide/configure.html#config-mrks for more details about how the AWS Encryption SDK interoperates with AWS KMS multi-Region keys.
Improvements to the message decryption process
See https://github.com/aws/aws-encryption-sdk-python/security/advisories/GHSA-x5h4-9gqw-942j.
- 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
- Updates to the AWS Encryption SDK. 73cce71
KMSMasterKeyProvider
is removed. Customers must useStrictAwsKmsMasterKeyProvider
with explicit key ids, orDiscoveryAwsKmsMasterKeyProvider
to allow decryption of any ciphertext to which the application has access.- The
encrypt
,decrypt
, andstream
methods in theaws_encryption_sdk
module are removed, replaced by identically named methods on the newEncryptionSDKClient
class. - Key committing algorithm suites are now default.
See Migration guide for more details.
- Updates to the AWS Encryption SDK. ef90351
KMSMasterKeyProvider
is deprecated. Customers should move toStrictAwsKmsMasterKeyProvider
with explicit key ids, orDiscoveryAwsKmsMasterKeyProvider
to allow decryption of any ciphertext to which the application has access.- The
encrypt
,decrypt
, andstream
methods in theaws_encryption_sdk
module are deprecated. Customers should move to the identically named methods on the newEncryptionSDKClient
class.
See Migration guide for more details.
- Remove dependence on all
source_stream
APIs except forread()
. #103
- 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 theStreamDecryptor
orStreamEncryptor
to close yoursource_stream
for you, you will now need to close those streams yourself. StreamDecryptor.body_start
andStreamDecryptor.body_end
, deprecated in a prior release, have now been removed.
- Move all remaining
unittest
tests topytest
. #99
- Fix
MasterKeyprovider.decrypt_data_key_from_list
error handling. #150
- Remove debug logging that may contain input data when encrypting non-default unframed messages. #105
- 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
- Fix KMSMasterKeyProvider to determine the default region before trying to create the requested master keys. #83
- :class:`StreamEncryptor` and :class:`StreamDecryptor` should always report as readable if they are open. #73
- Allow duck-typing of source streams. #75
- Move the
aws-encryption-sdk-python
repository fromawslabs
toaws
.
- AWS KMS master key/provider user agent extension fixed. #47
- 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 thanconvert
#39 - Algorithm Suites are modeled as collections of sub-suites now #36
- Selecting test suites is more sane now, with pytest markers. #41
- Remove use of attrs functionality deprecated in 17.3.0 #29
- Blacklisted pytest 3.3.0 #32 pytest-dev/pytest#2957
- Addressed issue #13 to properly handle non-seekable source streams.
- Moved source into
src
. - Moved examples into
examples
. - Broke out
internal.crypto
into smaller, feature-oriented, modules.
- Added tox configuration to support automation and development tooling.
- Added pylint, flake8, and doc8 configuration to enforce style rules.
- Updated
internal.crypto.authentication.Verifier
to usePrehashed
. - 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.
- Added cryptographic materials managers as a concept
- Added data key caching
- Moved to deterministic IV generation
- 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 ofEncryptingStream
andDecryptingStream
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
- Fixed
attrs
version to 16.3.0 to avoid breaking changes in attrs 17.1.0
- Initial public release