FS#21936 - [mkinitcpio] Addition to initcpio encrypt hook

Attached to Project: Arch Linux
Opened by Mark (voidzero) - Tuesday, 30 November 2010, 16:44 GMT
Last edited by Dave Reisner (falconindy) - Saturday, 04 August 2012, 13:31 GMT
Task Type Feature Request
Category Packages: Core
Status Closed
Assigned To Dave Reisner (falconindy)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Right now, the encrypt initcpio hook immediately reverts to a passphrase if the cryptdevice cannot be found. I'd like it to show a prompt: (R)etry or (P)assphrase.
This task depends upon

Closed by  Dave Reisner (falconindy)
Saturday, 04 August 2012, 13:31 GMT
Reason for closing:  Won't implement
Additional comments about closing:  Rebooting isn't really a big deal at this point. Make sure your disks are in order when you're booting.
Comment by Dave Reisner (falconindy) - Sunday, 03 June 2012, 17:52 GMT
I'm assuming that you mean cryptkey, not cryptdevice, as the latter doesn't make any sense.
Comment by Dave Reisner (falconindy) - Sunday, 03 June 2012, 18:21 GMT
Attached hook is a bit of a refactor which includes this feature. Feedback welcome.
   encrypt (5.7 KiB)
Comment by Mark (voidzero) - Sunday, 03 June 2012, 19:00 GMT
Hi, thanks for this, I'll try the hook you wrote. I did mean cryptdevice - say I have a key on a pendrive but forget to insert it. I only have 10 seconds, else I have to reboot.
Comment by Dave Reisner (falconindy) - Sunday, 03 June 2012, 19:02 GMT
I'm far less inclined to support that.
Comment by Mark (voidzero) - Sunday, 03 June 2012, 20:07 GMT
Ah, sorry. With "this" I meant the current situation, not your patch.
Your patch handles it better thanks to this trigger:
read -n 1 -p "(R)etry cryptkey device, or revert to (P)assphrase? "

So thanks, will test it tomorrow and check back with the results.
Comment by Dave Reisner (falconindy) - Sunday, 10 June 2012, 14:27 GMT
Any word on this?

Loading...