mirror of
https://github.com/drduh/YubiKey-Guide.git
synced 2025-04-11 15:46:08 +00:00
Merge 9ff60ea8c5
into 466649f728
This commit is contained in:
commit
f63c1c1aed
31
README.md
31
README.md
@ -194,6 +194,16 @@ brew install \
|
||||
|
||||
**Note** An additional Python package dependency may need to be installed to use [`ykman`](https://support.yubico.com/support/solutions/articles/15000012643-yubikey-manager-cli-ykman-user-guide) - `pip install yubikey-manager`
|
||||
|
||||
Or
|
||||
|
||||
Install [MacPorts](https://www.macports.org/install.php) and the following packages:
|
||||
|
||||
```console
|
||||
sudo port install gnupg2 yubikey-manager pinentry wget
|
||||
```
|
||||
|
||||
**Optional** [Yubikey Manager - Qt](https://www.yubico.com/support/download/yubikey-manager/) which is the supported version of the Yubikey Personalization.
|
||||
|
||||
**NixOS**
|
||||
|
||||
Build an air-gapped NixOS LiveCD image:
|
||||
@ -243,7 +253,7 @@ qemu-system-x86_64 \
|
||||
**Arch**
|
||||
|
||||
```console
|
||||
sudo pacman -Syu gnupg pcsclite ccid yubikey-personalization
|
||||
sudo pacman -Syu --needed gnupg pcsclite ccid yubikey-personalization
|
||||
```
|
||||
|
||||
**RHEL7**
|
||||
@ -960,6 +970,19 @@ sudo apt update
|
||||
sudo apt install -y gnupg gnupg-agent scdaemon pcscd
|
||||
```
|
||||
|
||||
**Arch**
|
||||
|
||||
```console
|
||||
sudo pacman -S --needed gnupg pcsc-tools
|
||||
sudo systemctl enable --now pcscd.service
|
||||
```
|
||||
|
||||
**macOS**
|
||||
|
||||
```console
|
||||
sudo port install gnupg2 pcsc-tools
|
||||
```
|
||||
|
||||
**OpenBSD**
|
||||
|
||||
```console
|
||||
@ -1002,6 +1025,8 @@ gpg --recv $KEYID
|
||||
|
||||
Or with the URL on YubiKey, retrieve the public key:
|
||||
|
||||
using the command `gpg-card`
|
||||
|
||||
```console
|
||||
gpg/card> fetch
|
||||
|
||||
@ -1207,10 +1232,10 @@ wget https://raw.githubusercontent.com/drduh/config/main/gpg-agent.conf
|
||||
|
||||
**macOS**
|
||||
|
||||
Install pinentry with `brew install pinentry-mac` then edit `gpg-agent.conf` to set the `pinentry-program` path to:
|
||||
Install pinentry with `brew install pinentry-mac` or `sudo port install pinentry` then edit `gpg-agent.conf` to set the `pinentry-program` path to:
|
||||
|
||||
* Apple Silicon Macs: `/opt/homebrew/bin/pinentry-mac`
|
||||
* Intel Macs: `/usr/local/bin/pinentry-mac`
|
||||
* Intel Macs: `/usr/local/bin/pinentry-mac` or `/opt/local/bin/pinentry` (MacPorts)
|
||||
* MacGPG Suite: `/usr/local/MacGPG2/libexec/pinentry-mac.app/Contents/MacOS/pinentry-mac`
|
||||
|
||||
Then run `gpgconf --kill gpg-agent` for the change to take effect.
|
||||
|
Loading…
Reference in New Issue
Block a user