Added proper support for delayed TPM SRK availability.
If a TPM has not been owned it does not have an SRK and cannot be used
by Chaps. If chapsd starts before TPM ownership occurs it will now wait
and finish initialization tasks until after the TPM is owned. Until the
TPM is owned all LoadToken calls will fail.
If no TPM is available on the system, chapsd will warn and continue to
serve dbus calls but fail any attempts to load a token.
Reviewed-by: Darren Krahn <firstname.lastname@example.org>
Tested-by: Darren Krahn <email@example.com>
Commit-Queue: Darren Krahn <firstname.lastname@example.org>
8 files changed