barbican/barbican/tests/plugin
Douglas Mendizábal b41ceaa369 Allow multiple token labels for PKCS#11 driver
This patch changes the slot selection logic to look for more than one
token label in the list of slots, using the first token that is found.

This change is required to enable load balancing with devices that
use separate tokens for this feature.

This patch adds a new option in the [p11_crypto_plugin] section
"token_labels", and deprecates the "token_label" option.

For backwards compatibility, the "token_label" option will still be used
if present.

Change-Id: Ic2b85246c37e856c38cb47613313b19e653118de
(cherry picked from commit 1ca03610d7)
2021-03-08 11:58:40 -06:00
..
crypto Allow multiple token labels for PKCS#11 driver 2021-03-08 11:58:40 -06:00
interface Use unittest.mock instead of third party mock 2020-04-28 04:00:17 +00:00
util Use unittest.mock instead of third party mock 2020-04-28 04:00:17 +00:00
__init__.py Restructure project to accommodate plugin types 2014-06-18 23:46:07 -05:00
test_castellan_secret_store.py Use unittest.mock instead of third party mock 2020-04-28 04:00:17 +00:00
test_dogtag.py Use unittest.mock instead of third party mock 2020-04-28 04:00:17 +00:00
test_kmip.py Use unittest.mock instead of third party mock 2020-04-28 04:00:17 +00:00
test_resource.py Use unittest.mock instead of third party mock 2020-04-28 04:00:17 +00:00
test_simple_certificate_manager.py Fix order of arguments in assertEqual 2015-09-30 11:21:02 +05:30
test_snakeoil_ca.py Use unittest.mock instead of third party mock 2020-04-28 04:00:17 +00:00
test_store_crypto.py Use unittest.mock instead of third party mock 2020-04-28 04:00:17 +00:00
test_symantec.py Use unittest.mock instead of third party mock 2020-04-28 04:00:17 +00:00