commit | 14aee774bdbbc978c064906a4368d213c3b507fd | [log] [tgz] |
---|---|---|
author | John Edward Broadbent <jebr@google.com> | Wed Apr 20 13:46:48 2022 -0700 |
committer | John Broadbent <jebr@google.com> | Wed Jun 08 17:54:55 2022 +0000 |
tree | 7d5c604ae4969e6a8ac5a0f396571a707400cb7e | |
parent | f78215fd896ac2d7e3d3e9c6f739bf25da93c921 [diff] |
Add Lock property to drives interface This change adds the locked property, which is driven the same way the volumes lock property is driven. Tested: busctl introspect xyz.openbmc_project.eStoraged /xyz/openbmc_project/inventory/storage/mmcblk0 .Locked property b false emits-change busctl call xyz.openbmc_project.eStoraged /xyz/openbmc_project/inventory/storage/mmcblk0 xyz.openbmc_project.Inventory.Item.Volume Lock .Locked property b true emits-change Signed-off-by: John Edward Broadbent <jebr@google.com> Change-Id: I750def0fd02cdfc36c060d162ef70fed34fa46c8
This daemon serves as an abstraction for an encrypted storage device, encapsulating the security functionality and providing a D-Bus interface to manage the encrypted filesystem on the device. Using the D-Bus interface, other software components can interact with eStoraged to do things like create a new encrypted filesystem, wipe its contents, lock/unlock the device, or change the password.