diff --git a/.gitignore b/.gitignore index 459283cc..f2612b61 100644 --- a/.gitignore +++ b/.gitignore @@ -28,6 +28,7 @@ build/ /sodiumWrapper/static-ios/ /sodiumWrapper/static-linux-x86-64/ /sodiumWrapper/static-macos-x86-64/ +/sodiumWrapper/static-macos/ /sodiumWrapper/static-mingw-x86-64/ /sodiumWrapper/static-tvos/ /sodiumWrapper/static-watchos/ diff --git a/CHANGELOG.md b/CHANGELOG.md index 44fd0290..b4584cf6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,13 @@ ## Descriptive changelog (All dates are DD.MM.YYYY) -#### 0.8.5-SNAPSHOT +#### 0.8.6-SNAPSHOT + +#### 0.8.5 - 5.3.2022 +- Libsodium updated to 7d67f1909bfa6e12254 (2022) - Fix array out of bounds on native when trying to get a pointer to empty array. Return null instead. +- Fixed #20 - calling `crypto_sign_ed25519_sk_to_curve25519` instead of `crypto_sign_ed25519_pk_to_curve25519` in jvm and native implementations +- Bump to kotlin 1.6.10 #### 0.8.4 - 19.7.2021 - Bump to kotlin 1.5.21 diff --git a/README.md b/README.md index 9d3af3c1..94772cce 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ attack surfaces, bugs and other issues and you shouldn't use it in production un #### Gradle ```kotlin -implementation("com.ionspin.kotlin:multiplatform-crypto-libsodium-bindings:0.8.4") +implementation("com.ionspin.kotlin:multiplatform-crypto-libsodium-bindings:0.8.5") ``` #### Snapshot builds @@ -23,7 +23,7 @@ implementation("com.ionspin.kotlin:multiplatform-crypto-libsodium-bindings:0.8.4 repositories { maven("https://oss.sonatype.org/content/repositories/snapshots") } -implementation("com.ionspin.kotlin:multiplatform-crypto-libsodium-bindings:0.8.5-SNAPSHOT") +implementation("com.ionspin.kotlin:multiplatform-crypto-libsodium-bindings:0.8.6-SNAPSHOT") ``` diff --git a/buildSrc/src/main/kotlin/Deps.kt b/buildSrc/src/main/kotlin/Deps.kt index ad01b2d9..f6c804c1 100644 --- a/buildSrc/src/main/kotlin/Deps.kt +++ b/buildSrc/src/main/kotlin/Deps.kt @@ -39,7 +39,7 @@ object Versions { object ReleaseInfo { val group = "com.ionspin.kotlin" - val bindingsVersion = "0.8.5-SNAPSHOT" + val bindingsVersion = "0.8.6-SNAPSHOT" } object Deps { diff --git a/multiplatform-crypto-libsodium-bindings/libsodium-wrappers-sumo-0.7.6.tgz b/multiplatform-crypto-libsodium-bindings/libsodium-wrappers-sumo-0.7.6.tgz deleted file mode 100644 index 97837caa..00000000 Binary files a/multiplatform-crypto-libsodium-bindings/libsodium-wrappers-sumo-0.7.6.tgz and /dev/null differ diff --git a/multiplatform-crypto-libsodium-bindings/src/jvmMain/resources/dynamic-linux-arm64-libsodium.so b/multiplatform-crypto-libsodium-bindings/src/jvmMain/resources/dynamic-linux-arm64-libsodium.so index 3e418371..ca511ce0 100755 Binary files a/multiplatform-crypto-libsodium-bindings/src/jvmMain/resources/dynamic-linux-arm64-libsodium.so and b/multiplatform-crypto-libsodium-bindings/src/jvmMain/resources/dynamic-linux-arm64-libsodium.so differ diff --git a/multiplatform-crypto-libsodium-bindings/src/jvmMain/resources/dynamic-linux-x86-64-libsodium.so b/multiplatform-crypto-libsodium-bindings/src/jvmMain/resources/dynamic-linux-x86-64-libsodium.so index 58079fbf..2186dcb0 100755 Binary files a/multiplatform-crypto-libsodium-bindings/src/jvmMain/resources/dynamic-linux-x86-64-libsodium.so and b/multiplatform-crypto-libsodium-bindings/src/jvmMain/resources/dynamic-linux-x86-64-libsodium.so differ diff --git a/multiplatform-crypto-libsodium-bindings/src/jvmMain/resources/dynamic-macos.dylib b/multiplatform-crypto-libsodium-bindings/src/jvmMain/resources/dynamic-macos.dylib index 222580f3..12f9c6df 100755 Binary files a/multiplatform-crypto-libsodium-bindings/src/jvmMain/resources/dynamic-macos.dylib and b/multiplatform-crypto-libsodium-bindings/src/jvmMain/resources/dynamic-macos.dylib differ diff --git a/multiplatform-crypto-libsodium-bindings/src/jvmMain/resources/dynamic-mingw-x86-64-libsodium.dll.a b/multiplatform-crypto-libsodium-bindings/src/jvmMain/resources/dynamic-mingw-x86-64-libsodium.dll.a index d8360184..4547c68b 100644 Binary files a/multiplatform-crypto-libsodium-bindings/src/jvmMain/resources/dynamic-mingw-x86-64-libsodium.dll.a and b/multiplatform-crypto-libsodium-bindings/src/jvmMain/resources/dynamic-mingw-x86-64-libsodium.dll.a differ diff --git a/multiplatform-crypto-libsodium-bindings/src/jvmMain/resources/dynamic-msvc-x86-64-libsodium.dll b/multiplatform-crypto-libsodium-bindings/src/jvmMain/resources/dynamic-msvc-x86-64-libsodium.dll index 812effe5..e32df8c3 100644 Binary files a/multiplatform-crypto-libsodium-bindings/src/jvmMain/resources/dynamic-msvc-x86-64-libsodium.dll and b/multiplatform-crypto-libsodium-bindings/src/jvmMain/resources/dynamic-msvc-x86-64-libsodium.dll differ