[PR #3129] [MERGED] fix: generate correct keys for shadowsocks #5353

Closed
opened 2026-10-31 20:46:23 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/MHSanaei/3x-ui/pull/3129
Author: @sh1shd
Created: 6/20/2025
Status: ✅ Merged
Merged: 6/20/2025
Merged by: @sh1shd

Base: main ← Head: fix/shadowsocks-keys-2


📝 Commits (2)

  • c503ada fix: generate correct keys for shadowsocks
  • 1048e52 chore: refactor randomShadowsocksPassword function

📊 Changes

4 files changed (+12 additions, -6 deletions)

View changed files

📝 web/assets/js/model/inbound.js (+2 -2)
📝 web/assets/js/util/index.js (+8 -2)
📝 web/html/form/client.html (+1 -1)
📝 web/html/form/protocol/shadowsocks.html (+1 -1)

📄 Description

What is the pull request?

This pull request fixes an issue (https://github.com/MHSanaei/3x-ui/pull/2904#issuecomment-2989629188) where incorrect passwords were being generated for Shadowsocks.

For example, the 2022-blake3-aes-128-gcm method was generating a 32 bit key when it should be generating a 16 bit key

Which part of the application is affected by the change?

  • Frontend
  • Backend

Type of Changes

  • Bug fix
  • New feature
  • Refactoring
  • Other

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/MHSanaei/3x-ui/pull/3129 **Author:** [@sh1shd](https://github.com/sh1shd) **Created:** 6/20/2025 **Status:** ✅ Merged **Merged:** 6/20/2025 **Merged by:** [@sh1shd](https://github.com/sh1shd) **Base:** `main` ← **Head:** `fix/shadowsocks-keys-2` --- ### 📝 Commits (2) - [`c503ada`](https://github.com/MHSanaei/3x-ui/commit/c503adaef7650db6cdd9dbd5a9bbcfa7e07e6f2b) fix: generate correct keys for shadowsocks - [`1048e52`](https://github.com/MHSanaei/3x-ui/commit/1048e522c2601f8322665627aa1116eb4ab1464f) chore: refactor `randomShadowsocksPassword` function ### 📊 Changes **4 files changed** (+12 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `web/assets/js/model/inbound.js` (+2 -2) 📝 `web/assets/js/util/index.js` (+8 -2) 📝 `web/html/form/client.html` (+1 -1) 📝 `web/html/form/protocol/shadowsocks.html` (+1 -1) </details> ### 📄 Description ## What is the pull request? This pull request fixes an issue (https://github.com/MHSanaei/3x-ui/pull/2904#issuecomment-2989629188) where incorrect passwords were being generated for Shadowsocks. For example, the `2022-blake3-aes-128-gcm` method was generating a 32 bit key when it should be generating a 16 bit key ## Which part of the application is affected by the change? - [X] Frontend - [ ] Backend ## Type of Changes - [X] Bug fix - [ ] New feature - [ ] Refactoring - [ ] Other --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-31 20:46:24 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
MHSanaei/3x-ui#5353
No description provided.