commit | 3653d2336b22d24822d37e07c88edbf06de3c444 | [log] [tgz] |
---|---|---|
author | Eric Caruso <ejcaruso@chromium.org> | Wed Mar 22 20:42:09 2017 |
committer | chrome-bot <chrome-bot@chromium.org> | Wed Apr 26 20:37:04 2017 |
tree | c153c522bee0640f64f76279c15f9b653f9fbe3d | |
parent | f7f138f402f90702ba35c481e6f6a900db59cde7 [diff] |
imageloader: read container key from PEM file This will be stored on the rootfs as a PEM file. We need to read it and then convert it to DER format so the crypto verifier can use it. BUG=chromium:697645 TEST=load a component signed with the container key Change-Id: Ice12072a2406dfe52b294168a37c5ce347a9ff5d Reviewed-on: https://chromium-review.googlesource.com/457803 Commit-Ready: Eric Caruso <ejcaruso@chromium.org> Tested-by: Eric Caruso <ejcaruso@chromium.org> Reviewed-by: Greg Kerr <kerrnel@chromium.org>
This aims to provide a generic utility to verify and load (mount) signed disk images through DBUS IPC.
imageloader
imageloader
handles the mounting of disk images. imageloader
should be executed via the imageloader_wrapper
script, which ensures that imageloader's storage exists and is owned by imageloaderd
user. When imageloader
is not running, DBus will automatically invoke it. After 20 seconds of inactivity, the service exits.