- Aug 14, 2020
-
-
Hubert Chathi authored
-
- Oct 08, 2019
-
-
Hubert Chathi authored
-
- Oct 04, 2019
-
-
David Baker authored
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.
-
- Oct 01, 2019
-
-
David Baker authored
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.
-
- May 15, 2019
-
-
Hubert Chathi authored
-
- May 14, 2019
-
-
Hubert Chathi authored
also make some params const where possible
-
- Apr 03, 2019
-
-
Hubert Chathi authored
-
- Mar 14, 2019
-
-
Hubert Chathi authored
-
- Feb 01, 2019
-
-
Hubert Chathi authored
-
- Jan 29, 2019
-
-
David Baker authored
-
- Jan 22, 2019
-
-
Hubert Chathi authored
-
- Oct 15, 2018
-
-
Hubert Chathi authored
-
- Oct 11, 2018
-
-
David Baker authored
-
- Oct 05, 2018
-
-
Hubert Chathi authored
-
- Oct 02, 2018
-
-
David Baker authored
Change interface to allow the app to get the private part of the key and instantiate a decryption object from just the private part of the key. Changes the function generating a key from random bytes to be initialising a key with a private key (because it's exactly the same thing). Exports & imports private key parts as ArrayBuffer at JS level rather than base64 assuming we are moving that way in general.
-
- Sep 19, 2018
-
-
David Baker authored
...when generating a key in PkDecryption. The pubkey is base64ed on the output, so will be longer.
-
- Jun 28, 2018
-
-
Hubert Chathi authored
-
Hubert Chathi authored
-
- Jun 27, 2018
-
-
Hubert Chathi authored
-
manuroe authored
-
Hubert Chathi authored
-
- Sep 29, 2017
-
-
Alexey Rusakov authored
Signed-off-by:
Alexey Rusakov <ktirf@users.sf.net>
-
Alexey Rusakov authored
This disrupts building at least with Visual Studio. Signed-off-by:
Alexey Rusakov <ktirf@users.sf.net>
-
- Jan 10, 2017
-
-
Richard van der Hoff authored
-
Richard van der Hoff authored
-
- Jan 09, 2017
-
-
Richard van der Hoff authored
olm_import_inbound_group_session, which reads the format written by olm_export_inbound_group_session to initialise a group session.
-
- Jan 06, 2017
-
-
Richard van der Hoff authored
A pair of functions which allow you to export the megolm keys for an inbound group session, so that an application can save/restore them.
-
- Oct 24, 2016
-
-
Richard van der Hoff authored
make olm_pickle_* return the lengths of the base64-encoded pickles, rather than the raw pickle. (From the application's POV, the format of the pickle is opaque: it doesn't even know that it is base64-encoded. So returning the length of the raw pickle is particularly unhelpful.)
-
- Oct 21, 2016
-
-
Richard van der Hoff authored
All the other methods clear their random inputs. This one needs to do the same, to reduce the risk of the randomness being used elsewhere and leaking key info.
-
- Oct 20, 2016
-
-
Mark Haines authored
-
Mark Haines authored
Applications can use the index to detect replays of the same message.
-
- Oct 19, 2016
-
-
Richard van der Hoff authored
Fixes a segfault when a group message had exactly the length of the mac + signature. Also tweak skipping of unknown tags to avoid an extra trip around the loop.
-
- Sep 13, 2016
-
-
Mark Haines authored
-
Mark Haines authored
-
Mark Haines authored
-
Mark Haines authored
-
Mark Haines authored
Some clients expect the session id to be globally unique, so allowing the end devices to pick the session id will cause problems. Include the current ratchet index with the initial keys, this decreases the risk that the client will supply the wrong index causing problems. Sign the initial keys with the ratchet ed25519 key, this reduces the risk of a client claiming a session that they didn't create.
-
- Sep 06, 2016
-
-
Richard van der Hoff authored
Add ed25519 keys to the inbound and outbound sessions, and use them to sign and verify megolm messages. We just stuff the ed25519 public key in alongside the megolm session key (and add a version byte), to save adding more boilerplate to the JS/python/etc layers.
-
- Sep 05, 2016
-
-
Richard van der Hoff authored
... so that I can use them from the group session bits.
-
Richard van der Hoff authored
-