luks_kill_slot


Description:

[ Version ( since = "1.5.2" ) ]
public bool luks_kill_slot (string device, string key, int32 keyslot) throws Error

remove a key from a LUKS encrypted device

This command deletes the key in key slot keyslot from the encrypted LUKS device device. key must be one of the *other* keys.

This function depends on the feature "luks". See also feature_available.

Parameters:

this

A GuestfsSession object

Returns:

true on success, false on error