mirror of
https://github.com/ansible-collections/community.crypto.git
synced 2026-05-07 05:43:06 +00:00
luks_device: fix remove_keyslot not working when set to 0 and duplicate keys (#710)
* luks_device: fix remove_keyslot not working when set to 0 * luks_device: fix module outputting 'ok' when trying to add a key that is already present in another keyslot * luks_device: fix breaking unit tests * luks_device: Duplicate key test case code cleanup * luks_device: Fix testing of LUKS passphrases when only testing one key slot * luks_device: Fix testing of LUKS passphrases when only testing one key slot * luks_device: Add changelog fragment for PR #710 * luks_device: Update changlog fragment
This commit is contained in:
@@ -275,6 +275,7 @@ def test_luks_add_key(device, keyfile, passphrase, new_keyfile, new_passphrase,
|
||||
module.params["passphrase"] = passphrase
|
||||
module.params["new_keyfile"] = new_keyfile
|
||||
module.params["new_passphrase"] = new_passphrase
|
||||
module.params["new_keyslot"] = None
|
||||
module.params["state"] = state
|
||||
module.params["label"] = label
|
||||
|
||||
|
||||
Reference in New Issue
Block a user