-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Add support for chacha20-ietf-poly1305 #595
Comments
+1 |
3 similar comments
+1 |
+1 |
+1 |
Please do not reply with simple |
chacha20-ietf-poly1305 will be necessary |
This issue can be solved as follows # Install libsodium
sudo apt-get install libsodium-dev
# Install libbotan-2.x from source
wget https://botan.randombit.net/releases/Botan-2.3.0.tgz
tar xvf Botan-2.3.0.tgz
cd Botan-2.3.0
./configure.py
make
sudo make install
sudo ldconfig
# Install libQtShadowsocks
git clone https://github.com/shadowsocks/libQtShadowsocks.git
cd libQtShadowsocks
vim CMakeLists.txt
# Change Line 8 as "On"
mkdir build
cd build
cmake ..
make
sudo make install
# Install
git clone https://github.com/shadowsocks/shadowsocks-qt5
cd shadowsocks-qt5
mkdir build
cd build
cmake ..
make
sudo make install Note that when building libQtShadowsocks, please merge my PR first. |
@begeekmyfriend thank you, it works, but no need to do the PR change. |
@begeekmyfriend @yaochx 我安装了libsodium和libbotan,然后安装了shadowsocks-qt5 , 之后打开shadowsocks没有看到加密方式里面多了chacha20-ietf-poly1305 ,难道是还要安装libQtShadowsocks? (因为电脑山没QT,所以就没装第三个) 望指教! |
@Super-Tree |
@Super-Tree 需要源码编译安装 |
I have tried the solution @begeekmyfriend provided, and it works fine, thank you. BTW: I need to install two packages: sudo apt install libzbar-dev libqrencode-dev |
@begeekmyfriend 我已经装了第三个包libQtShadowsocks,在cmake第四个包shadowsocks-qt5的时候,cmake报错:pkg_check_modules(QSS REQUIRED QtShadowsocks>=2.0.0) 找不到这个QtShadowsocks,可是我刚才已经安装第三个包了呀, 我要怎么设置cmakelists才能让它找到QtShadowsocks. 感觉问的问题有些低级,但是我在网上查了好多也没有解决,麻烦指点一下~ |
@wujiangGitHub 如果你是Ubuntu的话请apt安装 @Super-Tree 你的问题也类似,用apt安装 |
@begeekmyfriend thanks |
I finished every step and solved some problems, such as fixing qToBigEndian compile error, installing some libs.
Then I installed How to fix that? Thanks! |
@csy530216 Try
|
@begeekmyfriend 再次打扰,不好意思 我用apt安装了shadowsocks-qt5,运行ss-qt5选择加密方式时,还是没有chacha20-ietf-poly1305,要怎么办呢? 是不是还是应该从源码安装,还是要解决 package 'QtShadowsocks>=2.0.0' not found |
@Super-Tree 是要源码安装 |
@Super-Tree |
@Super-Tree 试试 |
@Super-Tree 我的帖子你都不仔细看么。。。 |
I think it would be perfect if this issue can be fixed in next release. Building by source code is not a comfortable way. |
@helocy how to install libzbar-dev ? apt seems not work on 16.04 |
终于解决了,问题是安装完QT后没有在.bashrc里面添加LD_LIBRARY_PATH,加上这句export LD_LIBRARY_PATH=/home/name/Qt/5.10.0/gcc_64/lib/:/other/lib/you/use/lib:$LD_LIBRARY_PATH; |
我在 make libQtShadowsocks 时出现错误,有谁可以告诉我是缺少了哪个包吗?
|
@yungkcx See my PR |
@begeekmyfriend OK, thanks~ |
This method is not supported by current release yet. |
大佬,是把您上边给的所有命令都执行一遍么?而您的意思是不是,将您的PR里面的代码在cmake 的时候粘贴上前去么?还有make后面跟的文件是您的PR么?是不是就是加上这个文件(lib/encryptor.cpp).还有就是,我之前下过qt-5了,要删除了从下么? |
@cushionXY 请仔细看一遍上面的帖子,我不想再重复一遍 sudo apt install qtbase5-dev
sudo apt install qt5-default 还有一个貌似这样,记不清了,自己试试
记住apt安装的位置是在 |
谢谢大佬了 |
Need help again, @begeekmyfriend
here says need And I had found the file QHostAddress at |
@begeekmyfriend ss-qt5的使用需要配合 privoxy吗? |
@leomatrix 没用到过 |
@begeekmyfriend 我按你的步骤编译安装Botan-2,也从git仓库的代码编译安装了一遍,但是编译libQtShadowsocks时仍找不到botan-2,求解
|
@ATKghost Please read my post closely and do not make me say "read the f***ing post!" |
@begeekmyfriend sudo ldconfig执行了没任何回应,问题依旧,所以才来提问的,我是Fedora26,有关联么? |
@ATKghost |
@begeekmyfriend |
Please download the AppImage here: https://github.com/shadowsocks/shadowsocks-qt5/releases/tag/v3.0.0alpha |
@rexpie 我也遇到文件无法下载的问题,在终端里输出相同的错误。你的问题解决了吗? |
It works thanks |
@Super-Tree cmake_prefix_path, set(CMAKE_PREFIX_PATH "/home/name/Qt/5.10.0/gcc_64") 这个怎么添加。。。 没用过cmake 求现成的 。 name 是bringtree qt 是 5.10.0 |
@Super-Tree ok 搞定了谢谢哈 |
|
呃呃 我改成- qToBigEndian(inLen, reinterpret_cast<uint16_t*>(&rawLength[0])); |
@bringtree 见我第一个post最后一句话 |
@begeekmyfriend 装完了 然后闪退 退回去用 shadowsocks-libev 。。。。。。 |
@begeekmyfriend |
@MacchaX use |
@willwhui |
@ATKghost,
Hope it helps. |
+1 |
Thanks.
chacha20-ietf
seems not working properly against service that useschacha20-ietf-poly1305
The text was updated successfully, but these errors were encountered: