From 18006e4e31e0751e77d92e5780533d2ed070592f Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Tue, 1 Oct 2013 14:31:52 +0200 Subject: remove newline from response, answer password agent --- bin/ykfde | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/ykfde') diff --git a/bin/ykfde b/bin/ykfde index 7d43b1b..d952e51 100644 --- a/bin/ykfde +++ b/bin/ykfde @@ -75,7 +75,7 @@ else fi # generate response and add key to LUKS device -if ! ykchalresp -${SLOT} "${PASS}$(cat ${TMPDIR}/ykfde-challenge)" > "${TMPDIR}/ykfde-response"; then +if ! ykchalresp -${SLOT} "${PASS}$(cat ${TMPDIR}/ykfde-challenge)" | tr -d '\n' > "${TMPDIR}/ykfde-response"; then # ykchalresp should have shouted, so do not complain here exit 1 fi -- cgit v1.2.3-70-g09d2