shadowsocks / shadowsocks-android

A shadowsocks client for Android
Other
35.06k stars 11.58k forks source link

libsslocal exits too fast (exit code: 134) after set any 2022-* cipher #3147

Closed sem-hub closed 7 months ago

sem-hub commented 7 months ago

Please read contributing guidelines. Thanks.

Describe the bug I used chacha20-ietf-poly1305 and it worked well. After I set any 2022-* ciphers (for both client and server) I have got libsslocal exits too fast (exit code: 134) message on connect (even without any connection try). I've tested 2022-blake3-chacha20-poly1305 cipher with a desktop client and it worked well but not with android client.

To Reproduce Steps to reproduce the behavior: Set any 2022-* cipher.

Expected behavior Connect to server.

Screenshots libsslocal exits too fast (exit code: 134) message in android client.

Smartphone (please complete the following information):

Configuration Put an x inside the [ ] that applies.

Additional context I increased my password from 20 to 32 symbols as server asked. But after I back to chacha20-ietf-poly1305 it works with 32 symbols password too. I watched traffic on my server and see no connection tries from android client when error showed.

sem-hub commented 7 months ago

It was problem with password length.Now I use openssl rand -base64 32 to generate passwords and it's work well.