yubihsm-shell icon indicating copy to clipboard operation
yubihsm-shell copied to clipboard

Can YubiHSM2 device supports multiple containers outside Device?

Open hamda-almenhali opened this issue 8 months ago • 1 comments

Setting: We have two or more ubuntu docker containers running on a single host Ubuntu/MacOS computer. We have attached YubiHSM to the host machine via USB.

Requirement: We need to perform independent cryptographic operations via processes running on each of these docker containers. These cryptographic operations shall use YubiHSM.

Question: Is it possible for more than one docker container to use the single YubiHSM concurrently? Is it possible for more than one docker container to use the single YubiHSM non-concurrently? To do any of the above, do we need any synchronization mechanism? Is there a minimum reproducible example that YubiCo can share with us, to demonstrate the above requirements?

Requirement

hamda-almenhali avatar May 27 '24 11:05 hamda-almenhali