https://bugzilla.novell.com/show_bug.cgi?id=738546
https://bugzilla.novell.com/show_bug.cgi?id=738546#c3
Yarny Yarny
this is a pretty old bug. Really? Empty keyfiles work well with openSUSE 11.4 (cryptsetup 1.2.0-6.9.1), so I considered this a regression.
Do you have a use case for it Yes, this bug broke my openSUSE setup script when I tried to move to 12.1. That script creates some luks partitions and initializes them with an empty password. To this end creates an empty keyfile. Of course the workaround is simple: I now use a single space (" ") as initial password, but just hitting enter while booting was quite comfortable with 11.4. Also I have other scripts that call cryptsetup with on-the-fly-created keyfiles, and I also will have to modify these to catch empty passwords.
Yarny P.S.: There's a typo in my patch: Missing brackets. The line should read + else if ((size_t)st.size) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.