]> git.mxchange.org Git - friendica.git/commitdiff
D* likes not verifying, ignore result until we figure out the signable_string exactly
authorFriendika <info@friendika.com>
Sun, 21 Aug 2011 11:18:39 +0000 (04:18 -0700)
committerFriendika <info@friendika.com>
Sun, 21 Aug 2011 11:18:39 +0000 (04:18 -0700)
include/diaspora.php

index 5ee10901c6f6bd6dd8908f76f6a40d89d36bfab1..9b9d2cf8df926c7bc313a55ccac6fd4d96211883 100644 (file)
@@ -671,14 +671,14 @@ function diaspora_like($importer,$xml,$msg) {
                if(is_array($person) && x($person,'pubkey'))
                        $key = $person['pubkey'];
                else {
-                       logger('diaspora_comment: unable to find author details');
+                       logger('diaspora_like: unable to find author details');
                        return;
                }
        }
 
        if(! rsa_verify($author_signed_data,$author_signature,$key,'sha')) {
                logger('diaspora_like: verification failed.');
-               return;
+//             return;
        }
 
        if($parent_author_signature) {
@@ -690,7 +690,7 @@ function diaspora_like($importer,$xml,$msg) {
 
                if(! rsa_verify($owner_signed_data,$parent_author_signature,$key,'sha')) {
                        logger('diaspora_like: owner verification failed.');
-                       return;
+//                     return;
                }
        }