Skip to content

Remove PKCS11 single thread lock (#264)#277

Merged
ionut-arm merged 1 commit into
parallaxsecond:masterfrom
ionut-arm:pkcs11-multithread
Oct 22, 2020
Merged

Remove PKCS11 single thread lock (#264)#277
ionut-arm merged 1 commit into
parallaxsecond:masterfrom
ionut-arm:pkcs11-multithread

Conversation

@ionut-arm
Copy link
Copy Markdown
Member

This commit removes the mutex that was used to force the PKCS11 provider
to work in a single-threaded way. The issue was fixed in
softhsm/SoftHSMv2#576 and our Dockerfiles
have been updated to use that commit.

Fixes #264

@ionut-arm ionut-arm added the enhancement New feature or request label Oct 22, 2020
@ionut-arm ionut-arm requested a review from hug-dev October 22, 2020 13:17
@ionut-arm ionut-arm self-assigned this Oct 22, 2020
Copy link
Copy Markdown
Member

@hug-dev hug-dev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, that's egg-cellent 🥚
I agree to merge it once you have the CI passing 🚋

@ionut-arm ionut-arm force-pushed the pkcs11-multithread branch 3 times, most recently from 44aa418 to 4255a98 Compare October 22, 2020 14:11

RUN cd SoftHSMv2 \
&& sh autogen.sh \
|| sh autogen.sh
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would be nice to link with the bug description as a comment here for an external eye to understand why this was needed

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

This commit removes the mutex that was used to force the PKCS11 provider
to work in a single-threaded way. The issue was fixed in
softhsm/SoftHSMv2#576 and our Dockerfiles
have been updated to use that commit.

Signed-off-by: Ionut Mihalcea <ionut.mihalcea@arm.com>
@ionut-arm ionut-arm merged commit 364eca0 into parallaxsecond:master Oct 22, 2020
@ionut-arm ionut-arm deleted the pkcs11-multithread branch October 22, 2020 14:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

PKCS11 multi-threading

2 participants