diff options
author | zotlabs <mike@macgirvin.com> | 2017-09-21 23:37:13 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2017-09-21 23:37:13 -0700 |
commit | 3456c192feeab9495693e2cbdcff16fe99bff932 (patch) | |
tree | 27fa0ae14133ee25e1773996daad2ea496046996 /Zotlabs/Daemon/Deliver.php | |
parent | ae5a1362a7ea864cafc2ecc652863eeb9939742c (diff) | |
download | volse-hubzilla-3456c192feeab9495693e2cbdcff16fe99bff932.tar.gz volse-hubzilla-3456c192feeab9495693e2cbdcff16fe99bff932.tar.bz2 volse-hubzilla-3456c192feeab9495693e2cbdcff16fe99bff932.zip |
encrypt delivery reports. This will cause a bit of consternation because this is not backward compatible and older sites will see some incorrect delivery reports from newer sites until the next upgrade; as their systems will not know how to read the ecnrypted final reports.
Diffstat (limited to 'Zotlabs/Daemon/Deliver.php')
-rw-r--r-- | Zotlabs/Daemon/Deliver.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Zotlabs/Daemon/Deliver.php b/Zotlabs/Daemon/Deliver.php index 7c1ff717f..39c9ffdb1 100644 --- a/Zotlabs/Daemon/Deliver.php +++ b/Zotlabs/Daemon/Deliver.php @@ -53,6 +53,7 @@ class Deliver { remove_queue_item($r[0]['outq_hash']); if($dresult && is_array($dresult)) { + if(array_key_exists('iv',$dresult)) { $dresult = json_decode(crypto_unencapsulate($dresult,get_config('system','prvkey')),true); } |