diff --git a/pynitrokey/cli/nk3/pcsc_absent.py b/pynitrokey/cli/nk3/pcsc_absent.py index 480b8b04..c67d7b9b 100644 --- a/pynitrokey/cli/nk3/pcsc_absent.py +++ b/pynitrokey/cli/nk3/pcsc_absent.py @@ -1 +1 @@ -PCSC_ABSENT = "pyscard is not available, please consult https://docs.nitrokey.com/nitrokey3/linux/troubleshooting#pcsc-unavailable for more information" +PCSC_ABSENT = "This command requires the pyscard library that is not available on your system. Please consult https://docs.nitrokey.com/nitrokey3/linux/troubleshooting#pyscard-is-not-available for more information" diff --git a/pynitrokey/cli/nk3/piv.py b/pynitrokey/cli/nk3/piv.py index 85a36d74..18a7efc2 100644 --- a/pynitrokey/cli/nk3/piv.py +++ b/pynitrokey/cli/nk3/piv.py @@ -744,4 +744,4 @@ def read_certificate(format: str, key: str, path: str) -> None: @click.argument("args", nargs=-1, type=click.UNPROCESSED) def piv(args: list[str]) -> None: """Nitrokey PIV App""" - local_critical(PCSC_ABSENT) + local_critical(PCSC_ABSENT, support_hint=False)