[Bug 1814945] [NEW] decrypt_opensc redirects stderr to stdout

2019-02-06 Thread Avis Volans
Public bug reported: decrypt_opensc redirects stderr to stdout when calling /usr/bin/opensc- tool. This will break scripts that rely on decrypt_opensc to print nothing but the decrypted key to stdout. if /usr/bin/opensc-tool -n 2>&1; then cardfound=1 fi Ubuntu 18.10 cryptsetup-run:

[Bug 1814942] [NEW] cryptopensc hook doesn't copy required library

2019-02-06 Thread Avis Volans
Public bug reported: The hook cryptopensc in /usr/share/initramfs-tools/hooks tries to copy libpcsclite.so.1 into the initrd. However, it searches in /lib/x86_64 -linux-gnu while the file is in /usr/lib/x86_64-linux-gnu. As a result, opensc-tool and pkcs15-crypt do not work. Ubuntu 18.10