Allow linking VK to a user-specified keyring.

Add a new API crypt_set_keyring_to_link nad CLI option
--link-vk-to-keyring. This allows the user to specify ID of the keyring
where the VK should be linked.
This commit is contained in:
Daniel Zatovic
2023-03-10 11:19:33 +01:00
parent 1b25cc5ed7
commit 138da3e73a
9 changed files with 83 additions and 0 deletions

View File

@@ -51,5 +51,6 @@ int keyring_add_key_in_user_keyring(
size_t key_size);
int keyring_revoke_and_unlink_key(key_type_t ktype, const char *key_desc);
int keyring_link_key_to_keyring(key_type_t ktype, const char *key_desc, int keyring_to_link);
#endif