Skip to content

hide pkcs11 behind a build tag so that token sdk is pure go by default #699

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Aug 7, 2024

Conversation

arner
Copy link
Contributor

@arner arner commented Jul 17, 2024

Companion PR to hyperledger-labs/fabric-smart-client#621.

Goal is to make HSM support 'opt-in' by using a build tag: CGO_ENABLED=1 go build -tags pkcs11. If you don't supply the tag, it will not require CGO. This makes it easier to have cross-platform builds or to use alpine containers, for instance.

@arner arner marked this pull request as draft July 17, 2024 09:41
Signed-off-by: Arne Rutjes <[email protected]>
@arner arner marked this pull request as ready for review August 5, 2024 12:11
@arner arner requested a review from adecaro August 5, 2024 12:11
Copy link
Contributor

@adecaro adecaro left a comment

Choose a reason for hiding this comment

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

LGTM

@adecaro adecaro merged commit dbbb3db into main Aug 7, 2024
49 checks passed
@adecaro adecaro deleted the f-opt-in-hsm branch August 7, 2024 07:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants