[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

about python-oauth2: CVE-2013-4347



Hi,

do you think that for fixing that, using

return ''.join(random.choice('abcdefghijklmnopqrstuvwxyz123456789') for
i in xrange(length))

instead of the actual

return ''.join([str(random.randint(0, 9)) for i in range(length)])


would be an acceptable fix ?


Reply to: