docs/html/encryption.html

changeset 275
fa48ab29abd2
parent 273
c743721d566f
child 281
ddb5e8f2a43d
equal deleted inserted replaced
274:5577d3eae04c 275:fa48ab29abd2
65 <!-- begin content --> 65 <!-- begin content -->
66 <div class="content"> 66 <div class="content">
67 <h1 id="encryption">Encryption</h1> 67 <h1 id="encryption">Encryption</h1>
68 <p>The davutils programs have an integrated client-side encryption feature, that allows you to encrypt and decrypt on the fly with AES256 or AES128. To use this feature, the server <strong>must</strong> support WebDAV dead properties.</p> 68 <p>The davutils programs have an integrated client-side encryption feature, that allows you to encrypt and decrypt on the fly with AES256 or AES128. To use this feature, the server <strong>must</strong> support WebDAV dead properties.</p>
69 <p>The tools support both, encryption of the resource content and encryption of the resource name. Each resource is encrypted separately. With activated name encryption, the actual resource name is random but the name used by the client is stored encrypted in WebDAV properties. This means, an attacker can see the directory structure and the file length, but can't see which files have the same name.</p> 69 <p>The tools support both, encryption of the resource content and encryption of the resource name. Each resource is encrypted separately. With activated name encryption, the actual resource name is random but the name used by the client is stored encrypted in WebDAV properties. This means, an attacker can see the directory structure and the file length, but can't see which files have the same name.</p>
70 <p>To enable encryption a key must be configured in <code>$HOME/.dav/config.xml</code>. A key must have an unique name. To access encrypted resources, all clients must configure the same key with the same name. Currently a key can only be loaded from a file and not generated from a password.</p> 70 <p>To enable encryption a key must be configured in <code>$HOME/.dav/config.xml</code>. A key must have a unique name. To access encrypted resources, all clients must configure the same key with the same name. Currently a key can only be loaded from a file and not generated from a password.</p>
71 <p>A configuration for a key looks like:</p> 71 <p>A configuration for a key looks like:</p>
72 <pre><code>&lt;key&gt; 72 <pre><code>&lt;key&gt;
73 &lt;name&gt;mykey1&lt;/name&gt; 73 &lt;name&gt;mykey1&lt;/name&gt;
74 &lt;file&gt;keys/mykey1&lt;/file&gt; 74 &lt;file&gt;keys/mykey1&lt;/file&gt;
75 &lt;/key&gt; </code></pre> 75 &lt;/key&gt; </code></pre>

mercurial