From 12ada83027694f799d6ee5caddb00f5ffe1b4d8d Mon Sep 17 00:00:00 2001 From: Jon Bergli Heier Date: Tue, 15 Feb 2011 23:46:03 +0100 Subject: Use sha1 instead of md5. --- templates/help.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates/help.tmpl') diff --git a/templates/help.tmpl b/templates/help.tmpl index 48d12bc..95748f5 100644 --- a/templates/help.tmpl +++ b/templates/help.tmpl @@ -3,7 +3,7 @@ #extends templates.base #def content

Usage: POST to $scheme://$host/u with filedata given to "file" and original filename to "filename". - Login is sent by cookies with user id in "uid" and an identifier which is md5(uid+md5(password)).

+ Login is sent by cookies with user id in "uid" and an identifier which is sha1(uid+sha1(password)).

cURL example: curl -b 'uid=42; identifier=3858f62230ac3c915f300c664312c63f' -F 'file=@image.png' -F 'filename=image.png' http://myhost/u Here user id is 42 and the password is "foobar".

-- cgit v1.2.3