aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar drduh <github@duh.to> 2025-04-12 17:02:04 +0000
committerGravatar GitHub <noreply@github.com> 2025-04-12 17:02:04 +0000
commit370b170aeed122d7a5799213a5bd4c44c0e8512c (patch)
tree4096091731a4da873e4a0d818a70f7008151c4d8
parentab5d3b7fc882f41256ed088fd4f8d171f11f30ee (diff)
parent16550af94c9c04f22052f0cea98d3a5484005d9a (diff)
downloadYubiKey-Guide-370b170aeed122d7a5799213a5bd4c44c0e8512c.tar.gz
YubiKey-Guide-370b170aeed122d7a5799213a5bd4c44c0e8512c.tar.zst
YubiKey-Guide-370b170aeed122d7a5799213a5bd4c44c0e8512c.zip
Merge pull request #478 from Kyshman/kysh-changes
macOS and Arch additions
-rw-r--r--README.md29
1 files changed, 26 insertions, 3 deletions
diff --git a/README.md b/README.md
index 118a4c2..c2ee588 100644
--- a/README.md
+++ b/README.md
@@ -200,6 +200,14 @@ 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
+```
+
**NixOS**
Build an air-gapped NixOS LiveCD image:
@@ -249,7 +257,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**
@@ -979,6 +987,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
@@ -1021,6 +1042,8 @@ gpg --recv $KEYID
Or with the URL on YubiKey, retrieve the public key:
+using the command `gpg-card`
+
```console
gpg/card> fetch
@@ -1229,10 +1252,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.