35c89ea4d9 
								
							
								 
							
						 
						
							
							
								
								Big refactor, prekeybundle moved back to a content message  
							
							
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								b65d6a6d2c 
								
							
								 
							
						 
						
							
							
								
								Refactor friend request status to use a state enum variable  
							
							
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								9fd822a7e3 
								
							
								 
							
						 
						
							
							
								
								Remove preKeys on friend request decline.  
							
							
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								0dabce9e28 
								
							
								 
							
						 
						
							
							
								
								Remove preKeyBundle from message.  
							
							... 
							
							
							
							Always save preKeyBundles if we receive them.
Always override preKeys when saving. 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								4bb93e6e3c 
								
							
								 
							
						 
						
							
							
								
								rename sendEmptyMessageWithPreKeys to sendFriendRequestAccepted.  
							
							
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								38d5b6e833 
								
							
								 
							
						 
						
							
							
								
								fix log.notice in libloki-protocol.js  
							
							
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								ad1cf94526 
								
							
								 
							
						 
						
							
							
								
								ES2015 classes for LokiServer and FallBackSessionCipher  
							
							
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								c605fff58d 
								
							
								 
							
						 
						
							
							
								
								change FRIEND_REQUEST value to prevent clash with upstream  
							
							
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								77602e3dbb 
								
							
								 
							
						 
						
							
							
								
								Moved contactPreKey and contactSignedPreKey to sql.  
							
							
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								4b9fcb98d4 
								
							
								 
							
						 
						
							
							
								
								Linting and other housekeeping stuff  
							
							
							
						 
						
							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  
				
					
						
							
							
								 
						
							
							
								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  
				
					
						
							
							
								 
						
							
							
								54201d6665 
								
							
								 
							
						 
						
							
							
								
								fix bad merge: missing FallBackDecryptionError  
							
							
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								eb488f9305 
								
							
								 
							
						 
						
							
							
								
								fix bad merge in libloki-protocol  
							
							
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								0283c6428f 
								
							
								 
							
						 
						
							
							
								
								Ignore friend request messages that could not be decrypted  
							
							
							
						 
						
							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