Ticket #2685 (closed enhancement: fixed)
factor secure random implementation
| Reported by: | antoine | Owned by: | therve |
|---|---|---|---|
| Priority: | highest | Milestone: | |
| Component: | core | Keywords: | |
| Cc: | therve, itamarst, z3p, exarkun | Branch: | |
| Author: | Launchpad Bug: |
Description
Several places are using their own secure random implementation - relying on PyCrypto with a fallback on non-secure random: t.names.dns, t.conch.ssh.common. Also the branch in #2015 has such an implementation.
We should centralize a secure random implementation which can be used by any part of twisted, and applications as well. It will rely on PyCrypto but be able to fallback on os.urandom and then on non-secure random methods.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

