Documentation ¶
Overview ¶
Package diskencryption handles interaction with a node's state disk.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DiskEncryption ¶ added in v2.10.0
type DiskEncryption struct {
// contains filtered or unexported fields
}
DiskEncryption manages the encrypted state mapper device.
func (*DiskEncryption) Open ¶ added in v2.10.0
func (c *DiskEncryption) Open() (free func(), err error)
Open opens the cryptdevice.
func (*DiskEncryption) UUID ¶ added in v2.10.0
func (c *DiskEncryption) UUID() (string, error)
UUID gets the device's UUID. Only works after calling Open().
func (*DiskEncryption) UpdatePassphrase ¶ added in v2.10.0
func (c *DiskEncryption) UpdatePassphrase(passphrase string) error
UpdatePassphrase switches the initial random passphrase of the mapped crypt device to a permanent passphrase. Only works after calling Open().
Click to show internal directories.
Click to hide internal directories.