Re: [PATCH ima-evm-utils v4] evmctl: Use secure heap for private keys and passwords

From
Mimi Zohar <zohar@linux.ibm.com>
Date
2021-09-10 19:04:11
Reply to
Mimi Zohar, 2021-09-10
Hi Vitaly, Stefan,

On Fri, 2021-09-10 at 10:55 -0400, Mimi Zohar wrote:
What was the conclusion in terms of reading the password stored in the
environment variable?
If this is an issue, perhaps call the equivalent of optarg_password()
to store the environment variable in secure heap memory.

Something like:
	imaevm_params.keypass =
optarg_password(getenv("EVMCTL_KEY_PASSWORD"));

optarg_password() would then become a wrapper around the new function.

thanks,

Mimi
Thread (9 messages) 9 messages, 3 authors, last reply 2021-09-13
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help