[feature request] 在pinnedPeerCertSha256不为空时,无论是否allowinsecure都视同false
在pinnedPeerCertSha256不为空时,无论是否allowinsecure都视同false 同时移除allowinsecure=1但pinnedPeerCertSha256不为空时的警告/错误
if c.AllowInsecure { return nil, errors.PrintRemovedFeatureError(
"allowInsecure","pinnedPeerCertSha256"(pcs) and "verifyPeerCertByName"(vcn)) }
部分机场下发/部分用户自己写的配置分享链接有点混乱,这一个参数众说纷纭,在pinnedPeerCertSha256不为空时,直接忽略allowinsecure可能是一个合适的方案
这一个参数众说纷纭
?
我想这东西的唯一用处是机场同时下发allowinsecure和pcs来同时兼容新旧客户端
因为至少Hy2官方的写法是自签需要开启insecure ~~然后Xray的客户端还没端上来,还是保持一定兼容性比较好~~
本来是打算这样的但是 https://github.com/2dust/v2rayN/issues/9435#issuecomment-4610244773 https://github.com/2dust/v2rayN/issues/9435#issuecomment-4610678229 ,不想 core 的配置语义不明确,GUI 自己处理了就行