From 3c9232daf27b63277323be1acc96b8c757869b8c Mon Sep 17 00:00:00 2001 From: G1gg1L3s Date: Mon, 19 Jun 2023 13:25:15 +0300 Subject: [PATCH 01/14] changelog: Add 0.15.0 summary --- CHANGELOG.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7bb198de6..3b769bc8a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,22 @@ Changes that are currently in development and have not been released yet. +## [0.15.0](https://github.com/cossacklabs/themis/releases/tag/0.15.0), July 1st 2023 + +**TL;DR:** + +- Uncompressed EC public keys are now supported. +- Increased PBKDF2 iteration count for Secure Cell passphrase mode. +- OpenSSL 3.0 is now supported. +- Pythemis now uses `pyproject.toml`. +- And as usual: enhanced security measures and fixed bugs. + +**Breaking changes and deprecations:** +- AndroidThemis build requires Gradle 7.3, Android SDK 11, Android NDK 25. +- Some Soter functions are deprecated. +- Node.js 8 is no longer supported. +- Rust `SecureSessionTransport` implementations are now `Send`. + _Code:_ - **Core** From 5f9c8118d8785395edfc17698908db7e6a739117 Mon Sep 17 00:00:00 2001 From: G1gg1L3s Date: Mon, 19 Jun 2023 13:30:48 +0300 Subject: [PATCH 02/14] themis-core: Update version --- PKGBUILD.MSYS2 | 2 +- Themis.nsi | 8 ++++---- VERSION | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/PKGBUILD.MSYS2 b/PKGBUILD.MSYS2 index 05f5839e6..9a96a8fc2 100644 --- a/PKGBUILD.MSYS2 +++ b/PKGBUILD.MSYS2 @@ -4,7 +4,7 @@ pkgname=('themis' 'themis-devel') pkgbase=themis -pkgver=0.14.0 +pkgver=0.15.0 pkgrel=1 pkgdesc="Data security library for network communication and data storage" diff --git a/Themis.nsi b/Themis.nsi index b6dc14253..702080869 100644 --- a/Themis.nsi +++ b/Themis.nsi @@ -7,10 +7,10 @@ VIAddVersionKey "ProductName" "Themis" VIAddVersionKey "CompanyName" "Cossack Labs Limited" VIAddVersionKey "LegalCopyright" "(c) Cossack Labs Limited" VIAddVersionKey "FileDescription" "Themis library installer" -VIAddVersionKey "FileVersion" "0.14.0" -VIAddVersionKey "ProductVersion" "0.14.0" -VIFileVersion 0.14.0.0 -VIProductVersion 0.14.0.0 +VIAddVersionKey "FileVersion" "0.15.0" +VIAddVersionKey "ProductVersion" "0.15.0" +VIFileVersion 0.15.0.0 +VIProductVersion 0.15.0.0 Page license Page directory diff --git a/VERSION b/VERSION index 0548fb4e9..7092c7c46 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.14.0 \ No newline at end of file +0.15.0 \ No newline at end of file From 03f1a8db428679f5acb767c9933ebcbe324dc29b Mon Sep 17 00:00:00 2001 From: G1gg1L3s Date: Mon, 19 Jun 2023 13:32:43 +0300 Subject: [PATCH 03/14] pythemis: Update version --- src/wrappers/themis/python/PKG-INFO | 4 ++-- src/wrappers/themis/python/pyproject.toml | 2 +- src/wrappers/themis/python/setup.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/wrappers/themis/python/PKG-INFO b/src/wrappers/themis/python/PKG-INFO index efef8c0e6..0b089be24 100644 --- a/src/wrappers/themis/python/PKG-INFO +++ b/src/wrappers/themis/python/PKG-INFO @@ -1,6 +1,6 @@ -Metadata-Version: 0.14.0 +Metadata-Version: 0.15.0 Name: pythemis -Version: 0.14.0 +Version: 0.15.0 Summary: Data security library for network communication and data storage for Python Home-page: https://cossacklabs.com Author: Cossack Labs diff --git a/src/wrappers/themis/python/pyproject.toml b/src/wrappers/themis/python/pyproject.toml index 48030a60e..d68400eb3 100644 --- a/src/wrappers/themis/python/pyproject.toml +++ b/src/wrappers/themis/python/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "pythemis" -version = "0.14.0" +version = "0.15.0" authors = [{ name = "CossackLabs", email = "dev@cossacklabs.com" }] description = "Themis is multi-platform library with a high-level and easy-to-use cryptographic toolkit for data protection" readme = "README.md" diff --git a/src/wrappers/themis/python/setup.py b/src/wrappers/themis/python/setup.py index e5ca792b8..e0c1520d0 100644 --- a/src/wrappers/themis/python/setup.py +++ b/src/wrappers/themis/python/setup.py @@ -23,7 +23,7 @@ setup( name='pythemis', - version='0.14.0', + version='0.15.0', description='', long_description=open("README.md").read(), From 03d3263e00ec9663365e2984be137d79530f7fa2 Mon Sep 17 00:00:00 2001 From: G1gg1L3s Date: Mon, 19 Jun 2023 13:33:12 +0300 Subject: [PATCH 04/14] pythemis: Fix 8-year old typo in AUTHORS :) --- src/wrappers/themis/python/AUTHORS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wrappers/themis/python/AUTHORS b/src/wrappers/themis/python/AUTHORS index 3a6314bcf..ef456b27b 100644 --- a/src/wrappers/themis/python/AUTHORS +++ b/src/wrappers/themis/python/AUTHORS @@ -1 +1 @@ -CossackLabs (http://cossacklabs.com/) +CossackLabs (http://cossacklabs.com/) From 95b0a121be5c92629b0a4dc064aaeed99d5ea08e Mon Sep 17 00:00:00 2001 From: G1gg1L3s Date: Mon, 19 Jun 2023 13:36:49 +0300 Subject: [PATCH 05/14] rbthemis: Update version --- src/wrappers/themis/ruby/rbthemis.gemspec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/wrappers/themis/ruby/rbthemis.gemspec b/src/wrappers/themis/ruby/rbthemis.gemspec index 13926e51e..671340bae 100644 --- a/src/wrappers/themis/ruby/rbthemis.gemspec +++ b/src/wrappers/themis/ruby/rbthemis.gemspec @@ -1,7 +1,7 @@ Gem::Specification.new do |s| s.name = 'rbthemis' - s.version = '0.14.0' - s.date = '2021-12-24' + s.version = '0.15.0' + s.date = '2023-07-01' s.summary = 'Data security library for network communication and data storage for Ruby' s.description = 'Themis is a convenient cryptographic library for data protection. It provides secure messaging with forward secrecy and secure data storage. Themis is aimed at modern development practices and has a unified API across 12 platforms, including Ruby, JavaScript, iOS/macOS, Python, and Java/Android.' s.authors = ['CossackLabs'] @@ -10,5 +10,5 @@ Gem::Specification.new do |s| s.homepage = 'http://cossacklabs.com/' s.license = 'Apache-2.0' s.add_runtime_dependency 'ffi', '~> 1.9', '>= 1.9.8' - s.requirements << 'libthemis, v0.14.0' + s.requirements << 'libthemis, v0.15.0' end From 7e58fcc21b51f3d7e26860c085667c95c9b46a85 Mon Sep 17 00:00:00 2001 From: G1gg1L3s Date: Mon, 19 Jun 2023 13:41:11 +0300 Subject: [PATCH 06/14] jsthemis: Update versions --- src/wrappers/themis/jsthemis/package-lock.json | 4 ++-- src/wrappers/themis/jsthemis/package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/wrappers/themis/jsthemis/package-lock.json b/src/wrappers/themis/jsthemis/package-lock.json index 3c11c000a..bf7481178 100644 --- a/src/wrappers/themis/jsthemis/package-lock.json +++ b/src/wrappers/themis/jsthemis/package-lock.json @@ -1,12 +1,12 @@ { "name": "jsthemis", - "version": "0.14.0", + "version": "0.15.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "jsthemis", - "version": "0.14.0", + "version": "0.15.0", "license": "Apache-2.0", "dependencies": { "nan": "^2.14.0" diff --git a/src/wrappers/themis/jsthemis/package.json b/src/wrappers/themis/jsthemis/package.json index 4f968edc0..43a5e25b0 100644 --- a/src/wrappers/themis/jsthemis/package.json +++ b/src/wrappers/themis/jsthemis/package.json @@ -1,6 +1,6 @@ { "name": "jsthemis", - "version": "0.14.0", + "version": "0.15.0", "description": "Themis is a convenient cryptographic library for data protection.", "main": "build/Release/jsthemis.node", "scripts": { From 08743ed7d9ba315a9bad5491b29c0eb1465dfb4c Mon Sep 17 00:00:00 2001 From: G1gg1L3s Date: Mon, 19 Jun 2023 13:42:22 +0300 Subject: [PATCH 07/14] wasm-themis: Update versions --- src/wrappers/themis/wasm/package-lock.json | 4 ++-- src/wrappers/themis/wasm/package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/wrappers/themis/wasm/package-lock.json b/src/wrappers/themis/wasm/package-lock.json index 90e39d595..7b284f9d5 100644 --- a/src/wrappers/themis/wasm/package-lock.json +++ b/src/wrappers/themis/wasm/package-lock.json @@ -1,12 +1,12 @@ { "name": "wasm-themis", - "version": "0.14.6", + "version": "0.15.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "wasm-themis", - "version": "0.14.6", + "version": "0.15.0", "license": "Apache-2.0", "devDependencies": { "@types/emscripten": "^1.39.4", diff --git a/src/wrappers/themis/wasm/package.json b/src/wrappers/themis/wasm/package.json index 8f6212e59..943bff683 100644 --- a/src/wrappers/themis/wasm/package.json +++ b/src/wrappers/themis/wasm/package.json @@ -1,6 +1,6 @@ { "name": "wasm-themis", - "version": "0.14.8", + "version": "0.15.0", "description": "Themis is a convenient cryptographic library for data protection.", "main": "dist/index.js", "types": "dist/index.d.ts", From 8777f265ff531cf35aa104bb4c98908d82046a43 Mon Sep 17 00:00:00 2001 From: G1gg1L3s Date: Mon, 19 Jun 2023 13:51:10 +0300 Subject: [PATCH 08/14] android-themis: Update version --- gradle.properties | 4 ++-- src/wrappers/themis/android/AndroidManifest.xml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gradle.properties b/gradle.properties index c56140283..2b3b3911c 100644 --- a/gradle.properties +++ b/gradle.properties @@ -5,8 +5,8 @@ org.gradle.configureondemand=true # Versions of AndroidThemis and JavaThemis packages. -androidThemisVersion=0.14.0 -javaThemisVersion=0.14.0 +androidThemisVersion=0.15.0 +javaThemisVersion=0.15.0 # Android Studio insists that this is set to use JUnit test runner. android.useAndroidX=true diff --git a/src/wrappers/themis/android/AndroidManifest.xml b/src/wrappers/themis/android/AndroidManifest.xml index 12f1c4a8a..23c2056b8 100644 --- a/src/wrappers/themis/android/AndroidManifest.xml +++ b/src/wrappers/themis/android/AndroidManifest.xml @@ -1,3 +1,3 @@ - + From 55628f6fdb015adb12b132589a4ad5f756f4459f Mon Sep 17 00:00:00 2001 From: G1gg1L3s Date: Mon, 19 Jun 2023 13:53:41 +0300 Subject: [PATCH 09/14] rust-themis: Update versions --- benches/themis/Cargo.toml | 4 ++-- src/wrappers/themis/rust/Cargo.toml | 4 ++-- src/wrappers/themis/rust/libthemis-sys/Cargo.toml | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/benches/themis/Cargo.toml b/benches/themis/Cargo.toml index f659b4a66..fb4f4a680 100644 --- a/benches/themis/Cargo.toml +++ b/benches/themis/Cargo.toml @@ -5,8 +5,8 @@ edition = "2018" publish = false [dependencies] -themis = { version = "0.14", path = "../../src/wrappers/themis/rust" } -libthemis-sys = { version = "0.14", path = "../../src/wrappers/themis/rust/libthemis-sys" } +themis = { version = "0.15", path = "../../src/wrappers/themis/rust" } +libthemis-sys = { version = "0.15", path = "../../src/wrappers/themis/rust/libthemis-sys" } [dev-dependencies] criterion = { version = "0.3.4", features = ["cargo_bench_support", "html_reports"] } diff --git a/src/wrappers/themis/rust/Cargo.toml b/src/wrappers/themis/rust/Cargo.toml index 2ab5a682b..f3b819a76 100644 --- a/src/wrappers/themis/rust/Cargo.toml +++ b/src/wrappers/themis/rust/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "themis" -version = "0.14.0" +version = "0.15.0" edition = "2018" rust-version = "1.58.0" authors = ["rust-themis developers"] @@ -25,7 +25,7 @@ circle-ci = { repository = "cossacklabs/themis", branch = "master" } maintenance = { status = "actively-developed" } [dependencies] -bindings = { package = "libthemis-sys", path = "libthemis-sys", version = "0.14.0" } +bindings = { package = "libthemis-sys", path = "libthemis-sys", version = "0.15.0" } zeroize = "1" [dev-dependencies] diff --git a/src/wrappers/themis/rust/libthemis-sys/Cargo.toml b/src/wrappers/themis/rust/libthemis-sys/Cargo.toml index ad5f740e5..c37f50aac 100644 --- a/src/wrappers/themis/rust/libthemis-sys/Cargo.toml +++ b/src/wrappers/themis/rust/libthemis-sys/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "libthemis-sys" -version = "0.14.0" +version = "0.15.0" edition = "2018" rust-version = "1.58.0" authors = ["rust-themis developers"] From bea987703c98fe7c8fab546428b2c88765e64fff Mon Sep 17 00:00:00 2001 From: G1gg1L3s Date: Mon, 19 Jun 2023 14:08:38 +0300 Subject: [PATCH 10/14] react-native-themis: Update versions --- src/wrappers/themis/react-native-themis/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wrappers/themis/react-native-themis/package.json b/src/wrappers/themis/react-native-themis/package.json index 92cb2b817..cd63936cf 100644 --- a/src/wrappers/themis/react-native-themis/package.json +++ b/src/wrappers/themis/react-native-themis/package.json @@ -1,6 +1,6 @@ { "name": "react-native-themis", - "version": "0.14.10", + "version": "0.15.0", "description": "Themis React Native is a convenient cryptographic library for data protection", "react-native": "src/index", "source": "src/index", From 8278b1b01cb8cd283193b532b97a99251840811c Mon Sep 17 00:00:00 2001 From: Nazar Serhiichuk <43041209+G1gg1L3s@users.noreply.github.com> Date: Mon, 19 Jun 2023 15:45:02 +0300 Subject: [PATCH 11/14] pythemis: https in AUTHORS Co-authored-by: vixentael --- src/wrappers/themis/python/AUTHORS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wrappers/themis/python/AUTHORS b/src/wrappers/themis/python/AUTHORS index ef456b27b..911673f6e 100644 --- a/src/wrappers/themis/python/AUTHORS +++ b/src/wrappers/themis/python/AUTHORS @@ -1 +1 @@ -CossackLabs (http://cossacklabs.com/) +CossackLabs (https://cossacklabs.com/) From dd263984d5ada030690c66bf1b5fe8b40e9df0d2 Mon Sep 17 00:00:00 2001 From: G1gg1L3s Date: Mon, 19 Jun 2023 15:57:22 +0300 Subject: [PATCH 12/14] rust-themis: Update bench versions Somehow missed that. --- benches/rust/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/benches/rust/Cargo.toml b/benches/rust/Cargo.toml index 92eeb266b..713ce55fb 100644 --- a/benches/rust/Cargo.toml +++ b/benches/rust/Cargo.toml @@ -5,7 +5,7 @@ edition = "2018" publish = false [dependencies] -themis = { version = "0.14", path = "../../src/wrappers/themis/rust" } +themis = { version = "0.15", path = "../../src/wrappers/themis/rust" } [dev-dependencies] criterion = { version = "0.3.4", features = ["cargo_bench_support", "html_reports"] } From 95214d89ad38ad3cf4b81ffc01be29bbfa488868 Mon Sep 17 00:00:00 2001 From: G1gg1L3s Date: Mon, 19 Jun 2023 16:14:47 +0300 Subject: [PATCH 13/14] changelog: Forgot to mention rust 1.58 --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3b769bc8a..73e5bfec8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,6 +19,7 @@ Changes that are currently in development and have not been released yet. - Some Soter functions are deprecated. - Node.js 8 is no longer supported. - Rust `SecureSessionTransport` implementations are now `Send`. +- Rust 1.58 is now the minimum supported version. _Code:_ From ab21077f8e04257a6fa9d5480eca45b6dcec2fde Mon Sep 17 00:00:00 2001 From: G1gg1L3s Date: Tue, 20 Jun 2023 12:30:20 +0300 Subject: [PATCH 14/14] changelog: Mention the new iteration count --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 49657ee20..2e49996bc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,7 +9,7 @@ Changes that are currently in development and have not been released yet. **TL;DR:** - Uncompressed EC public keys are now supported. -- Increased PBKDF2 iteration count for Secure Cell passphrase mode. +- Increased PBKDF2 iteration count from 200000 to 314110 for Secure Cell passphrase mode. - OpenSSL 3.0 is now supported. - Pythemis now uses `pyproject.toml`. - And as usual: enhanced security measures and fixed bugs.