[systemd-bugs] [Bug 56593] systemd-cryptsetup does not allow a hash type of "plain"

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Nov 5 21:35:28 PST 2012


https://bugs.freedesktop.org/show_bug.cgi?id=56593

--- Comment #2 from Dave Reisner <d at falconindy.com> ---
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 systemd-cryptsetup at home.service
# systemctl status systemd-cryptsetup at home.service
systemd-cryptsetup at home.service - 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 at .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 at .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.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-bugs/attachments/20121106/2019328d/attachment.html>


More information about the systemd-bugs mailing list