Apache Commons logo Commons Crypto? logo

Apache Commons Crypto Release Notes

Release History

Version Date Description
1.2.0 2023-01-14 Minor release (Java 8, OpenSSL 1.1.1)
1.1.0 2020-08-28 Minor release (Java 8, OpenSSL 1.1.1)
1.0.0 2016-07-22 Initial release (Java 7). The initial release is known to build on Linux, MacOS/X and Windows (using MinGW). It may build on other systems. Please note that the JNA interface to OpenSSL is a preliminary release. It is relatively slow, but may be of use on systems which aren't yet supported by the JNI code.

Release 1.2.0 – 2023-01-14

Type Changes By
Fix Enhance the quality of JavaCryptoRandom. Fixes CRYPTO-160. jochen
Fix Package-private implementations of CryptoRandom extends java.util.Random but should not. Fixes CRYPTO-160. Thanks to Gary Gregory. ggregory
Fix Makefile does not recompile objects if local include files are changed. Fixes CRYPTO-163.
Fix License header should be a plain comment #113. Fixes CRYPTO-154.
Fix Fix PMD warning and don't init to defaults #128. Thanks to Arturo Bernal. ggregory
Fix Minor changes #135. Thanks to Arturo Bernal. ggregory
Fix Port from pre-Java 8 javah tool to Java 8 and up javac with the -h option. Thanks to Gary Gregory. ggregory
Fix Fix build on Java 11. Thanks to Gary Gregory. ggregory
Fix Fix build on Java 17. Thanks to Gary Gregory. ggregory
Fix Minor improvement #115, #125. Fixes CRYPTO-155. Thanks to Arturo Bernal.
Fix PositionedCryptoInputStream does not close its CryptoCipher instances. Thanks to Gary Gregory. ggregory
Fix Validate return value from OpenSslNativeJna.EVP_CIPHER_CTX_set_padding(). Thanks to Gary Gregory. ggregory
Fix Validate return value from OpenSslNativeJna.ENGINE_finish(). Thanks to Gary Gregory. ggregory
Fix Validate return value from OpenSslNativeJna.ENGINE_free(). Thanks to Gary Gregory. ggregory
Fix Add github/codeql-action 2 #159. Thanks to Gary Gregory, Dependabot. ggregory
Fix Add AES utility class. Thanks to Gary Gregory, Dependabot. ggregory
Update Bump actions/cache from 2.1.7 to 3.0.9 #150, #184. Thanks to Dependabot, Gary Gregory. ggregory
Update Bump actions/checkout from 2 to 3.1.0 #149, #187. Thanks to Dependabot, Gary Gregory. ggregory
Update Bump actions/setup-java from 2 to 3.6.0 #190. Thanks to Gary Gregory, Dependabot. ggregory
Update Bump actions/upload-artifact from 3.1.0 to 3.1.1 #192. Thanks to Dependabot. ggregory
Update Migrate to Junit 5.9.1 #114, #171, #183. Fixes CRYPTO-151. Thanks to Arturo Bernal, Dependabot.
Update Bump jna from 5.5.0 to 5.13.0 #123, #139, #153, #167, #209. Thanks to Dependabot. ggregory
Update Bump commons.japicmp.version from 0.14.3 to 0.17.1. Thanks to Gary Gregory. ggregory
Update Bump maven-checkstyle-plugin from 3.1.1 to 3.2.0 #130, #176. Thanks to Dependabot. ggregory
Update Bump jmh.version from 1.12 to 1.36 #119, #157, #194. Thanks to Dependabot. ggregory
Update Bump exec-maven-plugin from 1.6.0 to 3.1.0 #121, #170. Thanks to Dependabot. ggregory
Update Bump maven-antrun-plugin from 1.8 to 3.1.0 #120, #158. Thanks to Dependabot. ggregory
Update Bump commons.japicmp.version from 0.15.2 to 0.15.7 #138. Thanks to Gary Gregory. ggregory
Update Bump jacoco-maven-plugin from 0.6.6 to 0.8.8 #138, #154. Thanks to Gary Gregory. ggregory
Update Bump maven-javadoc-plugin from 3.2.0 to 3.4.1 #138. Thanks to Gary Gregory. ggregory
Update Bump maven-pmd-plugin from 3.14.0 to 3.19.0 #140, #177, #178. Thanks to Gary Gregory. ggregory
Update Bump pmd from 6.44.0 to 6.52.0. Thanks to Gary Gregory. ggregory
Update Bump taglist-maven-plugin from 2.4 to 3.0.0 #147. Thanks to Dependabot. ggregory
Update Bump spotbugs-maven-plugin from 4.5.3.0 to 4.7.3.0 #152, #160, #168, #174, #179, #189, #193. Thanks to Dependabot. ggregory
Update Bump commons-parent from 52 to 56 #182, #196, #204. Thanks to Gary Gregory, Dependabot. ggregory
Update Bump commons.surefire.version from 3.0.0-M5 to 3.0.0-M7. Thanks to Gary Gregory. ggregory
Update Bump maven-resources-plugin from 3.2.0 to 3.3.0 #172. Thanks to Dependabot. ggregory
Update Bump jaxb-impl from 2.3.6 to 2.3.7. Thanks to Gary Gregory. ggregory

Release 1.1.0 – 2020-08-28

