Lines Matching full:slot
75 slot = str(i)
76 if slot in self.passwords:
77 return (self.passwords[slot], slot)
81 (pw, slot) = self.first_password()
87 slot = str(i)
88 if slot in self.passwords:
89 slots.append(slot)
129 def cryptsetup_add_password(config, slot): argument
130 """Add another password to a LUKS key slot"""
136 fh.write(config.passwords[slot])
140 "--key-slot", slot,
152 first key slot only"""
154 (password, slot) = config.first_password()
169 args.extend(["--key-slot", slot])
198 (password, slot) = config.first_password()
348 for slot in config.active_slots()[1:]:
349 iotests.log("# Add password slot %s" % slot)
350 cryptsetup_add_password(config, slot)
489 # Password in slot 3
496 # Passwords in every slot
549 # key slot with 'qemu-img create' in future
550 (pw, slot) = config.first_password()
551 if slot == "0":