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

Tests failing with CloudHSM (Client V5) #95

Open
chaddaksha opened this issue Jul 11, 2022 · 0 comments
Open

Tests failing with CloudHSM (Client V5) #95

chaddaksha opened this issue Jul 11, 2022 · 0 comments

Comments

@chaddaksha
Copy link

Hi,

I'm trying to use crypto11 with AWS CloudHSM. To start, I'm just trying to run the tests in this repo, but facing the following errors:

=== RUN   TestSymmetricRequiredArgs
    require.go:794: 
                Error Trace:    symmetric_test.go:323
                Error:          Received unexpected error:
                                pkcs11: 0x190: CKR_CRYPTOKI_NOT_INITIALIZED
                                failed to list PKCS#11 slots
                Test:           TestSymmetricRequiredArgs
--- FAIL: TestSymmetricRequiredArgs (0.00s)

Looking at the CloudHSM logs, I see something like the following with a login issue:

... Failed to login to HSM ... User is already logged in

Is there any way to work around this?

Thanks,
Chad

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

No branches or pull requests

1 participant