28b13bce25
The Trustway Proteccio HSM can somtimes return a network error when attempting to finalize the cryptoki library. The error can prevent reinitialization because we attempt to finalize the library before initalizing a new connection. When a network error occurrs, barbican gets stuck in an error loop trying to finalize the dead connection before starting a new one. This patch adds code to ignore the network error when finalizing to ensure we are able to attempt to reinitialize. Connection errors during other operations will still result in 500 errors as expected. Change-Id: I9ac6c7bbda0f81cb26e1c589803317df1ef11f39 (cherry picked from commit |
||
---|---|---|
.. | ||
crypto | ||
interface | ||
util | ||
__init__.py | ||
test_castellan_secret_store.py | ||
test_dogtag.py | ||
test_kmip.py | ||
test_resource.py | ||
test_simple_certificate_manager.py | ||
test_snakeoil_ca.py | ||
test_store_crypto.py | ||
test_symantec.py |