author and owner sign exactly the same string - apparently
This commit is contained in:
		
					parent
					
						
							
								b57a01dc14
							
						
					
				
			
			
				commit
				
					
						2cfdcee29a
					
				
			
		
					 1 changed files with 4 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -514,7 +514,8 @@ function diaspora_comment($importer,$xml,$msg) {
 | 
			
		|||
 | 
			
		||||
 | 
			
		||||
	if($parent_author_signature) {
 | 
			
		||||
		$owner_signed_data = $guid . ';' . $parent_guid . ';' . $text . ';' . $msg['author'];
 | 
			
		||||
//		$owner_signed_data = $guid . ';' . $parent_guid . ';' . $text . ';' . $msg['author'];
 | 
			
		||||
		$owner_signed_data = $guid . ';' . $parent_guid . ';' . $text . ';' . $diaspora_handle;
 | 
			
		||||
 | 
			
		||||
		$parent_author_signature = base64_decode($parent_author_signature);
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -734,7 +735,8 @@ function diaspora_like($importer,$xml,$msg) {
 | 
			
		|||
	}
 | 
			
		||||
 | 
			
		||||
	if($parent_author_signature) {
 | 
			
		||||
		$owner_signed_data = $guid . ';' . $parent_guid . ';' . $target_type . ';' . $positive . ';' . $msg['author'];
 | 
			
		||||
//		$owner_signed_data = $guid . ';' . $parent_guid . ';' . $target_type . ';' . $positive . ';' . $msg['author'];
 | 
			
		||||
		$owner_signed_data = $guid . ';' . $parent_guid . ';' . $target_type . ';' . $positive . ';' . $diaspora_handle;
 | 
			
		||||
 | 
			
		||||
		$parent_author_signature = base64_decode($parent_author_signature);
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue