Red Hat Bugzilla – Bug 598523
luksOpen mishandles newline for keyfile input on stdin
Last modified: 2013-02-28 23:09:05 EST
Description of problem:
There is a regression (introduced in 1.1.1 version) in handling
key files containing new line characters (affects only files read from
Fixed upstream in cryptsetup 1.1.2.
Bug is in cryptsetup-luks-1.1.1-1.el6
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux major release. Product Management has requested further
review of this request by Red Hat Engineering, for potential inclusion in a Red
Hat Enterprise Linux Major release. This request is not yet committed for
Fixed in cryptsetup-luks-1.1.2-1.el6.
What is purpose of this fix please? I've tried several methods of key input and observed same behaviour on cryptsetup-luks-1.1.1-1.el6 and cryptsetup-luks-1.1.2-1.el6
this part of internal upstream test should cover the problem
prepare " format/open - passphrase on stdin & new line"
Thanks, I was able to reproduce and verify the fix with this test.
Verified on RHEL6.0-20100707.4 x86_64 Sever with cryptsetup-luks-1.1.2-1.el6
Red Hat Enterprise Linux 6.0 is now available and should resolve
the problem described in this bug report. This report is therefore being closed
with a resolution of CURRENTRELEASE. You may reopen this bug report if the
solution does not work for you.