diff --git a/.mvn/maven.config b/.mvn/maven.config index f1099e4..80049dc 100644 --- a/.mvn/maven.config +++ b/.mvn/maven.config @@ -1 +1 @@ --DcommonConfig.compiler.profile=jdk7 +-DcommonConfig.compiler.profile=jdk20 diff --git a/.mvn/wrapper/maven-wrapper.properties b/.mvn/wrapper/maven-wrapper.properties index ca5ab4b..39a584e 100644 --- a/.mvn/wrapper/maven-wrapper.properties +++ b/.mvn/wrapper/maven-wrapper.properties @@ -14,5 +14,5 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. -distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.8.7/apache-maven-3.8.7-bin.zip -wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.1.1/maven-wrapper-3.1.1.jar +distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.5/apache-maven-3.9.5-bin.zip +wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar diff --git a/README.md b/README.md index 33f409b..81b31a5 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,8 @@ providing well-defined modes of operation which includes: All this is achieved by only adding [HKDF](https://en.wikipedia.org/wiki/HKDF) as additional building block. -The code is compiled with target [Java 7](https://en.wikipedia.org/wiki/Java_version_history#Java_SE_7) to be compatible with most [_Android_](https://www.android.com/) versions as well as normal Java applications. +The code is compiled with target [Java 20](https://en.wikipedia.org/wiki/Java_version_history#Java_SE_7) to leverage [Java's module system](https://www.oracle.com/corporate/features/understanding-java-9-modules.html) and adopt new improvements in the JDK. +Please refer to versions 0.6.0 and below for Java 7 compatibility. _Note, that this project is ongoing research and may not be ready for prime-time yet as it requires more feedback from the cryptographic community._ diff --git a/pom.xml b/pom.xml index 2403574..2e689f3 100644 --- a/pom.xml +++ b/pom.xml @@ -11,7 +11,7 @@ bkdf - 0.6.0 + 1.0.0 jar BCrypt Key Derivation Function @@ -26,9 +26,11 @@ patrickfav https://sonarcloud.io - jacoco + reuseReports java + 20 + 20 @@ -49,10 +51,11 @@ org.apache.maven.plugins maven-surefire-plugin - - org.jacoco - jacoco-maven-plugin - + + + + + org.apache.maven.plugins maven-jarsigner-plugin diff --git a/src/main/java/module-info.java b/src/main/java/module-info.java new file mode 100644 index 0000000..715c13b --- /dev/null +++ b/src/main/java/module-info.java @@ -0,0 +1,6 @@ +module at.favre.lib { + requires at.favre.lib.hkdf; + requires at.favre.lib.bytes; + requires bcrypt; + exports at.favre.lib.crypto.bkdf; +} \ No newline at end of file