Skip to content

Conversation

MingLLuo
Copy link
Contributor

@MingLLuo MingLLuo commented Jan 18, 2025

TODO move over to crypto/ecdh once we can assume Go 1.20.

I found that there is an unfinished TODO in ckem.go, and the go version we use now is higher than 1.20.

Due to the limited code using crypto/ecdh in the entire repository, I can only go by my own experience with the transition, so some of the implementations may not be so satisfying.

This also help fix some problem of

TODO: replace deprecated elliptic.Marshal, elliptic.GenerateKey,
elliptic.Unmarshal, params.ScalarBaseMult before re-enabling SA1019.
in circl/.golangci.yaml

@armfazh armfazh self-requested a review January 18, 2025 23:11
@armfazh armfazh self-assigned this Jan 18, 2025
@armfazh armfazh added the enhancement Improvement over something already in the project label Jan 18, 2025
@MingLLuo MingLLuo requested a review from armfazh January 22, 2025 05:34
@armfazh armfazh merged commit 4987803 into cloudflare:main Jan 22, 2025
10 checks passed
@armfazh
Copy link
Contributor

armfazh commented Jan 22, 2025

Thanks @MingLLuo

project-mirrors-bot-tu bot pushed a commit to project-mirrors/forgejo-runner-as-gitea-act-runner-fork that referenced this pull request Jul 3, 2025