git commit-> GPG无法签署数据(Macos Monterey,所有最新情况)
查看了所有其他类似的帖子,有一些相当旧的且不适用,一个最近和接近我的问题,没有实际解决方案。
试图提交本地分支变更,在GPG签名中失败,然后运行以下内容,以收集数据可能对知道的数据:
平台:蒙特雷MacOS(12.4)
%git- version-version GIT版本2.32.1(Apple Git-133)
密钥到期时间:2032
%git_trace = 1 Git Commit -s-M“ my-local-Branch”
输出: 17:03:31.062430 exec-cmd.c:139跟踪:从darwin stack中解析可执行路径:/library/developer/commandlinetools/usr/bin/bin/git
17:03:31.062692 exec-cmd.c:238 trace:238跟踪:解析可执行可执行可执行文件: /Library/Developer/CommandLineTools/usr/bin
17:03:31.063037 git.c:455 trace: built-in: git commit -S -m here_goes_branch_name
17:03:31.065514 run-command.c:667 trace: run_command: gpg -status -fd = 2 -bsau tere_goes_my_actual_key
错误:gpg无法签署数据
致命:未能写入提交对象
是否有任何指针?
Looked into all other similar postings, with some fairly old and not applicable, and one more recent and close to my issue, with no actual resolution.
Attempting to commit a local branch change, failing with the gpg signing, then running the following, to collect data maybe useful to those in the know:
platform: Monterey macOS (12.4)
% git --version
git version 2.32.1 (Apple Git-133)
key expire time: 2032
% GIT_TRACE=1 git commit -S -m "my-local-branch"
Output:
17:03:31.062430 exec-cmd.c:139 trace: resolved executable path from Darwin stack: /Library/Developer/CommandLineTools/usr/bin/git
17:03:31.062692 exec-cmd.c:238 trace: resolved executable dir: /Library/Developer/CommandLineTools/usr/bin
17:03:31.063037 git.c:455 trace: built-in: git commit -S -m here_goes_branch_name
17:03:31.065514 run-command.c:667 trace: run_command: gpg --status-fd=2 -bsau here_goes_my_actual_key
error: gpg failed to sign the data
fatal: failed to write commit object
Any pointers?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论