Commit Graph

8 Commits (28f6992085eeedbc352dcd04de08529ee137ce62)

Author SHA1 Message Date
sachaaaaa 4b9fcb98d4 Linting and other housekeeping stuff
sachaaaaa 93f1534512 Save prekeys upon reception of friend request. Add function to send an empty message as friend request acceptance
sachaaaaa b9dbf11ebc Fix various things from previous commits
sachaaaaa 886f47b8e7
Prekeys sending: first pass ()
* 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
sachaaaaa 54201d6665 fix bad merge: missing FallBackDecryptionError
sachaaaaa eb488f9305 fix bad merge in libloki-protocol
sachaaaaa 0283c6428f Ignore friend request messages that could not be decrypted
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