Skip to content

Commit

Permalink
Fix mistake in crypt_set_keyring_to_link documentation.
Browse files Browse the repository at this point in the history
The keyring_to_link_vk parameter must be prefixed by
either "%:" or "%keyring:" substrings provided caller
opted for text description of the target keyring.
  • Loading branch information
oniko committed Feb 13, 2024
1 parent fdac0d7 commit f681194
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/libcryptsetup.h
Original file line number Diff line number Diff line change
Expand Up @@ -3135,7 +3135,7 @@ void crypt_safe_memzero(void *data, size_t size);
*
* @note keyring_to_link_vk may be passed in various string formats:
* It can be kernel key numeric id of existing keyring written as a string,
* keyring name prefixed optionally be either "%:" or "%keyring:" substrings or keyctl
* keyring name prefixed by either "%:" or "%keyring:" substrings or keyctl
* special values for keyrings "@t", "@p", "@s" and so on. See keyctl(1) man page,
* section KEY IDENTIFIERS for more information. All other prefixes starting "%<type>:"
* are ignored.
Expand Down

0 comments on commit f681194

Please sign in to comment.