Hubert Chathi
0fd315d54c
Merge branch 'python_other_key_set' into 'master'
...
remove other_key checks from Python binding since it's done in C now
See merge request matrix-org/olm!14
2020-09-24 18:56:19 +00:00
Hubert Chathi
0e6ec3062d
remove other_key checks from Python binding since it's done in C now
2020-09-24 18:56:19 +00:00
Hubert Chathi
ec5ff1e032
also check that the pubkey is set when calculating the MAC
2020-09-23 16:47:00 -04:00
Hubert Chathi
78d9cbabb7
set their_key_set flag explicitly on init
2020-09-23 16:11:37 -04:00
Saúl Ibarra Corretgé
2ef1f6f4fc
SAS: add olm_sas_is_their_key_set
...
Also make olm_sas_generate_bytes fail if their key wasn't set.
2020-09-23 15:27:55 -04:00
Hubert Chathi
4bae4134eb
partially unindent R_{i,j} derivation
...
so that we're under GitLab's 1000 character limit for rendering maths
2020-09-17 17:46:37 -04:00
Hubert Chathi
84841a19e2
fix exponents in megolm spec
2020-09-17 17:43:00 -04:00
Hubert Chathi
3cd6b15853
Merge branch 'uhoreg/fallback' into 'master'
...
add support for fallback keys
See merge request matrix-org/olm!13
2020-09-17 21:42:25 +00:00
Hubert Chathi
c47c6ca399
fix style
2020-09-16 16:14:23 -04:00
Hubert Chathi
c45f19f12d
Merge branch 'master' into uhoreg/fallback
2020-09-01 15:57:20 -04:00
Hubert Chathi
89050dc0b6
allow some things to be Uint8Array, and fix some TypeScript declarations
2020-08-31 10:50:33 -04:00
Hubert Chathi
171044f3fc
add support for fallback keys
2020-08-14 17:29:41 -04:00
Saúl Ibarra Corretgé
a0284c2ba3
Fix group demo to work with > 2 users
...
Add 4 by default, and make sure OT keys are not reused.
2020-07-04 16:59:26 -04:00
Hubert Chathi
8a958beb48
bump version info for release
2020-06-11 11:47:50 -04:00
Hubert Chathi
9349c1b82b
changelog for release
2020-06-11 11:47:39 -04:00
Hubert Chathi
6fea6898d4
update release instructions
2020-06-11 11:47:24 -04:00
Hubert Chathi
c9a183a7c5
add list of bindings
2020-06-11 11:25:52 -04:00
Hubert Chathi
efd17631b1
move -o option before source files, for better compatibility with LLVM
2020-05-19 15:10:24 -04:00
Hubert Chathi
ad173bc798
Merge branch 'matthew/js-fixes' into 'master'
...
Fix JS demos, which had bitrotted
See merge request matrix-org/olm!12
2020-05-19 15:08:27 +00:00
Matthew Hodgson
ddd140b23d
fix group demo to work with Olm.init()
2020-05-16 17:11:54 +01:00
Matthew Hodgson
14c1db02fe
fix 1:1 demo to work with Olm.init()
2020-05-16 17:10:32 +01:00
Matthew Hodgson
fdf25eb3ba
spell out error msg if you don't Olm.init
2020-05-16 17:10:18 +01:00
Matthew Hodgson
83bf351a34
fix build on latest emscripten
2020-05-16 17:10:02 +01:00
Matthew Hodgson
5a9fdd85cb
remove overzealous -D param to install which breaks build on macOS
2020-05-15 03:06:08 +01:00
Hubert Chathi
05a7af8db1
add a note about calling Olm.init
2020-05-13 19:05:19 -04:00
Hubert Chathi
281c5aac21
fix type signature of unpickle in Inbound/OutboundGroupSession
...
Thanks to Dominic Fischer for spotting.
2020-05-07 18:01:52 -04:00
stoically
611d3949cb
Add wasm target to Makefile
...
Allows building an WASM-ready archive with emscripten.
This allows e.g. to compile to the `wasm32-unknown-unknown`
target with Rust.
Related matrix-rust-sdk PR:
https://github.com/matrix-org/matrix-rust-sdk/pull/31
Signed-off-by: stoically <stoically@protonmail.com>
2020-05-07 15:58:24 -04:00
Hubert Chathi
9cc2394672
Merge branch 'uhoreg/typescript' into 'master'
...
Add TypeScript definition file
See merge request matrix-org/olm!11
2020-04-29 16:42:25 +00:00
Hubert Chathi
e6f8a99b34
add missing declaration for PkDecryption#decrypt and SAS class
2020-04-29 12:39:41 -04:00
Hubert Chathi
f409b69e88
add declarations for Inbound/OutboundGroupSession
2020-04-24 17:44:28 -04:00
Hubert Chathi
954d6f98eb
initial TypeScript definition file
2020-04-24 17:27:55 -04:00
Richard van der Hoff
930c467754
Update signing.md to use operatorname
2019-11-08 14:11:05 +00:00
Richard van der Hoff
0469065855
Merge branch 'rav/fix_math' into 'master'
...
Fix some math blocks
See merge request matrix-org/olm!10
2019-11-08 14:09:12 +00:00
Richard van der Hoff
5bcfeaffe3
Update olm.md
2019-11-08 14:00:59 +00:00
Richard van der Hoff
a9c7bde457
Update signing.md
2019-11-08 13:48:34 +00:00
Richard van der Hoff
52098b3af7
Update megolm.md
2019-11-08 13:34:16 +00:00
Alexey Rusakov
baaf002663
CMakeLists.txt: export include directories in install(TARGETS)
...
Without that, if olm is installed to a non-standard location, the user code might run CMake configuration fine but further building will fail.
Signed-off-by: Alexey Rusakov <Alexey.Rusakov@pm.me>
2019-10-23 16:48:14 -04:00
Hubert Chathi
6753595300
release 3.1.4
2019-10-09 12:33:47 -04:00
Hubert Chathi
387deeea8f
Merge branch 'dbkr/olm_session_describe' into 'master'
...
Add olm_session_describe
See merge request matrix-org/olm!9
2019-10-09 15:37:56 +00:00
Hubert Chathi
fc423fad15
check return value of snprintf, fix typo, add clarification
2019-10-08 17:44:09 -04:00
David Baker
b482321213
Pass in a buffer to olm_session_describe
...
instead of having a static one, as that could end up taking up a
lot of memory if your app keeps olm sessions hanging about.
2019-10-04 11:43:40 +01:00
David Baker
e73a208fb2
doc string
2019-10-01 11:18:05 +01:00
David Baker
39a1ee0b18
Add olm_session_describe
...
As a way to dump the state of an olm session, ie. the chain indicies,
so we can debug why olm sessions break and get out of sync.
2019-10-01 11:14:16 +01:00
Hubert Chathi
3568060570
Merge branch 'dbkr/emscripten_is_picky_about_pic' into 'master'
...
Build the js objects without PIC
See merge request matrix-org/olm!8
2019-09-30 13:12:38 +00:00
Hubert Chathi
44c2e47a3e
Merge branch 'dbkr/wrong_comment_breaks_everything' into 'master'
...
Fix comment and also js build
See merge request matrix-org/olm!7
2019-09-30 13:08:23 +00:00
David Baker
72df5301e0
Build the js objects without PIC
...
This confuses emscripten now
2019-09-30 13:50:35 +01:00
David Baker
b83a0c0992
Fix comment and also js build
...
The python that searches the header files for exports isn't smart
enough to know what is a comment and what isn't, so it picks this
up too and emscripten then complains about it being undefined.
2019-09-30 13:19:23 +01:00
Hubert Chathi
57b6839c25
Merge branch 'rav/megolm_doc_format' into 'master'
...
Update megolm.md
See merge request matrix-org/olm!6
2019-08-22 04:30:45 +00:00
Richard van der Hoff
32f3a82bf9
Update megolm.md
2019-08-22 04:30:45 +00:00
Trygve Aaberge
e267825bb7
Makefile: Overwrite symlinks in install and install-debug
...
Without this, it's not possible to run the install or install-debug
rules multiple times.
Signed-off-by: Trygve Aaberge <trygveaa@gmail.com>
2019-08-08 09:29:14 -07:00