070d18b514 
								
							
								 
							
						 
						
							
							
								
								Updated function calls.  
							
							
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								6bcb259919 
								
							
								 
							
						 
						
							
							
								
								Added PoW error.  
							
							
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								654b0dac84 
								
							
								 
							
						 
						
							
							
								
								Merge signal-master.  
							
							
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								2715e79268 
								
							
								 
							
						 
						
							
							
								
								Fix conversation status not being reset upon conversation messages deletion.  
							
							... 
							
							
							
							Fix incoming friend request not replacing old friend requests.
Fixed incorrect function name. 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								05c18d42db 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #66  from sachaaaaa/session_reset  
							
							... 
							
							
							
							Handle session reset, Loki style 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								1e3886cca8 
								
							
								 
							
						 
						
							
							
								
								More consistent naming of key storage functions, moved some loki messenger only functions into new file  
							
							
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								7e612700f7 
								
							
								 
							
						 
						
							
							
								
								Handle session reset, Loki style  
							
							
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								28fc5793a7 
								
							
								 
							
						 
						
							
							
								
								More explicit function names, shifted friend request sent logic to more sensible place  
							
							
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								91a8a82e39 
								
							
								 
							
						 
						
							
							
								
								More PR suggestions, now recover from early exit before friend request is sent  
							
							
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								051e4dd22c 
								
							
								 
							
						 
						
							
							
								
								XAnother big refactor to tie conversation UI logic to the friendRequestStatus variable  
							
							
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								35c89ea4d9 
								
							
								 
							
						 
						
							
							
								
								Big refactor, prekeybundle moved back to a content message  
							
							
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								79a861a870 
								
							
								 
							
						 
						
							
							
								
								Typing Indicators  
							
							
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								b03548637c 
								
							
								 
							
						 
						
							
							
								
								Fix getKeysForNumber when staleDevices is not empty  
							
							
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								b65d6a6d2c 
								
							
								 
							
						 
						
							
							
								
								Refactor friend request status to use a state enum variable  
							
							
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								7e783639fd 
								
							
								 
							
						 
						
							
							
								
								Fix inexistent enum value for Prekey Type  
							
							
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								bd15f426f9 
								
							
								 
							
						 
						
							
							
								
								Attack a type to preKeyBundleMessage.  
							
							
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								484efd34a3 
								
							
								 
							
						 
						
							
							
								
								Added friend request message expiration.  
							
							
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								b21a7197f7 
								
							
								 
							
						 
						
							
							
								
								Fix preKeyBundle not sending.  
							
							
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								1264630649 
								
							
								 
							
						 
						
							
							
								
								Attach preKeyBundle outside of the message content.  
							
							
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								cf3e9716ed 
								
							
								 
							
						 
						
							
							
								
								Update new conditions for friend accepted and key exchange complete in conversations model.  
							
							
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								489ec8fc65 
								
							
								 
							
						 
						
							
							
								
								Heap of linting, eslint warning/error removal, and fixed a couple small bugs found along the way  
							
							... 
							
							
							
							Created new table to store the received message hashes. Checking this table when receiving messages to look for duplicates. Should be cleared of expired messages on app start and every hour after
Removed id which was not needed for seen messages. Refactored filter logic into function and found function name error
create unique index for contact prekeys (to allow using REPLACE)
Fixed lint stuff that merge brought back 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								82a09d46d7 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #42  from sachaaaaa/restore_padding  
							
							... 
							
							
							
							restore ciphertext padding 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								ece266fffd 
								
							
								 
							
						 
						
							
							
								
								Added showing pow icon.  
							
							
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								847401e49a 
								
							
								 
							
						 
						
							
							
								
								restore ciphertext padding  
							
							
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								9731c9e086 
								
							
								 
							
						 
						
							
							
								
								Comment out some signal server based code causing errors. Return before trying to unpad message because they aren't being padded in the first place  
							
							
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								ad1cf94526 
								
							
								 
							
						 
						
							
							
								
								ES2015 classes for LokiServer and FallBackSessionCipher  
							
							
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								9ceb3c8ac0 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge branch 'development' into message-polling  
							
							
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								c59b196487 
								
							
								 
							
						 
						
							
							
								
								Now reading messages and adding them to conversations. Some cleaning of unreachable code. Modified the message data to be encoded as base64 string before sending to server  
							
							... 
							
							
							
							Sending our public key in header of message
