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

Implement persistent keys #2252

Merged
merged 3 commits into from
Apr 2, 2024
Merged

Conversation

hreinecke
Copy link
Collaborator

Add a new utility 'tls-key' to import or export keys to or from the kernel keystore.

return err;

if (cfg.keyfile) {
fd = fopen(cfg.keyfile, "r");
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For export, shouldn't this file be opened with in write mode?

@igaw
Copy link
Collaborator

igaw commented Mar 19, 2024

Looks good to me. Let's wait a bit and see if there are some more comments coming in.

As we now have library functions for importing and exporting TLS
keys we should be using them.

Signed-off-by: Hannes Reinecke <[email protected]>
To include missing symbol nvme_scan_tls_keys.

Signed-off-by: Hannes Reinecke <[email protected]>
Add a new function 'tls_key' to import and export keys from the
keyring.

Signed-off-by: Hannes Reinecke <[email protected]>
@igaw igaw force-pushed the persistent-keys branch from 893f1c4 to 1063677 Compare April 2, 2024 13:53
@igaw igaw merged commit 1f5224b into linux-nvme:master Apr 2, 2024
15 of 16 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