Fix grammar mistake in passage about polkit rules

pull/462/head
XTY 2024-10-17 07:58:34 +08:00
parent e218607c1f
commit 1c24f9c443
No known key found for this signature in database
GPG Key ID: 44684E1A541E0F95
1 changed files with 1 additions and 1 deletions

View File

@ -2119,7 +2119,7 @@ gpg: [stdin]: encryption failed: Unusable public key
- If the _pinentry_ graphical dialog does not show and this error appears: `sign_and_send_pubkey: signing failed: agent refused operation`, install the `dbus-user-session` package and restart for the `dbus` user session to be fully inherited. This is because `pinentry` complains about `No $DBUS_SESSION_BUS_ADDRESS found`, falls back to `curses` but doesn't find the expected `tty`
- If, when you try the above `--card-status` command, you get receive the error, `gpg: selecting card failed: No such device` or `gpg: OpenPGP card not available: No such device`, it's possible that the latest release of pcscd is now requires polkit rules to operate properly. Create the following file to allow users in the `wheel` group to use the card. Be sure to restart pcscd when you're done to allow the new rules to take effect.
- If, when you try the above `--card-status` command, you get receive the error, `gpg: selecting card failed: No such device` or `gpg: OpenPGP card not available: No such device`, it's possible that the latest release of pcscd now requires polkit rules to operate properly. Create the following file to allow users in the `wheel` group to use the card. Be sure to restart pcscd when you're done to allow the new rules to take effect.
```console
cat << EOF > /etc/polkit-1/rules.d/99-pcscd.rules