<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - systemd-cryptsetup does not allow a hash type of "plain""
href="https://bugs.freedesktop.org/show_bug.cgi?id=56593#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - systemd-cryptsetup does not allow a hash type of "plain""
href="https://bugs.freedesktop.org/show_bug.cgi?id=56593">bug 56593</a>
from <span class="vcard"><a class="email" href="mailto:d@falconindy.com" title="Dave Reisner <d@falconindy.com>"> <span class="fn">Dave Reisner</span></a>
</span></b>
<pre>Works for me:
# dd if=/dev/urandom of=/mykey bs=256 count=1
# cryptsetup create --key-file=/mykey -s 256 --cipher=aes-cbc-essiv:sha256
--hash=plain home /dev/vdd
# echo 'home /dev/vdd /mykey
hash=plain,cipher=aes-cbc-essiv:sha256,size=256' >>/etc/crypttab
# systemctl daemon-reload
# systemctl start <a href="mailto:systemd-cryptsetup@home.service">systemd-cryptsetup@home.service</a>
# systemctl status <a href="mailto:systemd-cryptsetup@home.service">systemd-cryptsetup@home.service</a>
<a href="mailto:systemd-cryptsetup@home.service">systemd-cryptsetup@home.service</a> - Cryptography Setup for home
Loaded: loaded (/etc/crypttab)
Active: active (exited) since Tue, 2012-11-06 00:22:35 EST; 3s ago
Docs: man:systemd-cryptsetup@.service(8)
man:crypttab(5)
Process: 938 ExecStart=/usr/lib/systemd/systemd-cryptsetup attach home
/dev/vdd /mykey hash=plain,cipher=aes-cbc-essiv:sha256,size=256 (code=exited,
status=0/SUCCESS)
CGroup: name=systemd:/system/systemd-cryptsetup@.service/home
Nov 06 00:22:35 beatbox systemd[1]: Starting Cryptography Setup for home...
Nov 06 00:22:35 beatbox systemd[1]: Started Cryptography Setup for home.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>