author and owner sign exactly the same string - apparently
This commit is contained in:
		| @@ -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); | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user