commit | af573e51f2abae3da702204c068043a11018e9a4 | [log] [tgz] |
---|---|---|
author | David Howells <dhowells@redhat.com> | Fri Aug 16 16:04:52 2019 +0100 |
committer | David Howells <dhowells@redhat.com> | Mon Aug 19 15:42:10 2019 +0100 |
tree | 8ea0280b4ab1af737e12de0bc406fa432375b202 | |
parent | 9a99f28afbabb48d2164ab7819b3fd981c978d46 [diff] |
keyctl: Allow add, padd and suchlike to take hex-encoded data Allow add, padd, update, pupdate, instantiate, pinstantiate and dh_compute_kdf_oi to take hex-encoded data which is then converted into binary before being passed to the kernel, e.g.: $ keyctl add -x user foo 686578 @s $ echo 686578 | keyctl padd -x user foo @s This makes it easier to stash data in scripts. Signed-off-by: David Howells <dhowells@redhat.com>