-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fail adding keylime agent when tenant use --payload and --key options #457
Comments
@Koncpa Could you please check if this is still valid? |
Hi @ansasaki, I checked it again after IMA policy overhaul merge and I can confirm, that this issue is still valid for upstream rust keylime.
|
This looks like an issue on the tenant that is not correctly encoding the payload as base64. |
When is adding keylime agent with with payload and key via tenant command, the adding of agent had failed. For python agent is operation succesfull.
PR keylime tests
LOG:
2022-09-21 11:55:27.310 - keylime.tenant - ERROR - Posting of Encrypted U to the Cloud Agent failed with response code 500 (base64 decode error: Invalid byte 10, offset 64.) :: [ 11:55:27 ] :: [ FAIL ] :: Command 'keylime_tenant -v 127.0.0.1 -t 127.0.0.1 -u d432fbb3-d2f1-4a97-9ef7-75bd81c00000 --allowlist allowlist.txt --exclude excludelist.txt --payload payload/secret_encrypted.txt --key payload/key.txt -c update' (Expected 0, got 1)
MORE LOGS
The text was updated successfully, but these errors were encountered: