patch: minor bugfix in cryptutil.py

Kevin Turner kevin at janrain.com
Tue Aug 28 13:42:23 PDT 2007


On Sat, 2007-08-25 at 20:36 -0700, Ryan Barrett wrote:
> specifically, cryptutil has a code path that tries a few different sources of 
> randomness in succession. one of them expects an OSError if a file() call 
> fails, but file() throws IOError, not OSError. we're trying out the python 
> openid library in a chroot, so this bit us.

Thanks for the patch.  But looking over that code...  catching that
error just results in raising another one.  Are you able to build in the
chroot even with this patch?


> p.s. out of curiosity, why are comments on openidenabled.com disabled?

The best reason is that they turned out to be a poor way to communicate.
If you put a comment on a web page, maybe someone would happen to come
along and see it, and *maybe* someone would see it show up in an RSS
feed, but it wasn't going to as many developers' inboxes as this mailing
list does.

Another contributing factor is that we don't have the resources to do
effective linkspam control there.





More information about the Dev mailing list