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

推荐订阅源

T
Tenable Blog
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
Google Online Security Blog
Google Online Security Blog
T
Threat Research - Cisco Blogs
D
Darknet – Hacking Tools, Hacker News & Cyber Security
W
WeLiveSecurity
NISL@THU
NISL@THU
V
Vulnerabilities – Threatpost
V2EX - 技术
V2EX - 技术
Cisco Talos Blog
Cisco Talos Blog
Simon Willison's Weblog
Simon Willison's Weblog
The Last Watchdog
The Last Watchdog
P
Privacy International News Feed
博客园 - 三生石上(FineUI控件)
Recent Announcements
Recent Announcements
酷 壳 – CoolShell
酷 壳 – CoolShell
美团技术团队
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
Scott Helme
Scott Helme
C
Cybersecurity and Infrastructure Security Agency CISA
Cyberwarzone
Cyberwarzone
量子位
Security Archives - TechRepublic
Security Archives - TechRepublic
Microsoft Azure Blog
Microsoft Azure Blog
F
Fortinet All Blogs
H
Hacker News: Front Page
D
Docker
N
Netflix TechBlog - Medium
阮一峰的网络日志
阮一峰的网络日志
G
Google Developers Blog
Hugging Face - Blog
Hugging Face - Blog
腾讯CDC
Last Week in AI
Last Week in AI
H
Hackread – Cybersecurity News, Data Breaches, AI and More
K
Kaspersky official blog
www.infosecurity-magazine.com
www.infosecurity-magazine.com
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
爱范儿
爱范儿
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
小众软件
小众软件
S
Security Affairs
博客园 - 聂微东
AI
AI
Latest news
Latest news
Application and Cybersecurity Blog
Application and Cybersecurity Blog
Engineering at Meta
Engineering at Meta
Cloudbric
Cloudbric
S
Secure Thoughts
Spread Privacy
Spread Privacy
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org

青石坞

花费近万元,跑了8500km,我租车一年后的真实感受 - 青石坞 两个新手司机的端午赤峰自驾行记:邂逅草原、山雨与意外 - 青石坞 以身试局,兼职刷单到底什么套路? - 青石坞 最新版 Emby 试用 Premiere,纯原版系统不修改任何文件实现,不下载第三方文件 - 青石坞 2024校园卡,50G流量套餐开售,可代理。 - 青石坞 macos 下使用 diskutil partitionDisk 失败的问题 基于 github 公开的 keys 快速添加到 ssh 的 authorized_keys 因文件名包含不可见符号导致无法转移做种或辅种的解决方案 - 青石坞 shell 实现自释放多文件,自解压功能。 - 青石坞 Git 入门使用说明 - 青石坞
Mac 下使用 PHPStorm 在开启 GPG 签名提交 Git 时失败的解决方案
2022-04-14 · via 青石坞

https://stackoverflow.com/questions/57591432/gpg-signing-failed-inappropriate-ioctl-for-device-on-macos-with-maven/59729955#59729955

近期折腾 Git 顺便开启了 GPG 签名,但是在使用 PHPStorm 提交时一直失败,各种解决方案都试过未能彻底解决问题。

错误提示如下:

gpg failed to sign the data
failed to write commit object

解决方案比较简单:

# 安装 pinentry-mac (官方文档有说要安装来着)
brew install pinentry-mac

# 配置 gpg 使用 pinentry-mac
echo "pinentry-program /usr/local/bin/pinentry-mac" >> ~/.gnupg/gpg-agent.conf

# 杀掉进程以重启加载配置
killall gpg-agent

原理上,好像是和密码输入框相关。

如何安装配置 GPG 请参考:Sign commits with GPG keys | IntelliJ IDEA

参考来源:"gpg: signing failed: Inappropriate ioctl for device" on MacOS with Maven

Tags: none

上一篇: Git 入门使用说明

下一篇: shell 实现自释放多文件,自解压功能。