aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Zot
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-05-09 19:02:02 -0700
committerMario Vavti <mario@mariovavti.com>2017-05-10 14:48:49 +0200
commitdac4447e33747b5e8f6934933fe4a96d5de7959b (patch)
tree238aa4cd4058d5495a961d654fef88ba05083ab2 /Zotlabs/Zot
parentfa94c0a65b7e35c74429ff9fb507289714c6de76 (diff)
downloadvolse-hubzilla-dac4447e33747b5e8f6934933fe4a96d5de7959b.tar.gz
volse-hubzilla-dac4447e33747b5e8f6934933fe4a96d5de7959b.tar.bz2
volse-hubzilla-dac4447e33747b5e8f6934933fe4a96d5de7959b.zip
zot protocol doco updates
Diffstat (limited to 'Zotlabs/Zot')
-rw-r--r--Zotlabs/Zot/Receiver.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Zot/Receiver.php b/Zotlabs/Zot/Receiver.php
index 71d57eb35..03cbd0e9e 100644
--- a/Zotlabs/Zot/Receiver.php
+++ b/Zotlabs/Zot/Receiver.php
@@ -138,7 +138,6 @@ class Receiver {
* This packet is optionally encrypted, which we will discover if the json has an 'iv' element.
* $contents => array( 'alg' => 'aes256cbc', 'iv' => initialisation vector, 'key' => decryption key, 'data' => encrypted data);
* $contents->iv and $contents->key are random strings encrypted with this site's RSA public key and then base64url encoded.
- * Currently only 'aes256cbc' is used, but this is extensible should that algorithm prove inadequate.
*
* Once decrypted, one will find the normal json_encoded zot message packet.
*
@@ -156,7 +155,8 @@ class Receiver {
* },
* "recipients": { optional recipient array },
* "callback":"\/post",
- * "version":1,
+ * "version":1.2,
+ * "encryption":["aes256cbc"],
* "secret":"1eaa...",
* "secret_sig": "df89025470fac8..."
* }