diff options
author | zotlabs <mike@macgirvin.com> | 2018-02-07 22:04:53 -0800 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2018-02-07 22:04:53 -0800 |
commit | 4c27fa5c37fbe4fc6debaadeaf3b4b134bc9068b (patch) | |
tree | a130de6c12ba474341f588a579e4742c765945d0 | |
parent | 6cf2e9945a08451e3d53b6e79002843e9cdb8dc6 (diff) | |
download | volse-hubzilla-4c27fa5c37fbe4fc6debaadeaf3b4b134bc9068b.tar.gz volse-hubzilla-4c27fa5c37fbe4fc6debaadeaf3b4b134bc9068b.tar.bz2 volse-hubzilla-4c27fa5c37fbe4fc6debaadeaf3b4b134bc9068b.zip |
debug the crypto function
-rw-r--r-- | Zotlabs/Web/HTTPSig.php | 3 |
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']; } |