Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cryptsetup ¶
type Cryptsetup struct {
// contains filtered or unexported fields
}
Cryptsetup manages the encrypted state mapper device.
func (*Cryptsetup) UUID ¶
func (c *Cryptsetup) UUID() (string, error)
UUID gets the device's UUID. Only works after calling Open().
func (*Cryptsetup) UpdatePassphrase ¶
func (c *Cryptsetup) 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.