feat: mihomo 和 Shadowrocket VMess cipher 支持 zero

This commit is contained in:
xream 2025-02-06 18:08:46 +08:00
parent 23e8fbd1b7
commit bf18c51f6a
No known key found for this signature in database
GPG Key ID: 1D2C5225471789F9
3 changed files with 5 additions and 3 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "sub-store", "name": "sub-store",
"version": "2.16.28", "version": "2.16.29",
"description": "Advanced Subscription Manager for QX, Loon, Surge, Stash and ShadowRocket.", "description": "Advanced Subscription Manager for QX, Loon, Surge, Stash and ShadowRocket.",
"main": "src/main.js", "main": "src/main.js",
"scripts": { "scripts": {

View File

@ -32,9 +32,10 @@ export default function ClashMeta_Producer() {
isPresent(proxy, 'cipher') && isPresent(proxy, 'cipher') &&
![ ![
'auto', 'auto',
'none',
'zero',
'aes-128-gcm', 'aes-128-gcm',
'chacha20-poly1305', 'chacha20-poly1305',
'none',
].includes(proxy.cipher) ].includes(proxy.cipher)
) { ) {
proxy.cipher = 'auto'; proxy.cipher = 'auto';

View File

@ -32,9 +32,10 @@ export default function ShadowRocket_Producer() {
isPresent(proxy, 'cipher') && isPresent(proxy, 'cipher') &&
![ ![
'auto', 'auto',
'none',
'zero',
'aes-128-gcm', 'aes-128-gcm',
'chacha20-poly1305', 'chacha20-poly1305',
'none',
].includes(proxy.cipher) ].includes(proxy.cipher)
) { ) {
proxy.cipher = 'auto'; proxy.cipher = 'auto';