Now attaching our key to the source field when sending messages, allows messages to be decrypted with the fallback cypher
Now polling the server for messages every 5 seconds
Sending the source device with messages
Added mock respond function to request to leave it that same as the websocket stuff. RetrieveMessages now just returns the result
Polling now continues if the server responds with an error. Returning only the result from sendMessage and retrieveMessages
Revert commenting of unreachable code
Refactored http logic into own file
Revert a change to websocket-resources 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								2fabd93fd6 
								
							
								 
							
						 
						
							
							
								
								Fix message sending  
							
							
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								77602e3dbb 
								
							
								 
							
						 
						
							
							
								
								Moved contactPreKey and contactSignedPreKey to sql.  
							
							
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								f589fdac5c 
								
							
								 
							
						 
						
							
							
								
								Merge signal changes into branch.  
							
							
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								e2e0e4c96b 
								
							
								 
							
						 
						
							
							
								
								Refine sealed sender logic  
							
							
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								dda71cbea1 
								
							
								 
							
						 
						
							
							
								
								always lock editor after sending friend request. unlock if error.  
							
							
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								4b9fcb98d4 
								
							
								 
							
						 
						
							
							
								
								Linting and other housekeeping stuff  
							
							
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								a7d78c0e9b 
								
							
								 
							
						 
						
							
							
								
								Sealed Sender support  
							
							... 
							
							
							
							https://signal.org/blog/sealed-sender/  
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								13858dfa66 
								
							
								 
							
						 
						
							
							
								
								yarn.lock and fix missing variable in transmission error handling  
							
							
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								143b1e883d 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #17  from sachaaaaa/lock_input_friend_request  
							
							... 
							
							
							
							Lock input after friend request is sent 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								1cf8710127 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #16  from sachaaaaa/friend_response  
							
							... 
							
							
							
							Handle prekeys in incoming friend request 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								d9c89376cb 
								
							
								 
							
						 
						
							
							
								
								Added logic to pass tll into transmitMessage function, with default value of 24 hours.  
							
							... 
							
							
							
							TODO: ensure that the target calculation for the PoW is adjusting appropriately for the different ttl values. 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								fb020f88ea 
								
							
								 
							
						 
						
							
							
								
								call 'onFriendRequestSent' only after the message was successfully sent  
							
							
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								93f1534512 
								
							
								 
							
						 
						
							
							
								
								Save prekeys upon reception of friend request. Add function to send an empty message as friend request acceptance  
							
							
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								b9dbf11ebc 
								
							
								 
							
						 
						
							
							
								
								Fix various things from previous commits  
							
							
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								5602f4bfff 
								
							
								 
							
						 
						
							
							
								
								Change placeholder in discussion  
							
							
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								d4d0d05adf 
								
							
								 
							
						 
						
							
							
								
								Lock text input while waiting for friend request reply  
							
							
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								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  
				
					
						
							
							
								 
						
							
							
								9677f8b648 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge branch 'development' into send_as_bytes  
							
							
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								be29ea725a 
								
							
								 
							
						 
						
							
							
								
								revert libsignal-protocol and convert binary-encoded string to Uint8Array later down the line  
							
							
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								6fe70b9b85 
								
							
								 
							
						 
						
							
							
								
								Send outgoing messages as raw bytes (Uint8Array) and moved recipient & ttl to header  
							
							
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								9da4e94276 
								
							
								 
							
						 
						
							
							
								
								print outgoing messages as bytes, that can be injected in the mock socket server for debugging  
							
							
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								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