-
Notifications
You must be signed in to change notification settings - Fork 655
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
nvme: add support to revoke TLS key #2387
Commits on Jul 5, 2024
-
Fetch nvme_revoke_tls_key. Signed-off-by: Daniel Wagner <dwagner@suse.de>
Configuration menu - View commit details
-
Copy full SHA for 0ad8a1a - Browse repository at this point
Copy the full SHA 0ad8a1aView commit details -
nvme: use stdout for exporting TLS keys
The export command should use stdout as default output as documentation claims. Furthermore, it should open the keyfile to write in write mode. Signed-off-by: Daniel Wagner <dwagner@suse.de>
Configuration menu - View commit details
-
Copy full SHA for f0ce6a0 - Browse repository at this point
Copy the full SHA f0ce6a0View commit details -
nvme: strip newline when parsing TLS key files
When exporting a TLS keys from the kernel keyring a line might have a newline. Strip the newline away as the nvme_import_tls_key is not expecting it and thus fails to load an exported keyfile. Signed-off-by: Daniel Wagner <dwagner@suse.de>
Configuration menu - View commit details
-
Copy full SHA for a5673bb - Browse repository at this point
Copy the full SHA a5673bbView commit details -
nvme: use cleanup helper for STREAM objects
The tls_key function is using a STREAM object and closes it when leaving the context. Update it to use the helper. Signed-off-by: Daniel Wagner <dwagner@suse.de>
Configuration menu - View commit details
-
Copy full SHA for a5fbeda - Browse repository at this point
Copy the full SHA a5fbedaView commit details -
fabrics: use cleanup helper for STREAM objects
discover_from_conf_file uses a STREAM. Let's use the cleanup helper to close it. Signed-off-by: Daniel Wagner <dwagner@suse.de>
Configuration menu - View commit details
-
Copy full SHA for efca565 - Browse repository at this point
Copy the full SHA efca565View commit details -
nvme-rpmb: use cleanup helper for STREAM objects
write_file uses a STREAM. Let's use the cleanup helper to close it. Signed-off-by: Daniel Wagner <dwagner@suse.de>
Configuration menu - View commit details
-
Copy full SHA for a4b1764 - Browse repository at this point
Copy the full SHA a4b1764View commit details -
nvme: use cleanup helper to close file descriptor
io_mgmt_send uses a file descriptor. Let's use the cleanup helper to close it. Signed-off-by: Daniel Wagner <dwagner@suse.de>
Configuration menu - View commit details
-
Copy full SHA for 32308ce - Browse repository at this point
Copy the full SHA 32308ceView commit details -
nvme: factor out import key function
Split the command line option handling code from the operation. Signed-off-by: Daniel Wagner <dwagner@suse.de>
Configuration menu - View commit details
-
Copy full SHA for 015ad41 - Browse repository at this point
Copy the full SHA 015ad41View commit details
Commits on Jul 9, 2024
-
nvme: return error code/message for TLS commands
Propagate error codes for TLS commands. Also print an error message when scanning TLS keys. Signed-off-by: Daniel Wagner <dwagner@suse.de>
Configuration menu - View commit details
-
Copy full SHA for 6b01d08 - Browse repository at this point
Copy the full SHA 6b01d08View commit details -
nvme: add support to revoke TLS key
Add support to nvme-cli to revoke TLS keys from a keyring. Signed-off-by: Daniel Wagner <dwagner@suse.de>
Configuration menu - View commit details
-
Copy full SHA for fcdd203 - Browse repository at this point
Copy the full SHA fcdd203View commit details -
build: sort documentation files entries
Sort the file names alphabetically. Signed-off-by: Daniel Wagner <dwagner@suse.de>
Configuration menu - View commit details
-
Copy full SHA for 93c5d13 - Browse repository at this point
Copy the full SHA 93c5d13View commit details -
doc: fix tls-key --keyfile shorthand
The shorthand for --keyfile is -f and not -k. Signed-off-by: Daniel Wagner <dwagner@suse.de>
Configuration menu - View commit details
-
Copy full SHA for bdc7792 - Browse repository at this point
Copy the full SHA bdc7792View commit details -
doc: add tls-key --revoke documentation
Add the --revoke option to the tls-key documentation. While at it, add examples how to use it. Signed-off-by: Daniel Wagner <dwagner@suse.de>
Configuration menu - View commit details
-
Copy full SHA for 98f7952 - Browse repository at this point
Copy the full SHA 98f7952View commit details -
completion: add support for tls-key
The tls-key command is missing support for the zsh and bash completion. Signed-off-by: Daniel Wagner <dwagner@suse.de>
Configuration menu - View commit details
-
Copy full SHA for 01857f5 - Browse repository at this point
Copy the full SHA 01857f5View commit details