Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions SUPPORT_POLICY.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
Overview
========
This page describes the support policy for the AWS Encryption SDK. We regularly provide the AWS Encryption SDK 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.

We recommend users to stay up-to-date with Encryption SDK 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


Major Version Lifecycle
========================
The AWS Encryption SDK follows the same major version lifecycle as the AWS SDK. For details on this lifecycle, see `AWS SDKs and Tools Maintenance Policy`_.

Version Support Matrix
======================
This table describes the current support status of each major version of the AWS Encryption SDK for Java. It also shows the next status each major version will transition to, and the date at which that transition will happen.

.. list-table::
:widths: 30 50 50 50
:header-rows: 1

* - Major version
- Current status
- Next status
- Next status date
* - 1.x
- End of Support
-
-
* - 2.x
- Generally Available
-
-

.. _AWS SDKs and Tools Maintenance Policy: https://docs.aws.amazon.com/sdkref/latest/guide/maint-policy.html#version-life-cycle
7 changes: 7 additions & 0 deletions src/main/java/com/amazonaws/encryptionsdk/AwsCrypto.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
import java.io.OutputStream;
import java.nio.charset.StandardCharsets;
import java.util.Collections;
import java.util.logging.Logger;
import java.util.Map;

/**
Expand Down Expand Up @@ -65,6 +66,7 @@
*/
@SuppressWarnings("WeakerAccess") // this is a public API
public class AwsCrypto {
private static final Logger LOGGER = Logger.getLogger(AwsCrypto.class.getName());
private static final Map<String, String> EMPTY_MAP = Collections.emptyMap();

// These are volatile because we allow unsynchronized writes via our setters,
Expand Down Expand Up @@ -93,6 +95,11 @@ public class AwsCrypto {
public AwsCrypto() {
commitmentPolicy_ = CommitmentPolicy.ForbidEncryptAllowDecrypt;
maxEncryptedDataKeys_ = CiphertextHeaders.NO_MAX_ENCRYPTED_DATA_KEYS;
LOGGER.warning(
"This major version (1.x) of the AWS Encryption SDK for Java has reached End-of-Support.\n" +
"It will no longer receive security updates or bug fixes.\n" +
"Consider updating to the latest version of the AWS Encryption SDK."
);
}

private AwsCrypto(Builder builder) {
Expand Down