Skip to content

Releases: l0s/fernet-java8

Fernet Java 1.4.2

12 Nov 02:36
@l0s l0s
fernet-java-1.4.2
6b7eced
Compare
Choose a tag to compare

This release increases the visibility of some core construction methods so users who already deal with byte arrays do not need to base64 encode them first. In addition, for users of the AWS Secrets Manager rotator Lambda, the version of Jackson has been upgraded. A detailed list of changes is available here.

Usage

The core library can be pulled from Maven Central. It can be added directly to the classpath as there are no dependencies. Alternatively, it can be pulled in using a package manager as described here.

The AWS Secrets Manager Rotator can be downloaded from Maven Central. It can be uploaded directly into the AWS Console.

The Jersey module should be pulled from Maven Central.

Fernet Java 1.4.1

24 Jul 17:19
@l0s l0s
fernet-java-1.4.1
9bcdf20
Compare
Choose a tag to compare

This release adds convenience methods for generating keys and tokens without specifying an entropy source. A detailed list of changes is available here.

Usage

The core library can be pulled from Maven Central. It can be added directly to the classpath as there are no dependencies. Alternatively, it can be pulled in using a package manager as described here.

The AWS Secrets Manager Rotator can be downloaded from Maven Central. It can be uploaded directly into the AWS Console.

The Jersey module should be pulled from Maven Central.

Fernet Java 1.4.0

22 Jul 20:08
@l0s l0s
fernet-java-1.4.0
86a953c
Compare
Choose a tag to compare

Breaking Changes

This release introduces the following breaking changes:

  1. Only cryptographically secure entropy sources (i.e. SecureRandom) are supported. Developers still have the flexibility to seed the PRNG or provide a custom implementation, but the less secure Random cannot be used.
  2. The method to decrypt arbitrary cipher text has been removed from the public API. Although it is still used internally, client applications will need to use a validateAndDecrypt method in order to access the secret data.

For a detailed list of the changes, see here.

Usage

The core library can be pulled from Maven Central. It can be added directly to the classpath as there are no dependencies. Alternatively, it can be pulled in using a package manager as described here.

The AWS Secrets Manager Rotator can be downloaded from Maven Central. It can be uploaded directly into the AWS Console.

The Jersey module should be pulled from Maven Central.

Fernet Java 1.3.6

22 Jul 19:43
@l0s l0s
fernet-java-1.3.6
c236ae2
Compare
Choose a tag to compare

This release updates several dependencies used by the AWS Secrets Manager Rotator and the Jersey module. This reduces the likelihood of security vulnerabilities in client code. A detailed list of changes is available here.

Usage

The core library can be pulled from Maven Central. It can be added directly to the classpath as there are no dependencies. Alternatively, it can be pulled in using a package manager as described here.

The AWS Secrets Manager Rotator can be downloaded from Maven Central. It can be uploaded directly into the AWS Console.

The Jersey module should be pulled from Maven Central.

Fernet Java 1.3.5

22 Jul 19:37
@l0s l0s
fernet-java-1.3.5
6a34948
Compare
Choose a tag to compare

This release adds two security features. First, it makes a best-effort attempt to wipe secret data from memory before that memory is made available to other applications. Second, it uses constant-time comparisons of secret data to mitigate against timing attacks. A detailed list of the changes from v1.3.4 is available here.

Usage

The core library can be pulled from Maven Central. It can be added directly to the classpath as there are no dependencies. Alternatively, it can be pulled in using a package manager as described here.

The AWS Secrets Manager Rotator can be downloaded from Maven Central. It can be uploaded directly into the AWS Console.

The Jersey module should be pulled from Maven Central.

Fernet Java 1.3.4

02 Jun 23:14
@l0s l0s
fernet-java-1.3.4
45852e9
Compare
Choose a tag to compare

This release introduces changes to make the libraries compatible with JDK 10 and JDK 11. It is still compatible with JDK 8. In addition, for the AWS Secrets Manager Rotator, newer versions of the AWS SDK libraries and the Log4J libraries are introduced.

Usage

The core library can be pulled from Maven Central. It can be added directly to the classpath as there are no dependencies. Alternatively, it can be pulled in using a package manager as described here.

The AWS Secrets Manager Rotator can be downloaded from Maven Central. It can be uploaded directly into the AWS Console.

The Jersey module should be pulled from Maven Central.

Fernet Java 1.3.3

25 Oct 04:48
@l0s l0s
fernet-java-1.3.3
efc7c64
Compare
Choose a tag to compare

This release updates dependencies used by the AWS Secrets Manager Fernet Key Rotator Lambda. For more information, see here.

Usage

The core library can be downloaded here and added to your classpath or pulled from Maven Central.

The AWS Secrets Manager Rotator can either be downloaded here or from Maven Central. It can be uploaded directly into the AWS Console.

The Jersey module should be pulled from Maven Central.

Fernet Java 1.3.2

23 Sep 00:42
@l0s l0s
fernet-java-1.3.2
96b7dca
Compare
Choose a tag to compare

Platform Improvements

This release updates a number of dependencies and imposes stricter static analysis rules (from PMD and SonarQube). For more information, see here.

Usage

The core library can be downloaded here and added to your classpath or pulled from Maven Central.

The AWS Secrets Manager Rotator can either be downloaded here or from Maven Central. It can be uploaded directly into the AWS Console.

The Jersey module should be pulled from Maven Central.

Fernet Java 1.3.1

25 Jul 04:32
@l0s l0s
fernet-java-1.3.1
e5e9953
Compare
Choose a tag to compare

Add support for Jersey JAX-RS integration

Core Library Changes

A more specific TokenValidationException, PayloadValidationException, was introduced to identify when a token is valid but fails custom validation.

New Module

The fernet-jersey-auth module was added to support authentication of REST endpoints with Fernet tokens. For more information, see the documentation.

Fernet Java 1.2.0

10 Jun 03:49
@l0s l0s
fernet-java-1.2.0
f99413d
Compare
Choose a tag to compare

Support AWS Secrets Manager

This release has minimal changes to the core library. However, it introduces a new submodule that provides AWS Lambda functions to rotate Fernet keys that are stored using AWS Secrets Manager.