Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace P256 with secp256k1? #278

Open
TheRook opened this issue Nov 22, 2022 · 0 comments
Open

Replace P256 with secp256k1? #278

TheRook opened this issue Nov 22, 2022 · 0 comments

Comments

@TheRook
Copy link

TheRook commented Nov 22, 2022

Shouldn't the user have a secp256k1 key to be in line with Ethereum and the other web3 projects?

redwood/utils/certs.go

Lines 20 to 21 in dc6d2a5

func MakeSelfSignedX509Certificate() (*tls.Certificate, error) {
priv, err := ecdsa.GenerateKey(elliptic.P256(), rand.Reader)

secp256k1 is supported by tls1.2 and above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant