From 4367afc65e31b919c04b6e950765e03020359613 Mon Sep 17 00:00:00 2001 From: Richard van der Hoff Date: Mon, 24 Oct 2016 16:51:20 +0100 Subject: [PATCH 1/3] Prepare changelog for v2.0.0 --- CHANGELOG.rst | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 0ab2eeb..044dcac 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -1,8 +1,24 @@ +Changes in `2.0.0 `_ +=============================================================== + +This release includes the following changes since 1.3.0: + +* Fix a buffer bounds check when decoding group messages. +* Update ``olm_group_decrypt`` to return the ratchet index for decrypted + messages. +* Fix ``olm_pickle_account``, ``olm_pickle_session``, + ``olm_pickle_inbound_group_session`` and + ``olm_pickle_outbound_group_session`` to correctly return the length of the + pickled object. +* Add a `specification <./docs/megolm.rst>`_ of the Megolm ratchet, and add + some information on mitigating unknown key-share attacks to the `Olm + specification <./docs/olm.rst>`_. + Changes in `1.3.0 `_ =============================================================== -The release updates the group session identifier to avoid collisions. -The group sessions are now identified by their ed25519 public key. +This release updates the group session identifier to avoid collisions. +Group sessions are now identified by their ed25519 public key. These changes alter the pickle format of outbound group sessions, attempting to unpickle an outbound group session created with a previous version of olm From d02c457da578f20f132e6e9b72baaaea399c2e88 Mon Sep 17 00:00:00 2001 From: Richard van der Hoff Date: Mon, 24 Oct 2016 17:22:43 +0100 Subject: [PATCH 2/3] Changelog: Mention install-headers --- CHANGELOG.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 044dcac..a35eedf 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -13,6 +13,8 @@ This release includes the following changes since 1.3.0: * Add a `specification <./docs/megolm.rst>`_ of the Megolm ratchet, and add some information on mitigating unknown key-share attacks to the `Olm specification <./docs/olm.rst>`_. +* Add an ``install-headers`` target to the Makefile (and run it when installing + the library). (Credit to Emmanuel Gil Peyrot). Changes in `1.3.0 `_ =============================================================== From 27c7b4a767b371a74adab04401593f5f8860c7cd Mon Sep 17 00:00:00 2001 From: Richard van der Hoff Date: Tue, 25 Oct 2016 11:35:20 +0100 Subject: [PATCH 3/3] Version bump for 2.0.0 --- Makefile | 4 ++-- javascript/package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 4877dfb..f903c24 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ #!/usr/bin/make -f -MAJOR := 1 -MINOR := 3 +MAJOR := 2 +MINOR := 0 PATCH := 0 VERSION := $(MAJOR).$(MINOR).$(PATCH) PREFIX ?= /usr/local diff --git a/javascript/package.json b/javascript/package.json index df43ce1..b65fb2e 100644 --- a/javascript/package.json +++ b/javascript/package.json @@ -1,6 +1,6 @@ { "name": "olm", - "version": "1.3.0", + "version": "2.0.0", "description": "An implementation of the Double Ratchet cryptographic ratchet", "main": "olm.js", "files": [