Comments (5)
crypto/ecdh
is added in Go 1.20. And that is the reason why uTLS requires a minimal version of Go 1.20+.
from utls.
You're right @gaukas , last version of Go installed from apk
for Alpine Linux is go version go1.19.9 linux/amd64
.
So I think this issue can be closed as the prerequisites are not meet.
Thanks @zedifen , but I still got an error in my environment root/go/pkg/mod/github.com/refraction-networking/[email protected]/cfkem.go:25:2: package crypto/ecdh is not in GOROOT (/usr/lib/go/src/crypto/ecdh)
. But anyway, I will get the last Go binary instead of the package from Alpine repository.
from utls.
Glad the issue is solved! Just for everyone's information, I searched for alpine Docker image and saw this page https://hub.docker.com/_/alpine. Looks like the latest
alpine is 3.18.4
.
And it turns out that my alpine is on edge
branch of package repositories. I got Go 1.21.4 from there.
I also searched for go
in alpine package repositories site and it seems it has Go 1.20 on v3.18
branch, while it's Go 1.19 on v3.17
branch. By the way, they are all under community
repository.
Sorry that I'm not running Docker, so I'm not sure what's in your /etc/apk/repositories
. Please check it if you'd like. 😊
from utls.
May I know the purpose of go install
ing github.com/refraction-networking/utls
in the Dockerfile?
from utls.
I just start an alpine distro with proot-distro
on termux with:
apk update
apk upgrade
apk add go
CGO_ENABLED=0 go install -v github.com/projectdiscovery/subfinder/v2/cmd/subfinder@latest
~/go/bin/subfinder --version
and it seems to work fine.
Maybe there's no need to go install
this dependency explicitly. And please try go build
without CGO_ENABLED=0
and only add it back if things are broken.
Here's also Go's documentation on dependency-related commands: https://pkg.go.dev/cmd/go#hdr-Add_dependencies_to_current_module_and_install_them.
from utls.
Related Issues (20)
- bump Auto parrot for Firefox and Chrome
- bug: configuration for GREASE ECH parrot for Chrome 120 doesn't match BoringSSL HOT 7
- HelloFirefox* gets an ECDSA verification failure HOT 4
- FingerprintClientHello support for GREASE ECH extension
- Weird observation regarding ClientId and Spec HOT 9
- B uTLS does not support 0xFB1A as max version,add ja3 tls error,roundTripper error HOT 7
- crypto/ecdh is not in GOROOT (Go 1.18) HOT 1
- Secured Renegotiation is not supported HOT 10
- What is the hash function of the fingerprint in utls? HOT 6
- HTTP2 (akamai) fingerprint always same? HOT 1
- Example ImportTLSClientHelloFromJSON HOT 6
- Towards better versioning policy HOT 4
- bug: `(*Conn).Handshake()` is called upon `(*UConn).Read()` HOT 3
- *.tlsfingerprint.io down? HOT 6
- Any plans implements in Python HOT 1
- UnmarshalClientHello returns nil
- Request for TLS 1.3 Fingerprint Draft 26 Support
- Test coverage is too low
- can test this websocket from website HOT 1
- How can I check clientHello in server HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from utls.