Type Changes By
Add Support Galois/Counter Mode (GCM). Fixes CRYPTO-59.
Fix CryptoOutputStream does not call write in a loop when underlying channel works in non-block mode. Fixes CRYPTO-125.
Add Provide FAQ page. Fixes CRYPTO-131. britter
Fix CipherByteBufferExample should not truncate the string. Fixes CRYPTO-134. sebb
Fix Error compiling on Win64 with Mingw. Fixes CRYPTO-137.
Fix CipherByteArrayExample fails on OpenSSL 1.1.0g with java.lang.UnsatisfiedLinkError: EVP_CIPHER_CTX_cleanup. Fixes CRYPTO-138.
Add Add support for AARCH64. Fixes CRYPTO-139.
Fix Errors in native code can leave Java wrappers in bad state. Fixes CRYPTO-141.
Fix Intermittent Failure in GCMCipherTest#testGcmTamperedData() #105. Fixes CRYPTO-141. Thanks to Alex Remily. ggregory
Add Make org.apache.commons.crypto.stream.input.Input extend Closeable. Fixes CRYPTO-139.
Add Make org.apache.commons.crypto.stream.output.Output extend Closeable. Fixes CRYPTO-139.
Update Add support for ARM. ggregory
Update Add support for ARM-HF. ggregory
Update Reset JAVA_HOME for aarch64 and ppc builds. Turn off maven-enforcer for Xenial builds #104. Thanks to Geoffrey Blake. ggregory
Update Update maven-checkstyle-plugin 3.0.0 -> 3.1.1. ggregory
Update Update commons-parent 51 -> 52. ggregory
Update Update maven-resources-plugin 3.1.0 -> 3.2.0. ggregory
Update Update Apache CLIRR to JApiCmp. ggregory
Update Update FindBugs to SpotBugs. ggregory
Update Bump coveralls-maven-plugin from 3.1.0 to 4.3.0 #112. Fixes CRYPTO-153. Thanks to Arturo Bernal. ggregory

Release 1.0.0 – 2016-07-22

Type Changes By
Add Enable common code quality reports. Fixes CRYPTO-68. britter
Fix Warnings compiling on MacOSX - JNIEXPORT redefined. Fixes CRYPTO-65. Thanks to sebb. britter
Add User guide documentation . Fixes CRYPTO-11. Thanks to Ke Jia, Jerry Chen. Ke Jia
Add Rename CryptoInputStream to CipherInputStream and CryptoOutputStream to CipherOutputStream . Fixes CRYPTO-12. Thanks to Xianda Ke. Xianda Ke
Add The API differences between apache.commons.crypto and JCE . Fixes CRYPTO-13. Thanks to Xianda Ke. Xianda Ke
Update Utility classes should not have public constructors . Fixes CRYPTO-26. Thanks to Dapeng Sun. Dapeng Sun
Update Update the README.md of Apache Commons Crypto . Fixes CRYPTO-28. Thanks to Ferdinand Xu, Ke Jia. Ferdinand Xu
Fix Make sure Cipher.ENCRYPT_MODE is consistent with JDK . Fixes CRYPTO-29. Thanks to Dian Fu, Sebb. Dian Fu
Update Change default cipher as OpenSslCipher . Fixes CRYPTO-3. Thanks to ferdinand xu. Ferdinand Xu
Fix Mutable fields should be private . Fixes CRYPTO-30. Thanks to Ferdinand Xu, Sebb. Ferdinand Xu
Update Make fields final wherever possible . Fixes CRYPTO-31. Thanks to Ferdinand Xu, Sebb. Ferdinand Xu
Update SecureRandom shadows JVM class . Fixes CRYPTO-33. Thanks to Xianda Ke, Sebb. Xianda Ke
Fix JavaSecureRandom should throw Exception if it cannot create the instance . Fixes CRYPTO-34. Thanks to Dapeng Sun, Sebb. Dapeng Sun
Update Always use blocks . Fixes CRYPTO-38. Thanks to Dapeng Sun, Gary Gregory. Dapeng Sun
Add Remove the full qualified package name for shadowed classes . Fixes CRYPTO-40. Thanks to Xianda Ke, Jerry Chen. Xianda Ke
Add Remove the header files required for cross platform compilation . Fixes CRYPTO-42. Thanks to Dian Fu, Jerry Chen. Dian Fu
Add Document how to build Commons Crypto . Fixes CRYPTO-45. Thanks to Dian Fu, Benedikt Ritter. Dian Fu
Fix Fix build of MAC_OS . Fixes CRYPTO-47. Thanks to Dapeng Sun. Dapeng Sun
Add Setup site build as defined in commons-parent pom . Fixes CRYPTO-48. Thanks to Benedikt Ritter, Dapeng Sun. Benedikt Ritter
Fix CRYPTO-1 Fix build of X86 . Fixes CRYPTO-49. Thanks to Dapeng Sun. Dapeng Sun
Update Rename source code in Chimera to Apache name space . Fixes CRYPTO-7. Thanks to ferdinand xu. Ferdinand Xu
Fix Fix build on Mac OS. Fixes CRYPTO-57. Thanks to Benedikt Ritter. Benedikt Ritter
Fix Fix possible NPE in OpenSslCryptoRandom. Fixes CRYPTO-61. Thanks to Hendrik Saly. Hendrik Saly
Fix US Export classification and ECCN registration for encryption. Fixes CRYPTO-54. Thanks to Stian Soiland-Reyes, Jerry Chen, Benedikt Ritter, Gary Gregory. Dapeng Sun
Update Add multithreaded related tests. Fixes CRYPTO-62. Thanks to Hendrik Saly. Hendrik Saly