Question about creating EVM keys

From: Pouneh Aghababazadeh
Date: Wed Nov 20 2019 - 13:54:10 EST


Hi all,

I'm trying to experiment with user keys in EVM per the instructions
here: https://sourceforge.net/p/linux-ima/wiki/Home/#creating-trusted-and-evm-encrypted-keys
(the second block, for systems without TPM/don't have TPM ownership).

However, I'm getting the following error. Can you help me with this?

$ su -c 'keyctl pipe `keyctl search @u user kmk-user` > /etc/keys/kmk-user.blob'
Password:
keyctl_read_alloc: Permission denied

Thanks,
Pouneh