sourcegit-scm / sourcegit

Windows/macOS/Linux GUI client for GIT users
MIT License
610 stars 66 forks source link

fix: Save different GPGFormat executable files independently #196

Closed gadfly3173 closed 2 weeks ago

love-linger commented 2 weeks ago

由于ssh-keygen各平台基本自带,这里不处理ssh-keygen是有意为之。用户如果使用SSH签名,不需要自行配置该选项。

gadfly3173 commented 2 weeks ago

由于ssh-keygen各平台基本自带,这里不处理ssh-keygen是有意为之。用户如果使用SSH签名,不需要自行配置该选项。

这个功能对openssh版本有要求,如果自编译的不在系统路径中,需要额外配置。原有的写法会导致关闭窗口时将在外面配置的ssh.program置空。

love-linger commented 2 weeks ago

由于ssh-keygen各平台基本自带,这里不处理ssh-keygen是有意为之。用户如果使用SSH签名,不需要自行配置该选项。

这个功能对openssh版本有要求,如果自编译的不在系统路径中,需要额外配置。原有的写法会导致关闭窗口时将在外面配置的ssh.program置空。

gadfly3173 commented 2 weeks ago
  • 对于gpg.ssh.program被清空的问题。我会提交修改,在CloseWindow中不再处理。

好吧,不过我觉得切换GPGFormat时切换输入框内容到对应配置的功能还是有必要的

love-linger commented 2 weeks ago
  • 对于gpg.ssh.program被清空的问题。我会提交修改,在CloseWindow中不再处理。

好吧,不过我觉得切换GPGFormat时切换输入框内容到对应配置的功能还是有必要的

确实,这是没有考虑到的问题

gadfly3173 commented 2 weeks ago

https://github.com/sourcegit-scm/sourcegit/blob/develop/src%2FViews%2FPreference.axaml.cs#L184-L184 是openpgp而不是opengpg