WebStorm是否支持PGP?

时间:2016-04-20 11:21:58

标签: git github webstorm

我正在尝试将PGP与当前版本的WebStorm用于远程Git。但是,每次尝试都失败了?

尝试commit-push时出现以下错误

0 files committed, 1 file failed to commit: [+] Initial commit after reinstallation of 'angular 2 seed advanced' and refactoring to com-epimss.ng2.ts [!] INCOMPATIBLE WITH version: 0.0.0 gpg: cannot open tty `no tty': No such file or directory error: gpg failed to sign the data fatal: failed to write commit object

是否可以将WebStorm与PGP一起使用?

1 个答案:

答案 0 :(得分:0)

WebStorm调用git w / o terminal (tty),你的GPG密钥需要密码。

您需要触发代理并为您的GPG密钥添加密码。

如果您使用 Windows ,这应该会有所帮助: https://jamesmckay.net/2016/02/signing-git-commits-with-gpg-on-windows/

如果你在 Unix ,我无法帮助你,抱歉。

或者,you can remove GPG passphrase但这是非常危险的安全风险!只有在您想要使用为此目的创建的密钥进行测试时才使用它。