drduh/YubiKey-Guide

Using YubiKey --> Install the required packages: --> macOS --> gnupg2 not necessary if you are using gpg-suite (which you should be)

Open

#500 建立於 2025年5月10日

在 GitHub 查看
 (1 留言) (0 反應) (0 負責人)HTML (1,249 fork)batch import
help wanted

倉庫指標

Star
 (12,308 star)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

In the "Using the Yubikey --> Install required packages --> MacOS (https://github.com/drduh/YubiKey-Guide?tab=readme-ov-file#using-yubikey), it says to run:

sudo port install gnupg2 pcsc-tools

However, if you have gpg-suite installed on your mac, installing gnupg2 from homebrew may cause gpg problems or errors in GPG-suite's version of gnupg. I have talked to the GPG-Suite developer, and they said if you have gpg-suite installed, you should not have any alternate versions of gnupg, which would be gnupg2 from homebrew. I'm not sure about pscs-tools either, but have to do some more research into it.

In summery, it should be noted, that if you have GPG-Suite installed on your mac, you DO NOT WANT TO INSTALL gnupg2 because it will could conflict with gpg-suite, and is not properly tested on mac, whereas GPG-Suite is highly tested on MacOS. Check this post for notes by the developers: https://gpgtools.tenderapp.com/discussions/problems/138945-gpg-keychain-exported-pgp-key-is-diffferent-than-imported-pgp-key-what-gives

So instead, use

sudo port install pcsc-tools

without gnupg2,

or...

sudo port install pcsc-tools & brew install gpg-suite

to also install gpg-suite version of gnupg2 (recommended)

貢獻者指南