Message from discussion
Sign-up/Login system with Tornado
Received: by 10.68.190.104 with SMTP id gp8mr8928162pbc.4.1339442098542;
Mon, 11 Jun 2012 12:14:58 -0700 (PDT)
X-BeenThere: python-tornado@googlegroups.com
Received: by 10.68.233.8 with SMTP id ts8ls13083280pbc.7.gmail; Mon, 11 Jun
2012 12:14:55 -0700 (PDT)
Received: by 10.68.190.104 with SMTP id gp8mr8928036pbc.4.1339442095788;
Mon, 11 Jun 2012 12:14:55 -0700 (PDT)
Received: by 10.68.190.104 with SMTP id gp8mr8928034pbc.4.1339442095773;
Mon, 11 Jun 2012 12:14:55 -0700 (PDT)
Return-Path: <zeeero.co...@gmail.com>
Received: from mail-pz0-f48.google.com (mail-pz0-f48.google.com [209.85.210.48])
by gmr-mx.google.com with ESMTPS id ph6si2149275pbc.2.2012.06.11.12.14.55
(version=TLSv1/SSLv3 cipher=OTHER);
Mon, 11 Jun 2012 12:14:55 -0700 (PDT)
Received-SPF: pass (google.com: domain of zeeero.co...@gmail.com designates 209.85.210.48 as permitted sender) client-ip=209.85.210.48;
Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of zeeero.co...@gmail.com designates 209.85.210.48 as permitted sender) smtp.mail=zeeero.co...@gmail.com; dkim=pass header...@gmail.com
Received: by mail-pz0-f48.google.com with SMTP id z8so6267895dad.21
for <python-tornado@googlegroups.com>; Mon, 11 Jun 2012 12:14:55 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20120113;
h=mime-version:in-reply-to:references:date:message-id:subject:from:to
:content-type;
bh=ECt0K04Eo5dGOqBsZ/OQ3R5zaIcNfB8gpXRtXW3Q+aA=;
b=twWmA6lbYdQELvnk8SEQVhA39D71Xk5HeNMj/mXFBt4LUUjALdhPc8K1xnVUBKeo48
cvIm/Y75nsRD9bX7eVX10ibc+o8iysOU0ArZIMfIArYZ/yv2GOAbQQktdZGnBo5FxoSf
OxlwEFW0AhYcHEWyNgtcvsSSfLJmhi3iZfJ5wLXudiKk3dha9uhE2GQFMJZg+RyWwSdE
zX6v6sHzpSxR2zeUc0sSznnxDxhmGX9+W3PXCC7pD3m2jdSRrGZdo69v+8gHZJj2Q/fl
t8V3up1RLDPDgcC2V646eTHUsgvNh4khY70bNyDO96rqN+7yqumWEU3w323/SSYH8weo
ydIA==
MIME-Version: 1.0
Received: by 10.68.190.40 with SMTP id gn8mr30084326pbc.118.1339442095399;
Mon, 11 Jun 2012 12:14:55 -0700 (PDT)
Received: by 10.68.24.42 with HTTP; Mon, 11 Jun 2012 12:14:55 -0700 (PDT)
In-Reply-To: <81ED022F-FC83-4802-B3E6-DAED66FD0...@gmail.com>
References: <4FD5E648.2020...@gmail.com>
<b536698e-ee33-42cf-8383-b734c7272be9@googlegroups.com>
<81ED022F-FC83-4802-B3E6-DAED66FD0...@gmail.com>
Date: Mon, 11 Jun 2012 15:14:55 -0400
Message-ID: <CAGVravdjm-nhMHx5c5kNfB2gKDYix4uuaJMH+t0K+Zb2PQZ...@mail.gmail.com>
Subject: Re: [tornado] Re: Sign-up/Login system with Tornado
From: Arek Bochinski <zeeero.co...@gmail.com>
To: python-tornado@googlegroups.com
Content-Type: multipart/alternative; boundary=e89a8ffba94d4b240704c2372a16
--e89a8ffba94d4b240704c2372a16
Content-Type: text/plain; charset=ISO-8859-1
I use multi-step password creation. First time a password is created, it is
done with PBKDF2 and with salt/key/iteration
settings to make it fast and cheap on CPU time. Then, I defer a second job
to a Gearman worker that does
an update with a more costly update of the password that hogs the CPU.
On Mon, Jun 11, 2012 at 12:59 PM, Dmitri Cherniak <dmit...@gmail.com> wrote:
> I used bcrypt directly in a sample blog post once, but in production I
> pass it off to an internal HTTP service using asynchttpclient.
>
> On Jun 11, 2012, at 11:58 AM, Andy Boot wrote:
>
> I'm fairly new to tornado but I don't think its a major problem.
>
> I am using bcrypt (with a small salt) directly in my app and I have seen
> apps on github that also use bcrypt without delegating the encryption to
> something like *Celery *
>
> What blogs have you read on the subject?
>
> andy,
>
>
> On Monday, 11 June 2012 13:36:24 UTC+1, Antonio Pintus wrote:
>>
>> Hi,
>>
>> I need to realize a Sign-up/login system for my Tornado Web-based
>> application.
>> I've found some examples based on bcrypt, also reading that it's too
>> heavy for Tornado IO Loop feature.
>> Can anyone suggest me a feasible way, please?
>>
>>
>> Any suggestion, link, hint are welcome!
>>
>> Thank you!
>>
>> Cheers,
>>
>> Antonio
>>
>>
>>
>>
>> --
>>
>> Antonio Pintus
>>
>> e-mail: pin...@gmail.com
>> Home Page: http://www.pintux.it
>> Blog: http://jaranto.blogspot.com
>> Photography: http://www.flickr.com/photos/**pintux/<http://www.flickr.com/photos/pintux/>
>> Twitter: twitter.com/apintux
>>
>>
>
--e89a8ffba94d4b240704c2372a16
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
I use multi-step password creation. First time a password is created, it is=
done with PBKDF2 and with salt/key/iteration<br>settings to make it fast a=
nd cheap on CPU time. Then, I defer a second job to a Gearman worker that d=
oes<br>
an update with a more costly update of the password that hogs the CPU.<br><=
br><div class=3D"gmail_quote">On Mon, Jun 11, 2012 at 12:59 PM, Dmitri Cher=
niak <span dir=3D"ltr"><<a href=3D"mailto:dmit...@gmail.com" target=3D"_=
blank">dmit...@gmail.com</a>></span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div style=3D"word-wrap:break-word">I used b=
crypt directly in a sample blog post once, but in production I pass it off =
to an internal HTTP service using asynchttpclient.<div>
<div class=3D"h5"><div><br><div><div>On Jun 11, 2012, at 11:58 AM, Andy Boo=
t wrote:</div><br><blockquote type=3D"cite">I'm fairly new to tornado b=
ut I don't think its a major problem.<div><br></div><div>I am using bcr=
ypt (with a small salt) directly in my app and I have seen apps on github t=
hat also use bcrypt without delegating the encryption to something like=A0<=
i style=3D"line-height:16px;font-size:small;font-style:normal;font-family:a=
rial,sans-serif">Celery=A0</i>=A0</div>
<div><br></div><div>What blogs have you read on the subject?</div><div><br>=
</div><div>andy,</div><div><br></div><div><br>On Monday, 11 June 2012 13:36=
:24 UTC+1, Antonio Pintus wrote:<blockquote class=3D"gmail_quote" style=3D=
"margin:0;margin-left:0.8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,
<br>
<br>I need to realize a Sign-up/login system for my Tornado Web-based=20
<br>application.
<br>I've found some examples based on bcrypt, also reading that it'=
s too=20
<br>heavy for Tornado IO Loop feature.
<br>Can anyone suggest me a feasible way, please?
<br>
<br>
<br>Any suggestion, link, hint are welcome!
<br>
<br>Thank you!
<br>
<br>Cheers,
<br>
<br>Antonio
<br>
<br>
<br>
<br>
<br>--=20
<br>
<br>Antonio Pintus
<br>
<br>e-mail: <a href=3D"mailto:pin...@gmail.com" target=3D"_blank">pintus@gm=
ail.com</a>
<br>Home Page: <a href=3D"http://www.pintux.it/" target=3D"_blank">http://w=
ww.pintux.it</a>
<br>Blog: <a href=3D"http://jaranto.blogspot.com/" target=3D"_blank">http:/=
/jaranto.blogspot.com</a>
<br>Photography: <a href=3D"http://www.flickr.com/photos/pintux/" target=3D=
"_blank">http://www.flickr.com/photos/<u></u>pintux/</a>
<br>Twitter: <a href=3D"http://twitter.com/apintux" target=3D"_blank">twitt=
er.com/apintux</a>
<br>
<br></blockquote></div></blockquote></div><br></div></div></div></div></blo=
ckquote></div><br>
--e89a8ffba94d4b240704c2372a16--