barbican/barbican/cmd
Douglas Mendizábal 3b66ec1a22 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)
(cherry picked from commit b41ceaa369)
(cherry picked from commit 7cf483e205)
2021-03-09 16:35:23 +00:00
..
functionaltests Trivial fix typos 2017-05-31 09:08:40 +07:00
__init__.py Files with no code must be left completely empty 2016-11-17 14:19:47 +08:00
barbican_manage.py Allow multiple token labels for PKCS#11 driver 2021-03-09 16:35:23 +00:00
db_manage.py Remove translation of log messages 2017-06-03 10:18:55 +07:00
keystone_listener.py Enable mutable config in Barbican 2018-03-26 10:07:49 +08:00
pkcs11_kek_rewrap.py Merge "Update json module to jsonutils" 2019-03-07 21:42:54 +00:00
pkcs11_key_generation.py Code updated with recent PKCS11 API 2019-03-27 09:01:44 +00:00
pkcs11_migrate_kek_signatures.py Update json module to jsonutils 2019-03-07 07:02:48 +00:00
retry_scheduler.py Enable mutable config in Barbican 2018-03-26 10:07:49 +08:00
status.py Add barbican-status upgrade check command framework 2019-01-15 06:16:53 +00:00
worker.py Enable mutable config in Barbican 2018-03-26 10:07:49 +08:00