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

推荐订阅源

月光博客
月光博客
Martin Fowler
Martin Fowler
博客园_首页
量子位
T
Tailwind CSS Blog
博客园 - Franky
G
Google Developers Blog
D
DataBreaches.Net
Vercel News
Vercel News
B
Blog
Recent Announcements
Recent Announcements
S
SegmentFault 最新的问题
M
MIT News - Artificial intelligence
爱范儿
爱范儿
博客园 - 【当耐特】
The Cloudflare Blog
H
Help Net Security
云风的 BLOG
云风的 BLOG
P
Proofpoint News Feed
C
Check Point Blog
有赞技术团队
有赞技术团队
Microsoft Security Blog
Microsoft Security Blog
酷 壳 – CoolShell
酷 壳 – CoolShell
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More

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