opensc: add pkcs11 caveats (#48487)

This commit is contained in:
Liam Dawson 2020-01-09 00:37:36 +11:00 committed by Alexander Bayandin
parent fc56f8f72a
commit b66cf05707

View file

@ -33,6 +33,13 @@ class Opensc < Formula
system "make", "install"
end
def caveats; <<~EOS
The OpenSSH PKCS11 smartcard integration will not work from High Sierra
onwards. If you need this functionality, unlink this formula, then install
the OpenSC cask.
EOS
end
test do
assert_match version.to_s, shell_output("#{bin}/opensc-tool -i")
end