mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
zkey: Add KMS support for 'zkey generate' command
When a repository that is bound to a key management system, the keys are generated by the key management system by default. To generate a local key, add option '--local'. Signed-off-by: Ingo Franzki <ifranzki@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
committed by
Jan Höppner
parent
35dd59d04c
commit
bb6a47db55
@@ -56,6 +56,13 @@ int keystore_generate_key(struct keystore *keystore, const char *name,
|
||||
const char *clear_key_file, const char *volume_type,
|
||||
const char *key_type, int pkey_fd);
|
||||
|
||||
int keystore_generate_key_kms(struct keystore *keystore, const char *name,
|
||||
const char *description, const char *volumes,
|
||||
size_t sector_size, size_t keybits, bool xts,
|
||||
const char *volume_type, const char *key_type,
|
||||
struct kms_option *kms_options,
|
||||
size_t num_kms_options);
|
||||
|
||||
int keystore_import_key(struct keystore *keystore, const char *name,
|
||||
const char *description, const char *volumes,
|
||||
const char *apqns, bool noapqncheck, size_t sector_size,
|
||||
|
||||
Reference in New Issue
Block a user