diff options
author | 2025-04-12 17:02:04 +0000 | |
---|---|---|
committer | 2025-04-12 17:02:04 +0000 | |
commit | 370b170aeed122d7a5799213a5bd4c44c0e8512c (patch) | |
tree | 4096091731a4da873e4a0d818a70f7008151c4d8 | |
parent | ab5d3b7fc882f41256ed088fd4f8d171f11f30ee (diff) | |
parent | 16550af94c9c04f22052f0cea98d3a5484005d9a (diff) | |
download | YubiKey-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.md | 29 |
1 files changed, 26 insertions, 3 deletions
@@ -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. |