Sylpheed 的 GnuPG

在机器重装以后,现在 [Sylpheed] 不能使用 [GnuPG] 检查 [PGP] 签名了,在 Sylpheed 的配置中打开 Configurations/Common Preferences/Privacy/Display Warning on startup if GnuPG doesn't work,在下次启动的时候就说“GnuPG is not installed properly...“。以为是没找到 GnuPG,然后就把 GnuPG 加到 PATH 中去,还是不行。后来回想一下,上次是装在缺省位置,这次装在了自定义的位置,是不是跟这个有关系?然后就 Google GPGME,找到了一份 [bug] 报告,里面提到说 GPGME 在找 GnuPG 的时候只在标准的位置来找(也就是缺省的 Program Files/GNU/GnuPG/),一看[代码],是先找注册表 LocalMachine/Software/GNU/GnuPG/gpgProgram 这个键值,如果没有就再找 Programs File/GNU/GnuPG/gpg.exe

这样就容易解决了,创建 LocalMachine/Software/GNU/GnuPG/gpgProgram,值为 GnuPG-PATH/gpg.exe,然后问题解决!

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <blockquote>
  • You can use BBCode tags in the text.
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>. The supported tag styles are: <foo>, [foo].
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
   ___     __   _____    ____            __            _  __
/ _ \ / _| | ____| / ___| _ _ / /_ __ __ | |/ /
| | | | | |_ | _| | | | | | | | '_ \ \ \/ / | ' /
| |_| | | _| | |___ | |___ | |_| | | (_) | > < | . \
\__\_\ |_| |_____| \____| \__,_| \___/ /_/\_\ |_|\_\
Enter the code depicted in ASCII art style.