Sun, 17 Sep 2017 11:11:12 +0200
fixes syntax error in configuration.md
266 | 1 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html xmlns="http://www.w3.org/1999/xhtml"> | |
3 | <head> | |
4 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
5 | <meta http-equiv="Content-Style-Type" content="text/css" /> | |
6 | <meta name="generator" content="pandoc" /> | |
283
0e36bb75a732
adds dav-sync introduction and sync.xml documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
273
diff
changeset
|
7 | <title>Configuration</title> |
266 | 8 | <style type="text/css">code{white-space: pre;}</style> |
9 | <link rel="stylesheet" href="davdoc.css" type="text/css" /> | |
10 | </head> | |
11 | <body> | |
12 | <div class="header"> | |
285
02d3e4b1245f
adds some small fixes for 1.0 release
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
283
diff
changeset
|
13 | <a href="./index.html"><span>DavUtils documentation</span></a> |
266 | 14 | </div> |
15 | <div class="sidebar"> | |
16 | <div class="nav"> | |
17 | <h3>dav</h3> | |
18 | <ul> | |
19 | <li><a href="getting-started.html">Getting started</a></li> | |
20 | <li><a href="commands.html">Commands</a></li> | |
21 | <ul> | |
22 | <li><a href="list.html">list</a></li> | |
23 | <li><a href="get.html">get</a></li> | |
24 | <li><a href="put.html">put</a></li> | |
25 | <li><a href="mkdir.html">mkdir</a></li> | |
26 | <li><a href="remove.html">remove</a></li> | |
27 | <li><a href="copy.html">copy</a></li> | |
28 | <li><a href="move.html">move</a></li> | |
29 | <li><a href="get-property.html">get-property</a></li> | |
30 | <li><a href="set-property.html">set-property</a></li> | |
31 | <li><a href="lock.html">lock</a></li> | |
32 | <li><a href="unlock.html">unlock</a></li> | |
33 | <li><a href="info.html">info</a></li> | |
34 | <li><a href="date.html">date</a></li> | |
35 | <li><a href="add-repository.html">add-repository</a></li> | |
36 | <li><a href="list-repositories.html">list-repositories</a></li> | |
37 | <li><a href="check-config.html">check-config</a></li> | |
38 | </ul> | |
39 | <li><a href="configuration.html">Configuration</a></li> | |
40 | <li><a href="encryption.html">Encryption</a></li> | |
41 | </ul> | |
42 | </div> | |
43 | <div class="nav"> | |
44 | <h3>dav-sync</h3> | |
45 | <ul> | |
273
c743721d566f
more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
266
diff
changeset
|
46 | <li><a href="introduction.html">Introduction</a></li> |
c743721d566f
more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
266
diff
changeset
|
47 | <li><a href="sync-commands.html">Commands</a></li> |
c743721d566f
more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
266
diff
changeset
|
48 | <ul> |
c743721d566f
more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
266
diff
changeset
|
49 | <li><a href="pull.html">pull</a></li> |
c743721d566f
more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
266
diff
changeset
|
50 | <li><a href="push.html">push</a></li> |
c743721d566f
more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
266
diff
changeset
|
51 | <li><a href="resolve-conflicts.html">resolve-conflicts</a></li> |
c743721d566f
more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
266
diff
changeset
|
52 | <li><a href="delete-conflicts.html">delete-conflicts</a></li> |
c743721d566f
more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
266
diff
changeset
|
53 | <li><a href="trash-info.html">trash-info</a></li> |
c743721d566f
more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
266
diff
changeset
|
54 | <li><a href="empty-trash.html">empty-trash</a></li> |
c743721d566f
more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
266
diff
changeset
|
55 | <li><a href="add-directory.html">add-directory</a></li> |
c743721d566f
more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
266
diff
changeset
|
56 | <li><a href="list-directories.html">list-directories</a></li> |
c743721d566f
more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
266
diff
changeset
|
57 | <li><a href="sync-check-config.html">check-config</a></li> |
c743721d566f
more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
266
diff
changeset
|
58 | <li><a href="check-repositories.html">check-repositories</a></li> |
c743721d566f
more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
266
diff
changeset
|
59 | </ul> |
c743721d566f
more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
266
diff
changeset
|
60 | <li><a href="sync-configuration.html">Configuration</a></li> |
266 | 61 | </ul> |
62 | </div> | |
63 | </div> | |
64 | ||
65 | <!-- begin content --> | |
66 | <div class="content"> | |
283
0e36bb75a732
adds dav-sync introduction and sync.xml documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
273
diff
changeset
|
67 | <div id="header"> |
0e36bb75a732
adds dav-sync introduction and sync.xml documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
273
diff
changeset
|
68 | <h1 class="title">Configuration</h1> |
0e36bb75a732
adds dav-sync introduction and sync.xml documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
273
diff
changeset
|
69 | </div> |
266 | 70 | <p>The main configuration file for <em>dav</em> is <code>$HOME/.dav/config.xml</code> and is used for configuring repositories, proxies and encryption keys. This configuration is also used by <em>dav-sync</em>. The file is created automaticaly if it doesn't exist.</p> |
71 | <p>The <em>config.xml</em> file is an XML file with <code><configuration></code> as root element. The <code><configuration></code> element can have the following child elements: <code><repository></code>, <code><http-proxy></code>, <code><https-proxy></code>, <code><key></code></p> | |
72 | <h2 id="repository">repository</h2> | |
73 | <p>This element is used to configure a repository. A repository must have a unique name to identify the repository and a url pointing to the root collection for this repository.</p> | |
294
dd5c0ebdf54f
fixes dav startup without .dav dir
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
285
diff
changeset
|
74 | <p>Required child elements: <code><name></code>, <code><url></code><br /> |
dd5c0ebdf54f
fixes dav startup without .dav dir
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
285
diff
changeset
|
75 | Optional elements: <code><user></code>, <code><password></code>, <code><default-key></code>, <code><full-encryption></code>, <code><content-encryption></code>, <code><decrypt-content></code>, <code><decrypt-name></code>, <code><cert></code>, <code><verification></code>, <code><ssl-version></code>, <code><authmethods></code></p> |
266 | 76 | <h3 id="name">name</h3> |
77 | <p>Unique repository identifer.</p> | |
294
dd5c0ebdf54f
fixes dav startup without .dav dir
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
285
diff
changeset
|
78 | <p>Type: string<br /> |
dd5c0ebdf54f
fixes dav startup without .dav dir
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
285
diff
changeset
|
79 | Example: <code><name>myrepo</name></code></p> |
266 | 80 | <h3 id="url">url</h3> |
81 | <p>The url must point to a valid WebDAV compilant collection.</p> | |
294
dd5c0ebdf54f
fixes dav startup without .dav dir
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
285
diff
changeset
|
82 | <p>Type: url<br /> |
dd5c0ebdf54f
fixes dav startup without .dav dir
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
285
diff
changeset
|
83 | Example: <code><url>https://example.com/webdav/repo1/</url></code></p> |
266 | 84 | <h3 id="user">user</h3> |
85 | <p>User used for authentication</p> | |
294
dd5c0ebdf54f
fixes dav startup without .dav dir
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
285
diff
changeset
|
86 | <p>Type: string<br /> |
dd5c0ebdf54f
fixes dav startup without .dav dir
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
285
diff
changeset
|
87 | Example: <code><user>alice</user></code></p> |
266 | 88 | <h3 id="password">password</h3> |
89 | <p>A base64 encoded password used for authentication.</p> | |
294
dd5c0ebdf54f
fixes dav startup without .dav dir
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
285
diff
changeset
|
90 | <p>Type: base64 string<br /> |
dd5c0ebdf54f
fixes dav startup without .dav dir
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
285
diff
changeset
|
91 | Example: <code><password>MTIzNDU2Nzg=</password></code></p> |
266 | 92 | <h3 id="default-key">default-key</h3> |
93 | <p>Identifer of the key used by default for encryption. There must be a configured key with this name.</p> | |
294
dd5c0ebdf54f
fixes dav startup without .dav dir
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
285
diff
changeset
|
94 | <p>Type: string<br /> |
dd5c0ebdf54f
fixes dav startup without .dav dir
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
285
diff
changeset
|
95 | Example: <code><key>mykey</key></code></p> |
266 | 96 | <h3 id="full-encryption">full-encryption</h3> |
294
dd5c0ebdf54f
fixes dav startup without .dav dir
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
285
diff
changeset
|
97 | <p>If this element has the value of true, content and resource name encryption/decryption is enabled. Resources are only encrypted if the repository has a default-key or a key is specified via command line option. Because encryption and decryption is disabled by default, <code>false</code> has no effect for this element.</p> |
dd5c0ebdf54f
fixes dav startup without .dav dir
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
285
diff
changeset
|
98 | <p>Type: boolean<br /> |
dd5c0ebdf54f
fixes dav startup without .dav dir
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
285
diff
changeset
|
99 | Default: false<br /> |
306
4a1596b45ff2
fixes syntax error in configuration.md
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
294
diff
changeset
|
100 | Example: <code><full-encryption>true</full-encryption></code></p> |
266 | 101 | <h3 id="content-encryption">content-encryption</h3> |
102 | <p>This element enables only content encryption and decryption. A value of <code>false</code> disables content encryption, but it does not disables content decryption, if this is enabled with <code><decrypt-content></code>.</p> | |
294
dd5c0ebdf54f
fixes dav startup without .dav dir
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
285
diff
changeset
|
103 | <p>Type: boolean<br /> |
dd5c0ebdf54f
fixes dav startup without .dav dir
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
285
diff
changeset
|
104 | Default: false<br /> |
dd5c0ebdf54f
fixes dav startup without .dav dir
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
285
diff
changeset
|
105 | Example: <code><content-encryption>true</content-encryption></code></p> |
266 | 106 | <h3 id="decrypt-content">decrypt-content</h3> |
107 | <p>Controls only the decryption of content. If <code>true</code> content is decrypted.</p> | |
294
dd5c0ebdf54f
fixes dav startup without .dav dir
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
285
diff
changeset
|
108 | <p>Type: boolean<br /> |
dd5c0ebdf54f
fixes dav startup without .dav dir
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
285
diff
changeset
|
109 | Default false<br /> |
dd5c0ebdf54f
fixes dav startup without .dav dir
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
285
diff
changeset
|
110 | Example: <code><decrypt-content>true</decrypt-content></code></p> |
266 | 111 | <h3 id="decrypt-name">decrypt-name</h3> |
112 | <p>Controls only the decryption of resource names. If <code>true</code> resource names are decrypted. This effects path to url resolution.</p> | |
294
dd5c0ebdf54f
fixes dav startup without .dav dir
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
285
diff
changeset
|
113 | <p>Type: boolean<br /> |
dd5c0ebdf54f
fixes dav startup without .dav dir
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
285
diff
changeset
|
114 | Default: false<br /> |
dd5c0ebdf54f
fixes dav startup without .dav dir
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
285
diff
changeset
|
115 | Example: <code><decrypt-name>true</decrypt-name></code></p> |
266 | 116 | <h3 id="cert">cert</h3> |
117 | <p>Path to a file containing certificates to verify the TLS connection to the server.</p> | |
294
dd5c0ebdf54f
fixes dav startup without .dav dir
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
285
diff
changeset
|
118 | <p>Type: string<br /> |
dd5c0ebdf54f
fixes dav startup without .dav dir
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
285
diff
changeset
|
119 | Example: <code><cert>/etc/certs/cabundle.pem</cert></code></p> |
266 | 120 | <p>Note: This element does the same as curl's <code>--cacert</code> option.</p> |
121 | <h3 id="verification">verification</h3> | |
122 | <p>This element can disable TLS certificate verification.</p> | |
294
dd5c0ebdf54f
fixes dav startup without .dav dir
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
285
diff
changeset
|
123 | <p>Type: boolean<br /> |
dd5c0ebdf54f
fixes dav startup without .dav dir
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
285
diff
changeset
|
124 | Default: true<br /> |
dd5c0ebdf54f
fixes dav startup without .dav dir
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
285
diff
changeset
|
125 | Example: <code><verification>false</verification></code></p> |
266 | 126 | <h3 id="ssl-version">ssl-version</h3> |
127 | <p>Specifies the SSL version to attempt to use. The value must be one of this strings: TLSv1, TLSv1.0, TLSv1.1, TLSv1.2, SSLv2, SSLv3</p> | |
294
dd5c0ebdf54f
fixes dav startup without .dav dir
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
285
diff
changeset
|
128 | <p>Type: ssl version enum<br /> |
dd5c0ebdf54f
fixes dav startup without .dav dir
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
285
diff
changeset
|
129 | Example: <code><ssl-version>TLSv1.2</ssl-version></code></p> |
266 | 130 | <h3 id="authmethods">authmethods</h3> |
131 | <p>Controls which http authentication methods are used. Multiple methods can be used. The value must be one or more authentication methods separated by space. Valid authentication methods are: basic, digest, negotiate, ntlm, any, none</p> | |
132 | <p>Type: list of authmethod</p> | |
294
dd5c0ebdf54f
fixes dav startup without .dav dir
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
285
diff
changeset
|
133 | <p>Default: basic<br /> |
dd5c0ebdf54f
fixes dav startup without .dav dir
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
285
diff
changeset
|
134 | Example: <code><authmethods>basic digest</authmethods></code></p> |
266 | 135 | <h2 id="key">key</h2> |
136 | <p>The <code><key></code> element configures a key used for encryption. A key must have a unique name, which is stored in the properties of encrypted resources. To decrypt resources, dav looks for configured keys with this name, therefore the name of the key should never changed and must be the same on all hosts accessing the same repository.</p> | |
294
dd5c0ebdf54f
fixes dav startup without .dav dir
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
285
diff
changeset
|
137 | <p>Required child elements: <code><name></code>, <code><file></code><br /> |
dd5c0ebdf54f
fixes dav startup without .dav dir
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
285
diff
changeset
|
138 | Optional elements: <code><type></code></p> |
266 | 139 | <h3 id="name-1">name</h3> |
140 | <p>Unique key identifer.</p> | |
294
dd5c0ebdf54f
fixes dav startup without .dav dir
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
285
diff
changeset
|
141 | <p>Type: string<br /> |
dd5c0ebdf54f
fixes dav startup without .dav dir
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
285
diff
changeset
|
142 | Example: <code><name>key1</name></code></p> |
266 | 143 | <h3 id="file">file</h3> |
144 | <p>Path to the content of the key. The file should contain 32 (aes256) or 16 (aes128) bytes. If value is not an absolut path, it must be relative to the dav config directory <em>$HOME/.dav/</em>.</p> | |
294
dd5c0ebdf54f
fixes dav startup without .dav dir
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
285
diff
changeset
|
145 | <p>Type: string<br /> |
dd5c0ebdf54f
fixes dav startup without .dav dir
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
285
diff
changeset
|
146 | Example: <code><path>keys/key1.bin</path></code></p> |
266 | 147 | <h3 id="type">type</h3> |
148 | <p>Specifies the key type. Valid values are <code>aes128</code> or <code>aes256</code>.</p> | |
294
dd5c0ebdf54f
fixes dav startup without .dav dir
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
285
diff
changeset
|
149 | <p>Type: aes type enum<br /> |
dd5c0ebdf54f
fixes dav startup without .dav dir
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
285
diff
changeset
|
150 | Default: aes256<br /> |
dd5c0ebdf54f
fixes dav startup without .dav dir
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
285
diff
changeset
|
151 | Example: <code><type>aes128</type></code></p> |
266 | 152 | <h2 id="http-proxy-https-proxy">http-proxy / https-proxy</h2> |
153 | <p>Configuration for http and https proxies is the same. Both use the same elements, but https-proxy expects an https url.</p> | |
294
dd5c0ebdf54f
fixes dav startup without .dav dir
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
285
diff
changeset
|
154 | <p>Required child elements: <code><url></code><br /> |
dd5c0ebdf54f
fixes dav startup without .dav dir
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
285
diff
changeset
|
155 | Optional elements: <code><user></code>, <code><password></code>, <code><no></code></p> |
266 | 156 | <h3 id="url-1">url</h3> |
273
c743721d566f
more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
266
diff
changeset
|
157 | <p>Specifies the proxy url.</p> |
294
dd5c0ebdf54f
fixes dav startup without .dav dir
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
285
diff
changeset
|
158 | <p>Type: url<br /> |
dd5c0ebdf54f
fixes dav startup without .dav dir
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
285
diff
changeset
|
159 | Example: <code><url>http://myproxy/</url></code></p> |
266 | 160 | <h3 id="user-1">user</h3> |
273
c743721d566f
more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
266
diff
changeset
|
161 | <p>User used for authentication with the proxy.</p> |
294
dd5c0ebdf54f
fixes dav startup without .dav dir
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
285
diff
changeset
|
162 | <p>Type: string<br /> |
dd5c0ebdf54f
fixes dav startup without .dav dir
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
285
diff
changeset
|
163 | Example: <code><user>alice</user></code></p> |
266 | 164 | <h3 id="password-1">password</h3> |
273
c743721d566f
more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
266
diff
changeset
|
165 | <p>A base64 encoded password used for authentication.</p> |
294
dd5c0ebdf54f
fixes dav startup without .dav dir
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
285
diff
changeset
|
166 | <p>Type: base64 string<br /> |
dd5c0ebdf54f
fixes dav startup without .dav dir
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
285
diff
changeset
|
167 | Example: <code><password>MTIzNDU2Nzg=</password></code></p> |
266 | 168 | <h3 id="no">no</h3> |
273
c743721d566f
more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
266
diff
changeset
|
169 | <p>A comma separated list of all hosts that should not be accessed through the proxy.</p> |
294
dd5c0ebdf54f
fixes dav startup without .dav dir
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
285
diff
changeset
|
170 | <p>Type: string<br /> |
dd5c0ebdf54f
fixes dav startup without .dav dir
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
285
diff
changeset
|
171 | Example: <code><no>host1, host2, host3</no></code></p> |
266 | 172 | <h2 id="example-1-minimal-repository-configuration">Example 1: minimal repository configuration</h2> |
173 | <p>A minimal configuration for a repository. If no user and/or password are configured, dav prompts for authentication informations if required.</p> | |
273
c743721d566f
more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
266
diff
changeset
|
174 | <pre><code><configuration> |
c743721d566f
more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
266
diff
changeset
|
175 | <repository> |
c743721d566f
more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
266
diff
changeset
|
176 | <name>myrepo</name> |
c743721d566f
more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
266
diff
changeset
|
177 | <url>https://example.com/path/to/repo/</url> |
c743721d566f
more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
266
diff
changeset
|
178 | </repository> |
c743721d566f
more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
266
diff
changeset
|
179 | </configuration></code></pre> |
266 | 180 | <h2 id="example-2-repository-with-authentication-informations">Example 2: repository with authentication informations</h2> |
181 | <p>A typical configuration for easy accessing a repository without authentication prompt.</p> | |
273
c743721d566f
more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
266
diff
changeset
|
182 | <pre><code><configuration> |
c743721d566f
more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
266
diff
changeset
|
183 | <repository> |
c743721d566f
more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
266
diff
changeset
|
184 | <name>myrepo</name> |
c743721d566f
more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
266
diff
changeset
|
185 | <url>https://example.com/path/to/repo/</url> |
c743721d566f
more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
266
diff
changeset
|
186 | <user>alice</user> |
c743721d566f
more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
266
diff
changeset
|
187 | <password>MTIzNDU2Nzg=</password> |
c743721d566f
more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
266
diff
changeset
|
188 | </repository> |
c743721d566f
more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
266
diff
changeset
|
189 | </configuration></code></pre> |
c743721d566f
more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
266
diff
changeset
|
190 | <h2 id="example-3-repository-with-full-encryption">Example 3: repository with full encryption</h2> |
c743721d566f
more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
266
diff
changeset
|
191 | <p>A configuration for a full encrypted repository. Additionally to the repository a key must be configured.</p> |
c743721d566f
more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
266
diff
changeset
|
192 | <pre><code><configuration> |
c743721d566f
more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
266
diff
changeset
|
193 | <repository> |
c743721d566f
more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
266
diff
changeset
|
194 | <name>myrepo</name> |
c743721d566f
more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
266
diff
changeset
|
195 | <url>https://example.com/path/to/repo/</url> |
c743721d566f
more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
266
diff
changeset
|
196 | <user>alice</user> |
c743721d566f
more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
266
diff
changeset
|
197 | <password>MTIzNDU2Nzg=</password> |
c743721d566f
more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
266
diff
changeset
|
198 | <full-encryption>true</full-encryption> |
294
dd5c0ebdf54f
fixes dav startup without .dav dir
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
285
diff
changeset
|
199 | <default-key>mykey1</default-key> |
273
c743721d566f
more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
266
diff
changeset
|
200 | </repository> |
c743721d566f
more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
266
diff
changeset
|
201 | |
c743721d566f
more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
266
diff
changeset
|
202 | <key> |
c743721d566f
more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
266
diff
changeset
|
203 | <name>mykey1</name> |
c743721d566f
more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
266
diff
changeset
|
204 | <file>keys/mykey1</file> |
c743721d566f
more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
266
diff
changeset
|
205 | <type>aes256</type> |
c743721d566f
more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
266
diff
changeset
|
206 | </key> |
c743721d566f
more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
266
diff
changeset
|
207 | </configuration></code></pre> |
266 | 208 | </div> |
209 | <!-- end content --> | |
210 | </body> | |
211 | </html> |