High Sierra 和 Homebrew 不适合 GPG

High Sierra and Homebrew not playing nice for GPG

Mac OS High Sierra (10.13.6) 在这里。我正在尝试让 Homebrew 安装 gpggpg-agent 并将 运行 放入问题中。 运行:

brew install gpg gpg-agent

生成以下输出:

Error: No available formula with the name "gpg-agent" 
==> Searching for a previously deleted formula (in the last month)...
Warning: homebrew/core is shallow clone. To get complete history run:
  git -C "$(brew --repo homebrew/core)" fetch --unshallow

Error: No previously deleted formula found.
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
==> Searching taps...
==> Searching taps on GitHub...
Error: No formulae found in taps.

知道修复方法是什么吗?

要获得gpg-agent,您需要安装gnupg,您可以查看 for details, also you can try gpgtools,其中包含gpg-agent。