File diff: [root]/hellnet/tech/URIs/meta @ aac720a39a1 | src | log | faq | css

diff --git a/hellnet/tech/URIs/meta b/hellnet/tech/URIs/meta
new file mode 100644
index 0000000..8fcf8fb
-- /dev/null
++ b/hellnet/tech/URIs/meta
@@ -0,0 +1,22 @@
h1. Meta hell:// URIs

h2. Regex

^hell://meta/([0-9a-f]{64})/([^/]+)/(.*)$

$1: public key hash
$2: meta name

h2. Optional parameters

name: Any string, contents' filename
key: hex number, symmetric encryption key

h2. How it works

When updating, client should first check the date; if it's bigger than his current metatree, then client downloads the tree and signature, optionally decrypts both using supplied encryption key and checks if server's announced date, key and name match ones in metatree itself and the signature validity. If these are ok, then it replaces its own metatree with downloaded one.

h2. See also

* [[../../protocols/http/meta|meta resource]]
* [[../metatrees]]
\ No newline at end of file

By Alexander Markov on 2009-11-22 00:42:06 +0300 Powered by bitcheese wiki engine