barbican/barbican/tests
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
..
api Use unittest.mock instead of third party mock 2020-04-28 04:00:17 +00:00
cmd Use barbican.conf in barbican-manage 2020-11-02 17:42:49 +00:00
common Update hacking for Python3 2021-03-04 17:27:30 -06:00
model Update hacking for Python3 2021-03-04 17:27:30 -06:00
objects Switch from unittest2 compat methods to Python 3.x methods 2020-07-08 10:28:15 +08:00
plugin Allow multiple token labels for PKCS#11 driver 2021-03-08 11:58:40 -06:00
queue Use unittest.mock instead of third party mock 2020-04-28 04:00:17 +00:00
tasks Use unittest.mock instead of third party mock 2020-04-28 04:00:17 +00:00
__init__.py Make a whole host of modules hacking 0.9.2 compliant 2014-09-01 23:59:44 -05:00
certificate_utils.py Fixes for Running Functional Tests with Python 3.5 2017-04-27 13:06:14 -04:00
database_utils.py Add SecretConsumerRepo repository and its tests 2019-09-24 15:20:01 +02:00
fixture.py Use oslo.db create_engine instead of SQLAlchemy 2017-04-28 03:13:28 +00:00
keys.py Merge "Replace pycrypto with cryptography in translations" 2017-05-05 19:26:58 +00:00
test_hacking.py Update hacking for Python3 2021-03-04 17:27:30 -06:00
test_middleware_auth.py update some documents about the keystone "API v2.0" 2018-05-12 23:32:12 +08:00
utils.py Use unittest.mock instead of third party mock 2020-04-28 04:00:17 +00:00