Add MountPublic/AsyncMountPublic call.
MountPublic/AsyncMountPublic mount cryptohome for a public session that has
no password, e.g. an kiosk app. The cryptohome is protected by a passkey that
is generated using a random, root-access-only and secure salt stored in
/var/lib/public_mount_salt and the public session id.
BUG=chromium:243099
TEST=manual, cryptohome --action=mount_public --user=public_mount_id
Change-Id: I848d4eb8c095d1ae14132615b87cfbdc048d4807
Reviewed-on: https://gerrit.chromium.org/gerrit/61585
Reviewed-by: Elly Jones <ellyjones@chromium.org>
Commit-Queue: Xiyuan Xia <xiyuan@chromium.org>
Tested-by: Xiyuan Xia <xiyuan@chromium.org>
8 files changed