x-ui
x-ui copied to clipboard
SS-2022加密生成长度问题
Welcome
- [X] Yes, I'm using the latest major release. Only such installations are supported.
- [X] Yes, I'm using the supported system. Only such systems are supported.
- [X] Yes, I have read all WIKI document,nothing can help me in my problem.
- [X] Yes, I've searched similar issues on GitHub and didn't find any.
- [X] Yes, I've included all information below (version, config, log, etc).
Description of the problem,screencshot would be good
ss-rust 2022加密字符超过32位.路由器无法识别使用
/tmp/home/root# sslocal -b 127.0.0.1:23456 -s -m 2022-blake3-chacha20-poly1305 -k aeQXVPGLsnxFoJx4dJYEwlFKlNEfqAiRfpIKCHWG8shl --fast-open --no-delay -d
thread 'main' panicked at '2022-blake3-chacha20-poly1305 is expecting a 32 bytes key, but password: aeQXVPGLsnxFoJx4dJYEwlFKlNEfqAiRfpIKCHWG8shl (33 bytes after decode)', /project/crates/shadowsocks/src/config.rs:352:21
note: run with RUST_BACKTRACE=1
environment variable to display a backtrace
Aborted
解析以后解码后有33字节,2022加密,要求32字节.希望可以修改一下字符生成长度.路由器只能识别32字节
Version of x-ui
$ x-ui version 0.4.3.0
Paste output here
x-ui log or xray log
paste log here
加1,今天也发现了,用openssl rand -base64 32生成的能用,xui生成的不能用。。
同样遇到这个问题,因为password长度的原因,x-ui生成的2022-blake3-aes-256-gcm 节点在v2rayN正常使用,但是导入到clash就会报错
的确是个比较头疼的问题,x-ui生成的密码同样无法在singbox核心中使用
2024年了,h好像nekoray还是没解决这个问题