Skip to content
New issue

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

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

Already on GitHub? # to your account

Fix ckr obj handle invalid errs #132

Merged
merged 2 commits into from
Sep 6, 2018
Merged

Conversation

g-k
Copy link
Contributor

@g-k g-k commented Sep 5, 2018

For bug 1488862 debugging CloudHSM failures in stage running 2.2.2, we see requests within 30 seconds of server start or a previous successful request succeed, but those more than 30 seconds later fail with ..."Fields":{"code":500,"msg":"signing failed with error: mar: failed to finalize signature: pkcs11: 0x82: CKR_OBJECT_HANDLE_INVALID","rid":...

While we haven't seen pkcs11: 0x101: CKR_USER_NOT_LOGGED_IN errors in stage, this still appears to be due to: ThalesGroup/crypto11#9

The HSM dev instance we successfully load tested earlier is on commit 2210ea8, so this PR reverts crypto11 to that commit (regression could be further narrowed down to 2210ea8...2.2.2 too)

We'll need to pin this version if we switch to vgo for #115 too.

r? @jvehent or @ajvb if you're not swamped

@g-k g-k requested review from jvehent and ajvb September 5, 2018 20:46
@g-k g-k merged commit 1ba1b93 into master Sep 6, 2018
@g-k g-k deleted the fix-ckr-obj-handle-invalid-errs branch September 6, 2018 15:46
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants