Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
matrix-org
Olm
Commits
ff24af60
Commit
ff24af60
authored
Oct 23, 2018
by
Hubert Chathi
Browse files
prepare release 3.0.0
parent
9acfd179
Changes
6
Hide whitespace changes
Inline
Side-by-side
CHANGELOG.rst
View file @
ff24af60
Changes in latest release
Changes in `3.0.0 <http://matrix.org/git/olm/commit/?h=2.3.0>`_
===============================================================
This release includes the following changes to 2.3.0:
* Support for building using cmake. Thanks to Konstantinos Sideris.
* Add more functions for managing private keys in the public key decryption
functionality. These are meant for use with server-side encrypted key
backups. The new functions are ``olm_pk_private_key_length``,
``olm_pk_key_from_private``, and ``olm_pk_get_private_key``.
* ``olm_pk_generate_key`` and ``olm_pk_generate_key_random_length`` are
deprecated: to generate a random key, use ``olm_pk_key_from_private``
with random bytes as the private key.
Python wrapper:
BREAKING CHANGE: Olm now uses WebAssembly which means it needs
to load the wasm file asynchronously, and therefore needs to be
started up asynchronously. The imported module now has an init()
method which returns a promise. The library cannot be used until
this promise resolves. It will reject if the library fails to start.
* BREAKING CHANGE: This release introduces a new API for the Python wrapper,
thanks to Damir Jelić. The new API should be much easier to use for Python
developers. However, this means that existing code will need to be rewritten
to use the new API.
olm_pk_generate_key() and olm_pk_generate_key_random_length() have
been removed: to generate a random key, use olm_pk_key_from_private()
with random bytes as the private key.
JavaScript wrapper:
* BREAKING CHANGE: Olm now uses WebAssembly which means it needs
to load the wasm file asynchronously, and therefore needs to be
started up asynchronously. The imported module now has an init()
method which returns a promise. The library cannot be used until
this promise resolves. It will reject if the library fails to start.
* Using ``olm/olm.js`` will use the WebAssembly version of the library. For
environments that do not support WebAssembly, use ``olm/olm_legacy.js``.
Objective-C wrapper:
* Add support for the public key encryption/decryption functionality.
Changes in `2.3.0 <http://matrix.org/git/olm/commit/?h=2.3.0>`_
===============================================================
This release includes the following changes since 2.2.2:
...
...
CMakeLists.txt
View file @
ff24af60
cmake_minimum_required
(
VERSION 3.1
)
project
(
olm VERSION
2.3
.0 LANGUAGES CXX C
)
project
(
olm VERSION
3.0
.0 LANGUAGES CXX C
)
option
(
OLM_TESTS
"Build tests"
ON
)
option
(
BUILD_SHARED_LIBS
"Build as a shared library"
ON
)
...
...
android/olm-sdk/build.gradle
View file @
ff24af60
...
...
@@ -9,9 +9,9 @@ android {
defaultConfig
{
minSdkVersion
11
targetSdkVersion
21
versionCode
2
30
versionName
"
2.3
.0"
version
"
2.3
.0"
versionCode
30
0
versionName
"
3.0
.0"
version
"
3.0
.0"
testInstrumentationRunner
"android.support.test.runner.AndroidJUnitRunner"
}
buildTypes
{
...
...
common.mk
View file @
ff24af60
MAJOR
:=
2
MINOR
:=
3
MAJOR
:=
3
MINOR
:=
0
PATCH
:=
0
javascript/package.json
View file @
ff24af60
{
"name"
:
"olm"
,
"version"
:
"
2.3
.0"
,
"version"
:
"
3.0
.0"
,
"description"
:
"An implementation of the Double Ratchet cryptographic ratchet"
,
"main"
:
"olm.js"
,
"files"
:
[
...
...
python/olm/__version__.py
View file @
ff24af60
...
...
@@ -2,7 +2,7 @@ __title__ = "python-olm"
__description__
=
(
"python CFFI bindings for the olm "
"cryptographic ratchet library"
)
__url__
=
"https://github.com/poljar/python-olm"
__version__
=
"0.
1
"
__version__
=
"
3.
0.
0
"
__author__
=
"Damir Jelić"
__author_email__
=
"poljar@termina.org.uk"
__license__
=
"Apache 2.0"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment