Skip to content
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

Add '-login' option to force a login to PKCS11 engine #389

Merged
merged 1 commit into from
May 22, 2024

Conversation

koolscooby
Copy link
Contributor

@koolscooby koolscooby commented May 3, 2024

When trying to use AWS CloudHSM's PCKS11 provider with osslsigncode, I found that providing the token pin via the -pass option failed, while entering it interactively when prompted by openssl-pkcs11 (from libp11) engine worked correctly.

After some debugging, I found that forcing an early login to the PKCS11 engine allowed the -pass option to work reliably. This adds a new -login option to FORCE_LOGIN for PKCS11 providers.

@mtrojnar mtrojnar merged commit 825c9da into mtrojnar:master May 22, 2024
8 of 9 checks passed
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