aboutsummaryrefslogtreecommitdiff
path: root/include/olm/olm.h
AgeCommit message (Collapse)Author
2019-10-01doc stringDavid Baker
2019-10-01Add olm_session_describeDavid Baker
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-06-12use the right error in the commentHubert Chathi
2018-10-16document a couple more places where olm clobbers thingsHubert Chathi
2018-06-27fix some commentsHubert Chathi
2018-06-27Fix warnings reported by LLVMmanuroe
2016-10-25Document the return values for olm_matches_inbound_sessionMark Haines
2016-09-16Update comment on olm_account_one_time_keysRichard van der Hoff
Document what it actually returns.
2016-09-04OlmSession.has_received_messageRichard van der Hoff
I find myself wanting to know if an OlmSession is in the pre-key state or not, to help debugging at the application level.
2016-09-01Fix Ed25519 keypair generationRichard van der Hoff
Ed25519 private keys, it turns out, have 64 bytes, not 32. We were previously generating only 32 bytes (which is all that is required to generate the public key), and then using the public key as the upper 32 bytes when generating the per-message session key. This meant that everything appeared to work, but the security of the private key was severely compromised. By way of fixes: * Use the correct algorithm for generating the Ed25519 private key, and store all 512 bits of it. * Update the account pickle format and refuse to load the old format (since we should consider it compromised). * Bump the library version, and add a function to retrieve the library version, so that applications can verify that they are linked against a fixed version of the library. * Remove the curve25519_{sign, verify} functions which were unused and of dubious quality.
2016-05-24Implement decrypting inbound group messagesRichard van der Hoff
Includes creation of inbound sessions, etc
2016-05-24Implementation of an outbound group sessionRichard van der Hoff
2016-05-23Rename olm.hh to olm.hRichard van der Hoff