You are not logged in.

#1 2021-11-26 21:57:34

Dying_Watchdogs
Member
Registered: 2021-11-22
Posts: 39

LUKS encryption: how can I increase the No. of password attempts?

Hello,

It seems I got bad motion control, because I mistype my password a lot, e.g. accidentally hitting two keys at the same time. I don't always notice it, and grub decided that one attempt is enough and it's going into rescue mode if I fail that. It would be nice if I had maybe three attempts before it does that. Is there a way to amend this? I looked into grub configs, but I think I missed the right ones.

TIA

Offline

#2 2021-11-26 22:13:52

loqs
Member
Registered: 2014-03-06
Posts: 18,991

Re: LUKS encryption: how can I increase the No. of password attempts?

Offline

#3 2021-11-26 22:20:24

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,200

Re: LUKS encryption: how can I increase the No. of password attempts?

https://man.archlinux.org/man/core/syst … pttab.5.en - look for "tries"
/etc/crypttab.initramfs is only supported by the sd-encrypt hook.

Edit: though the crypttab default is 3 failures, so not sure whether that's even relevant w/ grub's issue if it fails after one error…

Last edited by seth (2021-11-26 22:24:09)

Offline

#4 2021-11-26 22:26:46

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: LUKS encryption: how can I increase the No. of password attempts?

I'm guessing that the OP is talking about GRUB's built in encryption, not the standard LUKS initramfs hooks?


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#5 2021-11-27 00:06:40

Dying_Watchdogs
Member
Registered: 2021-11-22
Posts: 39

Re: LUKS encryption: how can I increase the No. of password attempts?

Slithery wrote:

I'm guessing that the OP is talking about GRUB's built in encryption, not the standard LUKS initramfs hooks?

To be honest, I'm not sure, but I guess you're correct; the decrypt prompt is the first thing I see after the Motherboard screen.

Yup, that's exactly it.

I mean, I can live with it, it's just annoying sometimes.

Last edited by Dying_Watchdogs (2021-11-27 00:08:11)

Offline

Board footer

Powered by FluxBB