|
From: Jeff A. <re...@bu...> - 2017-05-23 19:32:19
|
New submission from Jeff Allen:
I'm see this failure in test_ssl, but only when running from an installed Jython. I do not reproduce it in the development environment.
Did we forget to pack something?
======================================================================
ERROR: test_load_cert_chain (__main__.ContextTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Users\Jeff\Documents\Jython\ldrtest\Lib\test\test_ssl.py", line 820, in test_load_cert_chain
ctx.load_cert_chain(CERTFILE_PROTECTED, password=KEY_PASSWORD)
File "C:\Users\Jeff\Documents\Jython\ldrtest\Lib\ssl.py", line 1128, in load_cert_chain
self._key_managers = _get_openssl_key_manager(certfile, keyfile, password, _key_store=self._key_store)
File "C:\Users\Jeff\Documents\Jython\ldrtest\Lib\ssl.py", line 1128, in load_cert_chain
self._key_managers = _get_openssl_key_manager(certfile, keyfile, password, _key_store=self._key_store)
File "C:\Users\Jeff\Documents\Jython\ldrtest\Lib\_sslcerts.py", line 121, in _get_openssl_key_manager
_certs, _private_key = _extract_certs_for_paths([cert_file], password)
File "C:\Users\Jeff\Documents\Jython\ldrtest\Lib\_sslcerts.py", line 218, in _extract_certs_for_paths
_certs, _private_key = _extract_cert_from_data(f, password, key_converter, cert_converter)
File "C:\Users\Jeff\Documents\Jython\ldrtest\Lib\_sslcerts.py", line 237, in _extract_cert_from_data
certs, private_key = _read_pem_cert_from_data(f, password, key_converter, cert_converter)
File "C:\Users\Jeff\Documents\Jython\ldrtest\Lib\_sslcerts.py", line 273, in _read_pem_cert_from_data
key_pair = key_converter.getKeyPair(obj.decryptKeyPair(provider))
File "C:\Users\Jeff\Documents\Jython\ldrtest\Lib\_sslcerts.py", line 273, in _read_pem_cert_from_data
key_pair = key_converter.getKeyPair(obj.decryptKeyPair(provider))
PEMException: org.python.bouncycastle.openssl.PEMException: Unable to create OpenSSL PBDKF: PBKDF-OpenSSL SecretKeyFactory not available
----------
components: Library
keywords: test failure causes
messages: 11398
nosy: jeff.allen
severity: normal
status: open
title: test_ssl failure in Jython (only) after standard installation
type: crash
versions: Jython 2.7
_______________________________________
Jython tracker <re...@bu...>
<http://bugs.jython.org/issue2594>
_______________________________________
|