summaryrefslogtreecommitdiffstats
path: root/apps/federation/appinfo/database.xml
diff options
context:
space:
mode:
authorBjörn Schießle <bjoern@schiessle.org>2015-11-10 10:50:59 +0100
committerBjörn Schießle <bjoern@schiessle.org>2015-11-19 18:06:51 +0100
commit698100d279fdd8c8bc086e729833705d1a31c018 (patch)
tree3e38110373da82a5a89dbbe1a84708b6208b7d51 /apps/federation/appinfo/database.xml
parented039ee5ebdba6778b245f249fe206d2423a6a36 (diff)
downloadnextcloud-server-698100d279fdd8c8bc086e729833705d1a31c018.tar.gz
nextcloud-server-698100d279fdd8c8bc086e729833705d1a31c018.zip
exchange shared secret
Diffstat (limited to 'apps/federation/appinfo/database.xml')
-rw-r--r--apps/federation/appinfo/database.xml22
1 files changed, 21 insertions, 1 deletions
diff --git a/apps/federation/appinfo/database.xml b/apps/federation/appinfo/database.xml
index da16212ca19..e0bb241918e 100644
--- a/apps/federation/appinfo/database.xml
+++ b/apps/federation/appinfo/database.xml
@@ -28,7 +28,27 @@
<default></default>
<notnull>true</notnull>
<length>32</length>
- <comments>md5 hash of the url</comments>
+ <comments>md5 hash of the url without the protocol</comments>
+ </field>
+ <field>
+ <name>token</name>
+ <type>text</type>
+ <length>128</length>
+ <comments>toke used to exchange the shared secret</comments>
+ </field>
+ <field>
+ <name>shared_secret</name>
+ <type>text</type>
+ <length>256</length>
+ <comments>shared secret used to authenticate</comments>
+ </field>
+ <field>
+ <name>status</name>
+ <type>integer</type>
+ <length>4</length>
+ <notnull>true</notnull>
+ <default>2</default>
+ <comments>current status of the connection</comments>
</field>
<index>
<name>url_hash</name>