Cryptomount LUKS allow multiple unlock attempts cryptomount_luks_v5
authorTJ <grub-devel@iam.tj>
Thu, 22 Mar 2018 13:52:43 +0000 (13:52 +0000)
committerTJ <grub-devel@iam.tj>
Thu, 22 Mar 2018 13:52:43 +0000 (13:52 +0000)
commit2f82f8a89f7c68f12a39e4daa8ea640f83ce527d
tree1b8791f4f6ea73b8a0e413f42f68845461c5cc6a
parente8599f20e48c8607de23961c0e61b298c7744dea
Cryptomount LUKS allow multiple unlock attempts

Wrap luks_recover_key() in a loop to allow multiple attempts at
unlocking. Use a preprocessor-set limit to allow for setting the number
of attempts via a build-time option in the future.
grub-core/disk/luks.c