openzfs / openzfs-docs

OpenZFS Documentation
https://openzfs.github.io/openzfs-docs/
135 stars 194 forks source link

Increase Debian ZFS Native Encryption Installation Passphrase Tries #525

Closed denppa closed 1 month ago

denppa commented 2 months ago

If a Debian system was installed using the ZFS native encryption, initramfs upon boot will only allow 2 passphrase attempts before exiting the prompt. Requiring the user to manually import the pools and unlock them again, or a reboot. Is there a way to increase the attempts to be unlimited, so initramfs does not exit the user from the prompt?

gmelikov commented 1 month ago

Not sure that it's capped by X tries https://github.com/openzfs/zfs/blob/master/contrib/initramfs/zfsunlock#L21

IIRC it may be capped with max time for input, but it's the same area to dig - initramfs tools.

I'll close this issue as not a bug, but feel free to add any new info you've found here for future use.

denppa commented 1 month ago

Got it, closing issue for now.