Message10433

Author teeohhem
Recipients teeohhem
Date 2015-11-03.17:18:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1446571093.17.0.208234586585.issue2421@psf.upfronthosting.co.za>
In-reply-to
Content
In Jython 2.7.1b2, I receive the following stack trace when trying to use any portion of the ssl lib

2015-11-03 12:13:25-0500 [-]   File "/Users/talexander/source/ripcord/opscenterd/lib/py/twisted/internet/ssl.py", line 104, in __init__
2015-11-03 12:13:25-0500 [-]     self.cacheContext()
2015-11-03 12:13:25-0500 [-]   File "/Users/talexander/source/ripcord/opscenterd/lib/py/twisted/internet/ssl.py", line 113, in cacheContext
2015-11-03 12:13:25-0500 [-]     ctx.load_cert_chain(self.certificateFileName, keyfile=self.privateKeyFileName)  # Automatically checks against private key
2015-11-03 12:13:25-0500 [-]   File "/Users/talexander/source/ripcord/opscenterd/lib/jvm/org/python/jython-standalone/2.7.1b2/jython-standalone-2.7.1b2.bak.jar/Lib/ssl.py", line 495, in load_cert_chain
2015-11-03 12:13:25-0500 [-]     self._key_managers = _get_openssl_key_manager(certfile, keyfile, password, _key_store=self._key_store)
2015-11-03 12:13:25-0500 [-]   File "/Users/talexander/source/ripcord/opscenterd/lib/jvm/org/python/jython-standalone/2.7.1b2/jython-standalone-2.7.1b2.bak.jar/Lib/_sslcerts.py", line 108, in _get_openssl_key_manager
2015-11-03 12:13:25-0500 [-]     key_store.setKeyEntry(str(uuid.uuid4()), private_key, [], certs)
2015-11-03 12:13:25-0500 [-] UnboundLocalError: local variable 'key_store' referenced before assignment
History
Date User Action Args
2015-11-03 17:18:13teeohhemsetmessageid: <1446571093.17.0.208234586585.issue2421@psf.upfronthosting.co.za>
2015-11-03 17:18:13teeohhemsetrecipients: + teeohhem
2015-11-03 17:18:13teeohhemlinkissue2421 messages
2015-11-03 17:18:12teeohhemcreate