[pkg-cryptsetup-devel] Bug#880750: opensc hook scripts and README are outdated

martijn at vandestreek.net martijn at vandestreek.net
Sat Nov 4 18:26:00 UTC 2017


Package: cryptsetup
Version: 2:1.7.3-4
Severity: normal
Tags: patch

I recently tried to use an RSA key on my Yubikey to unlock my root
partition, using pcscd/opensc.

Following the instructions in README.opensc led me to a long wait, as
the "smartcard" (which the key presents itself as) was never detected,
because multiple libraries were not copied into the initramfs.

After copying these files in manually, the pcsc daemon did not start,
because the script pointed at the wrong location (/sbin instead of
/usr/sbin).

I've attached 2 patches, based on current git
(https://anonscm.debian.org/git/pkg-cryptsetup/cryptsetup.git) that
contain my fixes to the initramfs scripts and the README.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-missing-libraries-for-pcscd-to-hook-script.patch
Type: text/x-diff
Size: 2104 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-cryptsetup-devel/attachments/20171104/a2a14081/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Use-PKCS-1-in-opensc-README-remove-obsolete-parts.patch
Type: text/x-diff
Size: 4548 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-cryptsetup-devel/attachments/20171104/a2a14081/attachment-0001.patch>


More information about the pkg-cryptsetup-devel mailing list