diff --git a/README.md b/README.md index 7897498..009e579 100644 --- a/README.md +++ b/README.md @@ -31,11 +31,15 @@ $ systemctl --user enable --now yubikey-touch-detector.socket Alternatively you can download the latest release from the [GitHub releases](https://github.com/maximbaz/yubikey-touch-detector/releases) page. All releases are signed with [my PGP key](https://keybase.io/maximbaz). Finally you can install the app with `go`: + - For Go <1.17 + ``` $ go get -u github.com/maximbaz/yubikey-touch-detector ``` + - For [Go >1.17](https://go.dev/doc/go-get-install-deprecation): + ``` $ go install github.com/maximbaz/yubikey-touch-detector@latest ``` @@ -121,6 +125,11 @@ In order to not run the `gpg --card-status` indefinitely (which leads to YubiKey > If the path to your `pubring.kbx` file differs, define `$GNUPGHOME` environment variable, globally or in `$XDG_CONFIG_HOME/yubikey-touch-detector/service.conf`. +Since v1.11.0 we started using `gpgme` to perform some operations above: + +- we are now using Assuan protocol to query card status, instead of spawning `gpg --card-status` processes. +- we are now querying path to `pubring.kbx` from `gpgme`. + ### Detecting ssh operations The requests performed on a local host will be captured by the `gpg` detector. However, in order to detect the use of forwarded `ssh-agent` on a remote host, an additional detector was introduced.