aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-02-07 22:04:53 -0800
committerzotlabs <mike@macgirvin.com>2018-02-07 22:04:53 -0800
commit4c27fa5c37fbe4fc6debaadeaf3b4b134bc9068b (patch)
treea130de6c12ba474341f588a579e4742c765945d0 /Zotlabs
parent6cf2e9945a08451e3d53b6e79002843e9cdb8dc6 (diff)
downloadvolse-hubzilla-4c27fa5c37fbe4fc6debaadeaf3b4b134bc9068b.tar.gz
volse-hubzilla-4c27fa5c37fbe4fc6debaadeaf3b4b134bc9068b.tar.bz2
volse-hubzilla-4c27fa5c37fbe4fc6debaadeaf3b4b134bc9068b.zip
debug the crypto function
Diffstat (limited to 'Zotlabs')
-rw-r--r--Zotlabs/Web/HTTPSig.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/Zotlabs/Web/HTTPSig.php b/Zotlabs/Web/HTTPSig.php
index ef03dac94..8c94a4ff0 100644
--- a/Zotlabs/Web/HTTPSig.php
+++ b/Zotlabs/Web/HTTPSig.php
@@ -210,6 +210,9 @@ class HTTPSig {
if($crypt_key) {
$x = crypto_encapsulate($headerval,$crypt_key,$crypt_alg);
+
+logger(cryptosig: ' . print_r($x,true));
+
$headerval = 'iv="' . $x['iv'] . '",key="' . $x['key'] . '",alg="' . $x['alg'] . '",data="' . $x['data'];
}