liuluohui / snova

Automatically exported from code.google.com/p/snova
0 stars 0 forks source link

加密密码如何更改?修改rc4.key和gsnova.conf中的rc4一致也不能生效 #520

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
修改vps端的rc4.key和客户端gsnova.conf内的RC4Key一致无效,只能��
�默认的8976501f8451f03c5c4067b47882f2e5才可以。

Original issue reported on code.google.com by yellow...@gmail.com on 5 Oct 2014 at 11:31

GoogleCodeExporter commented 8 years ago
vps端是nodejs的? 修改后重启了没?

Original comment by yinqiwen@gmail.com on 5 Oct 2014 at 1:54

GoogleCodeExporter commented 8 years ago
是的,node直接用的官方的linux二进制包。node进程是有重启的�
��而且我修改以后再把两端都改回默认的,之后启动,依然报
错……

Original comment by yellow...@gmail.com on 5 Oct 2014 at 2:28

GoogleCodeExporter commented 8 years ago
看下是不是修改server端的rc4.key多了空格换行符之类的不可见�
��符? 

Original comment by yinqiwen@gmail.com on 5 Oct 2014 at 2:32

GoogleCodeExporter commented 8 years ago
还真是,太粗心大意了,感谢作者的答疑解惑!
这vi编辑完以后居然多了个换行符,而且在vi默认的编辑模式�
��看不到,下到本地记事本打开才看到……

Original comment by yellow...@gmail.com on 5 Oct 2014 at 2:49

Attachments:

GoogleCodeExporter commented 8 years ago
要是熟悉js的话,可以直接改一行代码trim下字符串
https://github.com/yinqiwen/snova-c4/blob/master/nodejs/server.js#L274

Original comment by yinqiwen@gmail.com on 5 Oct 2014 at 2:53

GoogleCodeExporter commented 8 years ago
嗯,已经搞定!
我这是菜鸟路漫漫其修远啊,再次感谢您的指点~

Original comment by yellow...@gmail.com on 5 Oct 2014 at 3:21