nsmithuk / local-kms

A mock version of AWS' Key Management Service, for local development and testing.
MIT License
198 stars 34 forks source link

add CGO_ENABLED=0 #60

Open kmlebedev opened 1 year ago

kmlebedev commented 1 year ago

disable glibc dependency

https://github.com/nsmithuk/local-kms/issues/58

nsmithuk commented 1 year ago

Hi @kmlebedev

Unless something has changed since the feature was added, glibc is unfortunately needed to support the ECC_SECG_P256K1 key type. There wasn't any suitable native Go implementations, so I had to use https://github.com/btcsuite/btcd, which does/did need glibc.

We could circle back and see if that's still the case, but I'd want to confirm before merging this.