MatsuriDayo / NekoBoxForAndroid

NekoBox for Android / sing-box / universal proxy toolchain for Android

Home Page:https://matsuridayo.github.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BUG: bad key length error for shadowsocks

sem-hub opened this issue · comments

Describe the problem

Expected behavior: connect with ShadowSocks to server with 2022-blake3-aes-128-gcm cipher

Actual behavior: "create service : parse Outbound[0]: bad key length, required 16 got 12" error. But I have 16 chars password.

How to reproduce

Create ShadowSocks connection with 2022-blake3-aes-128-gcm cipher

log

It was my fault about password lenght expectation. Now I use openssl rand -base64 16 to generate passwords and it's work well.