gregorynicholas / py-bcrypt

Automatically exported from code.google.com/p/py-bcrypt
Other
0 stars 0 forks source link

Python 3 Support (with patch) #5

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
It would be really nice to have Python 3 support... as far I can tell, none of 
the bcrypt C extensions for python support Python 3 yet. 

Attached is an hg patch which should enable pybcrypt to be built for Python 3. 
It makes a few changes here and there (which I tried to document), I hope it's 
useful.

Original issue reported on code.google.com by elic@astllc.org on 2 Mar 2012 at 5:47

Attachments:

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Made a few changes (replaced bzero w/ memset, added checks for null characters 
in password); attached is a second rewrite of my patch.

Original comment by elic@astllc.org on 13 Mar 2012 at 12:57

Attachments:

GoogleCodeExporter commented 9 years ago
Is this project dead?  This patch is exactly what I needed, it'd be nice to see 
it in the main tree and on PyPi.

Original comment by michael5...@gmail.com on 5 Mar 2013 at 6:07

GoogleCodeExporter commented 9 years ago
I'm not sure if it's dead, but it certainly hasn't had activity in a few years. 

Back when I submitted this patch, I was relying on py-bcrypt to provide a 
C-accelerated backend for Passlib (https://code.google.com/p/passlib). However, 
as soon I get enough free time I'm now planning to add a Python 3 compatible 
BCrypt extension directly into Passlib (issue is here -- 
https://code.google.com/p/passlib/issues/detail?id=40).

I can't promise any immediate timeframe, but if it looks like that would be a 
helpful alternative for you, feel free to follow that issue. :)

Original comment by elic@astllc.org on 5 Mar 2013 at 10:42

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I went ahead and applied your diffs, please review and supply more!

https://github.com/wcdolphin/python-bcrypt

Original comment by WCDolphin@gmail.com on 22 Jul 2013 at 10:03

GoogleCodeExporter commented 9 years ago
Thanks - I've merged a slightly tweaked version of this patch in preparation 
for a py-bcrypt-0.4 release.

Original comment by d...@djm.net.au on 27 Jul 2013 at 11:59

GoogleCodeExporter commented 9 years ago

Original comment by d...@djm.net.au on 28 Jul 2013 at 12:00