惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

量子位
Recent Announcements
Recent Announcements
D
Docker
V
V2EX
阮一峰的网络日志
阮一峰的网络日志
Vercel News
Vercel News
Microsoft Security Blog
Microsoft Security Blog
The GitHub Blog
The GitHub Blog
U
Unit 42
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
月光博客
月光博客
腾讯CDC
B
Blog
博客园_首页
罗磊的独立博客
D
DataBreaches.Net
IT之家
IT之家
酷 壳 – CoolShell
酷 壳 – CoolShell
L
LangChain Blog
aimingoo的专栏
aimingoo的专栏
MongoDB | Blog
MongoDB | Blog
GbyAI
GbyAI
Stack Overflow Blog
Stack Overflow Blog
M
MIT News - Artificial intelligence

MoeShin

Alpine 下各语言的大小 - MoeShin 碧蓝档案日服模拟器体验 - MoeShin 域名邮箱记 - MoeShin Xposed Hook 替换类 - MoeShin XPosed Hook 子类重写的方法,并调用父方法 - MoeShin PowerShell [ ] 转义 - MoeShin iOS iSH 笔记 - MoeShin Windows Terminal + MSYS2 + ZSH 配置 Cmder 修改 λ 标记 - MoeShin
MAC IDEA 中 Git GPG 签名失败
作者: MoeShin · 2020-11-14 · via MoeShin

问题

error: gpg failed to sign the data
fatal: failed to write commit object

解决

需要 xcodebuild 支持

brew install pinentry-mac

echo "pinentry-program $(brew --prefix)/bin/pinentry-mac" >> ~/.gnupg/gpg-agent.conf

xcodebuild 出错

sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer/

参考

https://formulae.brew.sh/formula/pinentry-mac

标签: mac, gpg, idea, git