Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
|
|
Added support for the handle spaces to the tpm2.Client.
Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
|
|
Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
|
|
Added tpm2-parse-error script to parse the give error code.
Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
|
|
Clean up all the transient data created in success and failure
conditions. Policy session was never properly flushed and no clean up
happened when a command failed.
Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
|
|
Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
|
|
Removed MIT license from tpm2.py and added a common LICENSE file.
Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
|
|
Use dictionary get() method in error code parsing in order to have
a robust fallback if the error code is not found from the dictionary.
Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
|
|
Moved opening of the Client object to __init__ so that it can be used
with an in-kernel resource manager sessions.
Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
|
|
I tend to run kernel tests in BR initramfs environments with no sudo
installed and it's not too painful to write sudo ./keyctl-smoke.sh if
one wants to use sudo.
Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
|
|
keyctl-smoke.sh has a hardcoded policyhandle value in the keyctl command
to load the blob, instead of using $POLICYHANDLE, and thus, multiple
attempts to run keyctl-smoke.sh will fail.
Reported-by: Jerry Snitselaar <jsnitsel@redhat.com>
Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
|
|
Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
|