cryptsetup: Difference between luksRemoveKey and luksremovekey
luksKillSlot: wipe key with number <key slot> from LUKS device. A remaining passphrase or key file (via --key-file) must be supplied.
luksremovekey: remove supplied key or key file from LUKS device
The only difference I see here is that the first command requires that at least one keyslot is kept intact. I assume that this is not the reason for having two commands for the same action. Thus there is probably a difference in what goes on "behind the curtain," so to speak. From reading the documentation and the man page, I was unable to figure it out.
Thanks!
About this post
- Posted
- Archived
- Score
- 2 · 100% up
- Kind
- Text
- ID
- 2ohn27
2 comments
the difference is in how the key is selected: the first removes by number the second by example
Ah yes. How silly of me to overlook this. Since one command has 'key' in its name and the other 'slot,' I thought it has to do with that - but it did not occur to me that I either supply the slot or the key itself and that is the explanation. Thanks!