feat: add subscription decryption support, 订阅解密支持#1808
Open
fqfqgo wants to merge 1 commit intochen08209:mainfrom
Open
feat: add subscription decryption support, 订阅解密支持#1808fqfqgo wants to merge 1 commit intochen08209:mainfrom
fqfqgo wants to merge 1 commit intochen08209:mainfrom
Conversation
Co-authored-by: Cursor <cursoragent@cursor.com>
3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
目前已经出现支持订阅内容加密/解密的软件,以应对防火墙不断升级的嗅探、阻断措施。
有的翻墙服务商订阅链接下发内容的不是传统的明文或base64简单编码,而是aes加密后的节点内容,加密密钥采用用户在机场的网站登录密码变换而成。
使用场景/Use case
机场订阅加密后下发,并在http响应头中添加标志 Subscription-Encryption = true
客户端从订阅链接获取订阅时,如果检测到 http响应头 Subscription-Encryption = true
则要求用户输入机场网站登录密码(或添加订阅链接时可选输入),进入解密流程,否则正常获取订阅内容
期望,Subscription-Encryption ,这个http响应头作为订阅是否加密的行业标准,Subscription-Encryption = true, 解密方法采用pr提交的方法来解密。以后扩展,Subscription-Encryption 设定其它值,可以指定具体加密/解密方法。Subscription-Encryption 未设定或者为 false 就是不加密。