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

Do not attempt to load keys if TLS is not enabled or if no keys is present #914

Merged
merged 2 commits into from
Nov 15, 2024

Conversation

igaw
Copy link
Collaborator

@igaw igaw commented Nov 15, 2024

The refactoring on the TLS handling introduced a regression. There shouldn't be any key store operations when TLS is not enabled nor if there is no key present.

Fixes: #linux-nvme/nvme-cli#2573

igaw added 2 commits November 15, 2024 15:58
There is no point in accessing the keyring if we don't have to load a
key into the kernel.

Signed-off-by: Daniel Wagner <[email protected]>
There is no point in trying to import a key if the TLS option
is not enabled.

Signed-off-by: Daniel Wagner <[email protected]>
@igaw igaw merged commit 2d92c35 into linux-nvme:master Nov 15, 2024
15 checks passed
@igaw igaw deleted the fix-no-keyring branch November 15, 2024 15:19
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.

1 participant