barbican/barbican/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 Dejokerizes 404 logs. 2019-11-12 16:27:32 +01:00
util Remove six.PY3 2020-09-22 05:32:06 +00:00
__init__.py Restructure project to accommodate plugin types 2014-06-18 23:46:07 -05:00
castellan_secret_store.py Fix getting secret for vault plugin 2018-07-26 22:34:16 +12:00
dogtag.py Update hacking for Python3 2021-03-04 17:27:30 -06:00
dogtag_config_opts.py Fix config option type 2020-04-29 21:30:30 +02:00
kmip_secret_store.py Fix broken gate due to breaking dependency changes 2018-06-01 17:33:51 -05:00
resources.py Central logic to sync secret store data with conf data (Part 3) 2016-09-14 06:49:53 -07:00
simple_certificate_manager.py Remove translation of log messages 2017-06-03 10:18:55 +07:00
snakeoil_ca.py Update hacking for Python3 2021-03-04 17:27:30 -06:00
store_crypto.py Remove redundancy code 2017-12-02 11:14:42 +07:00
symantec.py Remove pep8 error in symantec plugin 2016-01-17 17:53:04 +01:00
vault_secret_store.py Enable KV mountpoint configuration for Vault 2019-02-21 09:46:40 +00:00