cloudflare / odoh-client-go

Oblivious DoH client
MIT License
80 stars 19 forks source link

cant build client/go cant import X448 #24

Open dzhub opened 2 years ago

dzhub commented 2 years ago

Hi, :-)

while trying to build the odoh-client I got this error as the server sends a certificate for sekigahara.schwanenlied.me instead of git.schwanenlied.me:

go build -o odoh-client ./cmd/... go: finding git.schwanenlied.me/yawning/x448.git v0.0.0-20170617130356-01b048fb03d6 go: git.schwanenlied.me/yawning/x448.git@v0.0.0-20170617130356-01b048fb03d6: git fetch -f git://git.schwanenlied.me/yawning/x448 refs/heads/:refs/heads/ refs/tags/:refs/tags/ in /home/pi/go/pkg/mod/cache/vcs/8152cd180220565c544ca8181542f7a915d0f83fdee0b4dba3e1051502d96d0a: exit status 128:

It turns out, the developer "yawning angel" does not self-host X448 anymore. In a recent e-mail he responded:

"I gave up on self-hosting git repositories a while ago, and the git CNAME shouldn't even exist anymore. The correct fix here is to get the package to update their import path (the canonical location for what they are using is "gitlab.com/yawning/x448.git")."

Could you follow his hint and update the import path for X448? And by the way, the build of the odoh-server breaks for the same reason.

Thank you for any help,

dzhub