Closed PolynomialDivision closed 1 year ago
@bassosimone it appears Psiphon-Labs/quic-go has been updated to support 1.20 but Psiphon-Labs/psiphon-tunnel-core hasn't been updated yet - perhaps you can ask the Psiphon devs?
Thank you @PolynomialDivision and @jefferyto!
@jefferyto we could update Psiphon but there is one extra issue. We vendor modified crypto
(https://github.com/ooni/oocrypto) and net/http
(https://github.com/ooni/oohttp) to improve resilience and allow using nonstandard TLS libraries respectively. However, the standard library is not designed to be modular, so there may be implicit coupling between our vendored libraries and the standard library you're linking against. Because of this reason, the safest choice in terms of compiling ooniprobe is using the same standard library and Go compiler from which we forked our vendored libraries. Currently, this version of Go is 1.19.6. This is why, even if we update Psiphon, I would not recommend compiling ooniprobe using Go 1.20.x and would recommend sticking to Go 1.19.6, if possible. (That said, we're going to need to update to Go 1.20 ~soon anyway because we're approaching the EOL for the 1.19.x series.)
We're making progress on this issue. There's an alpha release out with go1.20 support: https://github.com/ooni/probe-cli/releases/tag/v3.18.0-alpha. Thanks again for prodding me to address this issue!
FYI, Go 1.21 will be released soon (see rc2 announcement), making the Go 1.19 not maintained anymore.
@stefanb thanks for he heads up!
I am going to close this issue, given that https://github.com/ooni/probe-cli/releases/tag/v3.18.0 supports go1.20 🥳
It gives following warnings. Please update quic-go version.
Please update