diff --git a/mod/dfrn_notify.php b/mod/dfrn_notify.php index b8c771b75..731020532 100644 --- a/mod/dfrn_notify.php +++ b/mod/dfrn_notify.php @@ -183,7 +183,7 @@ function dfrn_notify_post(App $a) { break; case 2: try { - $FinalKey = \Defuse\Crypto\Key::loadFromAsciiSafeString($final_key); + $FinalKey = \Defuse\Crypto\Key::loadFromAsciiSafeString(bintohex($final_key)); $data = \Defuse\Crypto\Crypto::decrypt(hex2bin($data), $FinalKey); } catch (\Defuse\Crypto\Exception\WrongKeyOrModifiedCiphertextException $ex) { // VERY IMPORTANT /*