Skip to content

Commit 828adb6

Browse files
chore: Add support policy (#170)
1 parent 3499d5d commit 828adb6

File tree

6 files changed

+50
-8
lines changed

6 files changed

+50
-8
lines changed

README.rst

+3
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ You can find our source on `GitHub`_.
3838

3939
`Security issue notifications`_
4040

41+
See `Support Policy`_ for details on the current support status of all major versions of this library.
42+
4143
***************
4244
Getting Started
4345
***************
@@ -193,3 +195,4 @@ of the one that the client would normally construct for you.
193195
.. _decrypt_dynamodb_item: https://aws-dynamodb-encryption-python.readthedocs.io/en/latest/lib/encrypted/item.html#dynamodb_encryption_sdk.encrypted.item.decrypt_dynamodb_item
194196
.. _transformation functions: https://aws-dynamodb-encryption-python.readthedocs.io/en/latest/lib/tools/transform.html
195197
.. _Security issue notifications: https://github.com/aws/aws-dynamodb-encryption-python/blob/master/CONTRIBUTING.md#user-content-security-issue-notifications
198+
.. _Support Policy: https://github.com/aws/aws-dynamodb-encryption-python/blob/master/SUPPORT_POLICY.rst

SUPPORT_POLICY.rst

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
Overview
2+
========
3+
This page describes the support policy for the AWS DynamoDB Encryption Client. We regularly provide the AWS DynamoDB Encryption Client with updates that may contain support for new or updated APIs, new features, enhancements, bug fixes, security patches, or documentation updates. Updates may also address changes with dependencies, language runtimes, and operating systems.
4+
5+
We recommend users to stay up-to-date with DynamoDB Encryption Client releases to keep up with the latest features, security updates, and underlying dependencies. Continued use of an unsupported SDK version is not recommended and is done at the user’s discretion.
6+
7+
8+
Major Version Lifecycle
9+
========================
10+
The AWS DynamoDB Encryption Client follows the same major version lifecycle as the AWS SDK. For details on this lifecycle, see `AWS SDKs and Tools Maintenance Policy`_.
11+
12+
Version Support Matrix
13+
======================
14+
This table describes the current support status of each major version of the AWS DynamoDB Encryption Client for Python. It also shows the next status each major version will transition to, and the date at which that transition will happen.
15+
16+
.. list-table::
17+
:widths: 30 50 50 50
18+
:header-rows: 1
19+
20+
* - Major version
21+
- Current status
22+
- Next status
23+
- Next status date
24+
* - 1.x
25+
- Maintenance
26+
- End of Support
27+
- 2022-07-08
28+
* - 2.x
29+
- Generally Available
30+
-
31+
-
32+
33+
.. _AWS SDKs and Tools Maintenance Policy: https://docs.aws.amazon.com/sdkref/latest/guide/maint-policy.html#version-life-cycle

doc/conf.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
def read(*args):
1313
"""Reads complete file contents."""
14-
return io.open(os.path.join(HERE, *args), encoding="utf-8").read()
14+
return io.open(os.path.join(HERE, *args), encoding="utf-8").read() # pylint: disable=consider-using-with
1515

1616

1717
def get_release():

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
def read(*args):
1313
"""Reads complete file contents."""
14-
return io.open(os.path.join(HERE, *args), encoding="utf-8").read()
14+
return io.open(os.path.join(HERE, *args), encoding="utf-8").read() # pylint: disable=consider-using-with
1515

1616

1717
def get_version():

src/dynamodb_encryption_sdk/delegated_keys/__init__.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ class DelegatedKey(object):
4545
a :class:`NotImplementedError` detailing this.
4646
"""
4747

48-
@abc.abstractproperty
48+
@property
49+
@abc.abstractmethod
4950
def algorithm(self):
5051
# type: () -> Text
5152
"""Text description of algorithm used by this delegated key."""

src/dynamodb_encryption_sdk/materials/__init__.py

+10-5
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@
3333
class CryptographicMaterials(object):
3434
"""Base class for all cryptographic materials."""
3535

36-
@abc.abstractproperty
36+
@property
37+
@abc.abstractmethod
3738
def material_description(self):
3839
# type: () -> Dict[Text, Text]
3940
"""Material description to use with these cryptographic materials.
@@ -42,7 +43,8 @@ def material_description(self):
4243
:rtype: dict
4344
"""
4445

45-
@abc.abstractproperty
46+
@property
47+
@abc.abstractmethod
4648
def encryption_key(self):
4749
# type: () -> DelegatedKey
4850
"""Delegated key used for encrypting attributes.
@@ -51,7 +53,8 @@ def encryption_key(self):
5153
:rtype: DelegatedKey
5254
"""
5355

54-
@abc.abstractproperty
56+
@property
57+
@abc.abstractmethod
5558
def decryption_key(self):
5659
# type: () -> DelegatedKey
5760
"""Delegated key used for decrypting attributes.
@@ -60,7 +63,8 @@ def decryption_key(self):
6063
:rtype: DelegatedKey
6164
"""
6265

63-
@abc.abstractproperty
66+
@property
67+
@abc.abstractmethod
6468
def signing_key(self):
6569
# type: () -> DelegatedKey
6670
"""Delegated key used for calculating digital signatures.
@@ -69,7 +73,8 @@ def signing_key(self):
6973
:rtype: DelegatedKey
7074
"""
7175

72-
@abc.abstractproperty
76+
@property
77+
@abc.abstractmethod
7378
def verification_key(self):
7479
# type: () -> DelegatedKey
7580
"""Delegated key used for verifying digital signatures.

0 commit comments

Comments
 (0)