go-did icon indicating copy to clipboard operation
go-did copied to clipboard

Please use other for secp256k1

Open mattn opened this issue 1 year ago • 3 comments

Current implementation use github.com/ipsn/go-secp256k1 to marshal keys for secp256k1. But go-secp256k1 is cgo module. It is bits hard to publish binary executables which use go-did. Do you have plan to use other?

mattn avatar Mar 05 '23 23:03 mattn

There are some candidates.

  • https://github.com/dustinxie/ecc
  • https://github.com/GincoInc/go-crypto
  • https://github.com/ethereum/go-ethereum

mattn avatar Mar 05 '23 23:03 mattn

@whyrusleeping What do you think?

mattn avatar Mar 09 '23 05:03 mattn

FYI I was updating a bunch of my deps today and realized I depend on https://github.com/decred/dcrd/tree/master/dcrec/secp256k1 which might provide what we need for this?

It's pure go and Copyfree licensed.

ericvolp12 avatar Jun 09 '23 21:06 ericvolp12