summaryrefslogtreecommitdiffstats
path: root/bin/ykfde
diff options
context:
space:
mode:
Diffstat (limited to 'bin/ykfde')
-rw-r--r--bin/ykfde2
1 files changed, 1 insertions, 1 deletions
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