Skip to content

feat: add subscription decryption support, 订阅解密支持#1808

Open
fqfqgo wants to merge 1 commit intochen08209:mainfrom
fqfqgo:pr-subscription-decrypt-only
Open

feat: add subscription decryption support, 订阅解密支持#1808
fqfqgo wants to merge 1 commit intochen08209:mainfrom
fqfqgo:pr-subscription-decrypt-only

Conversation

@fqfqgo
Copy link

@fqfqgo fqfqgo commented Feb 22, 2026

目前已经出现支持订阅内容加密/解密的软件,以应对防火墙不断升级的嗅探、阻断措施。

有的翻墙服务商订阅链接下发内容的不是传统的明文或base64简单编码,而是aes加密后的节点内容,加密密钥采用用户在机场的网站登录密码变换而成。

使用场景/Use case

机场订阅加密后下发,并在http响应头中添加标志 Subscription-Encryption = true

客户端从订阅链接获取订阅时,如果检测到 http响应头 Subscription-Encryption = true

则要求用户输入机场网站登录密码(或添加订阅链接时可选输入),进入解密流程,否则正常获取订阅内容

期望,Subscription-Encryption ,这个http响应头作为订阅是否加密的行业标准,Subscription-Encryption = true, 解密方法采用pr提交的方法来解密。以后扩展,Subscription-Encryption 设定其它值,可以指定具体加密/解密方法。Subscription-Encryption 未设定或者为 false 就是不加密。

Co-authored-by: Cursor <cursoragent@cursor.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant