Skip to content

[v14] fix key generation for dual auths sharing a single YubiHSM2#37296

Merged
nklaassen merged 1 commit intobranch/v14from
nklaassen/v14/fix-shared-yubihsm
Jan 26, 2024
Merged

[v14] fix key generation for dual auths sharing a single YubiHSM2#37296
nklaassen merged 1 commit intobranch/v14from
nklaassen/v14/fix-shared-yubihsm

Conversation

@nklaassen
Copy link
Copy Markdown
Contributor

@nklaassen nklaassen commented Jan 25, 2024

Backport #36899 to branch/v14

The actual fix is a few characters in lib/auth/keystore/pkcs11.go. I'm also backporting changes to test files from #36549 that this PR built on top of, which make it easier to run all HSM unit and integration tests with a connected YubiHSM2 (which I did when putting together this backport)

Changelog: fixes CA key generation when two auth servers share a single YubiHSM2

@github-actions github-actions Bot requested review from hugoShaka and zmb3 January 25, 2024 22:35
@nklaassen nklaassen added the no-changelog Indicates that a PR does not require a changelog entry label Jan 25, 2024
@gravitational gravitational deleted a comment from github-actions Bot Jan 25, 2024
nklaassen added a commit that referenced this pull request Jan 25, 2024
Backport #36899 to branch/v13

The actual fix is a few characters in lib/auth/keystore/pkcs11.go.
I'm also backporting changes to test files from #36549 that this PR built on
top of, which make it easier to run all HSM unit and integration tests
with a connected YubiHSM2 (which I did when putting together this
backport).

Instead of merging all changes in the integration tests, I just checked
out the state of them from branch/v14 in
#37296
@nklaassen nklaassen removed the no-changelog Indicates that a PR does not require a changelog entry label Jan 25, 2024
@nklaassen nklaassen added this pull request to the merge queue Jan 26, 2024
github-merge-queue Bot pushed a commit that referenced this pull request Jan 26, 2024
…7301)

Backport #36899 to branch/v13

The actual fix is a few characters in lib/auth/keystore/pkcs11.go.
I'm also backporting changes to test files from #36549 that this PR built on
top of, which make it easier to run all HSM unit and integration tests
with a connected YubiHSM2 (which I did when putting together this
backport).

Instead of merging all changes in the integration tests, I just checked
out the state of them from branch/v14 in
#37296
Merged via the queue into branch/v14 with commit 0444b1b Jan 26, 2024
@nklaassen nklaassen deleted the nklaassen/v14/fix-shared-yubihsm branch January 26, 2024 00:29
This was referenced Aug 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants