more logging
This commit is contained in:
parent
9b2d408d73
commit
b49175ec5d
1 changed files with 3 additions and 0 deletions
|
@ -26,6 +26,8 @@ function diaspora_base_message($type,$data) {
|
||||||
function diaspora_msg_build($msg,$user,$contact,$prvkey,$pubkey) {
|
function diaspora_msg_build($msg,$user,$contact,$prvkey,$pubkey) {
|
||||||
$a = get_app();
|
$a = get_app();
|
||||||
|
|
||||||
|
logger('diaspora_msg_build: ' . $msg, LOGGER_DATA);
|
||||||
|
|
||||||
$inner_aes_key = random_string(32);
|
$inner_aes_key = random_string(32);
|
||||||
$b_inner_aes_key = base64_encode($inner_aes_key);
|
$b_inner_aes_key = base64_encode($inner_aes_key);
|
||||||
$inner_iv = random_string(32);
|
$inner_iv = random_string(32);
|
||||||
|
@ -96,6 +98,7 @@ $magic_env = <<< EOT
|
||||||
</entry>
|
</entry>
|
||||||
EOT;
|
EOT;
|
||||||
|
|
||||||
|
logger('diaspora_msg_build: magic_env: ' . $magic_env, LOGGER_DATA);
|
||||||
return $magic_env;
|
return $magic_env;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue