Files
barbican/barbican/plugin
Douglas Mendizábal 70aac1f698 Ignore network errors during C_Finalize
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
2021-09-17 13:36:03 -05:00
..
2020-09-29 15:19:56 +08:00
2020-09-22 05:32:06 +00:00
2020-04-29 21:30:30 +02:00
2020-10-12 21:20:06 +02:00
2017-12-02 11:14:42 +07:00