Changes between Initial Version and Version 2 of Ticket #58835


Ignore:
Timestamp:
Aug 14, 2019, 8:03:49 AM (5 years ago)
Author:
vm4866571246066832v
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #58835

    • Property Summary changed from gajim OpenSSL.rand.load_file(str(RNG_SEED)) AttributeError: 'module' object has no attribute 'load_file' to gajim 0.16.8_0 OpenSSL.rand.load_file(str(RNG_SEED)) AttributeError: 'module' object has no attribute 'load_file'
  • Ticket #58835 – Description

    initial v2  
    2424{{{
    2525/opt/local/share/gajim/src/gajim.py
     26try:
     27    import OpenSSL.rand
     28    from common import crypto
     29    # Seed from file
     30    OpenSSL.rand.load_file(str(RNG_SEED))
     31    crypto.add_entropy_sources_OpenSSL()
     32    OpenSSL.rand.write_file(str(RNG_SEED))
     33    PYOPENSSL_PRNG_PRESENT = True
    2634310 except ImportError:
    2735311     log.info("PyOpenSSL PRNG not available")