Commit Graph

205 Commits (v1.0.1)

Author SHA1 Message Date
sachaaaaa 886f47b8e7
Prekeys sending: first pass (#12)
* add 'recipient' attribute in prekey database to allow binding a prekey to a recipient pub key

* Attach a PreKeyBundleMessage to the ContentMessage in fallback encryption mode

* Skip generating 100 prekeys upon registration

* Store the signed key signature in database
7 years ago
sachaaaaa 54201d6665 fix bad merge: missing FallBackDecryptionError 7 years ago
sachaaaaa eb488f9305 fix bad merge in libloki-protocol 7 years ago
sachaaaaa 0283c6428f Ignore friend request messages that could not be decrypted 7 years ago
sachaaaaa 04b45f6aa1 Decrypt friend-request messages (the ones using fallback encryption). Moved logic into a new file libloki-protocol.js and concat loki code into js/libloki.js 7 years ago