shadowsocks / shadowsocks-android

A shadowsocks client for Android
Other
35.27k stars 11.57k forks source link

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

Closed sem-hub closed 9 months ago

sem-hub commented 9 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 9 months ago

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