IMA/EVM support utilities
The IMA policy file is required for the setup but it was not being checked if the user passed it before checking if the policy file existed, thus an empty argument would fail with a weird " doesn't exist" message. This commit adds the check for the argument presence at the beginning of the script, guaranteeing it cannot be empty, and remove the policy file existence from the middle of runtime, leaving the check already in place at the argument parsing logic. At the same time, reword parts of the usage message to make things clearer. Signed-off-by: Bruno Meneguele <bmeneg@redhat.com> |
||
|---|---|---|
| tests | ||
| .gitignore | ||
| centosimarelease-10.der | ||
| dracut-98-integrity.conf | ||
| gating.yaml | ||
| ima-add-sigs.sh | ||
| ima-evm-utils.spec | ||
| ima-setup.sh | ||
| policy_list | ||
| policy-01-appraise-executable-and-lib-signatures | ||
| policy-02-keylime-remote-attestation | ||
| redhatimarelease-10.der | ||
| sources | ||