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:
  Installed: 2:2.0.4-2ubuntu2
  Candidate: 2:2.0.4-2ubuntu2

** Affects: cryptsetup (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1814945

Title:
  decrypt_opensc redirects stderr to stdout

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cryptsetup/+bug/1814945/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to