luks-keyslot · shipping

LUKS keyslot

A LUKS keyslot is a credential-protected key-management slot used to recover key material for encrypted storage.

Related Observatory article: LUKS keyslot on hesela.com

Changing a passphrase updates its keyslot rather than necessarily changing the key that encrypts stored data. LUKS2 can also contain unbound keyslots, so a slot must not automatically be interpreted as an active data-segment key. [1] [2]

Hesela's cryptsetup 2.7.0 LUKS1/LUKS2 experiment recovered an unchanged volume key after changing the live passphrase. An earlier header backup still accepted the old credential. These are controlled file observations, not a test of active mappings, reencryption or physical sanitization. [3]

A slot is not a unique credential identity. The same passphrase can protect more than one slot. In Hesela's separate 144-check study, changing slot 0 left the old passphrase usable through slot 1; removing slot 1 stopped that live route. The recovered volume key stayed unchanged. [4]

Relations

related
LUKS, LUKS header backup, dm-crypt, Cryptographic erase

Citations

  1. cryptsetup v2.7.0: passphrase replacement (accessed 2026-10-21)
  2. cryptsetup v2.7.0: volume-key recovery and exposure (accessed 2026-10-21)
  3. Hesela: LUKS header lifetime and identity observations (accessed 2026-10-21)
  4. Hesela: duplicate LUKS credentials with explicit-slot controls (accessed 2026-10-21)

JSON: /data/terms/luks-keyslot.json

Published by Hesela team · Updated

Report a correction · Editorial standards · Reuse guidance

Cite this page
Hesela team. LUKS keyslot. Hesela. 2026-10-21. https://hesela.dev/terms/luks-keyslot/