diff --git a/CHANGELOG.md b/CHANGELOG.md index 3c1ef34..b929d24 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +dev: + - use new build system + - support S3 credentials + 1.26.5: - provide validator information in "chain status" verbose output diff --git a/go.mod b/go.mod index 96fc0fa..2f57da5 100644 --- a/go.mod +++ b/go.mod @@ -32,7 +32,7 @@ require ( github.com/wealdtech/go-eth2-wallet-hd/v2 v2.6.0 github.com/wealdtech/go-eth2-wallet-nd/v2 v2.4.0 github.com/wealdtech/go-eth2-wallet-store-filesystem v1.17.0 - github.com/wealdtech/go-eth2-wallet-store-s3 v1.11.0 + github.com/wealdtech/go-eth2-wallet-store-s3 v1.11.1 github.com/wealdtech/go-eth2-wallet-store-scratch v1.7.0 github.com/wealdtech/go-eth2-wallet-types/v2 v2.10.0 github.com/wealdtech/go-string2eth v1.2.0 diff --git a/go.sum b/go.sum index 3ae9eac..dcce373 100644 --- a/go.sum +++ b/go.sum @@ -588,8 +588,8 @@ github.com/wealdtech/go-eth2-wallet-store-filesystem v1.16.15/go.mod h1:v/JATYJQ github.com/wealdtech/go-eth2-wallet-store-filesystem v1.17.0 h1:cq7k9osiIkaYrdpetPQgk3ozl/dFvmxW364OC/uNuww= github.com/wealdtech/go-eth2-wallet-store-filesystem v1.17.0/go.mod h1:Fiw5If3/mgH+qYRKIH+kTpZZ3r6z2KgHUiE5Vf/QrfE= github.com/wealdtech/go-eth2-wallet-store-s3 v1.10.0/go.mod h1:DhAm7si8N/5qU1sZ/RLavm87LsOthnWuRyQaGWNFiyI= -github.com/wealdtech/go-eth2-wallet-store-s3 v1.11.0 h1:qta5XIXe7o9djqB6L90dmf2CvnLmVunzmKeIAnrUyPs= -github.com/wealdtech/go-eth2-wallet-store-s3 v1.11.0/go.mod h1:azzsylTwr1hnLisDWZJbUz3HToRsrG7ADpLG8TXJgOU= +github.com/wealdtech/go-eth2-wallet-store-s3 v1.11.1 h1:q9/p/UfrT7AfR6MYZfr3nQOKdhcLCuKqldqplNHo3Ws= +github.com/wealdtech/go-eth2-wallet-store-s3 v1.11.1/go.mod h1:azzsylTwr1hnLisDWZJbUz3HToRsrG7ADpLG8TXJgOU= github.com/wealdtech/go-eth2-wallet-store-scratch v1.6.3/go.mod h1:V4NUofSBIyzoqc5cNZaGciaDm2WFAgSQikRslOyh5Tg= github.com/wealdtech/go-eth2-wallet-store-scratch v1.7.0 h1:1dMKx9jtw1v9JrwOPFf2JaOQKmvpMp1GEeuMRiNfq5o= github.com/wealdtech/go-eth2-wallet-store-scratch v1.7.0/go.mod h1:O7BitrDeQVtBFNnvYmOYLzJCZAiCf5ur/4IRucIz+S0= diff --git a/util/misc.go b/util/misc.go index 811c272..8a06129 100644 --- a/util/misc.go +++ b/util/misc.go @@ -47,10 +47,13 @@ func SetupStore() error { return errors.New("basedir does not apply to the s3 store") } store, err = s3.New(s3.WithPassphrase([]byte(GetStorePassphrase("s3"))), + s3.WithID([]byte(viper.GetString("stores.s3.id"))), s3.WithEndpoint(viper.GetString("stores.s3.endpoint")), s3.WithRegion(viper.GetString("stores.s3.region")), s3.WithBucket(viper.GetString("stores.s3.bucket")), s3.WithPath(viper.GetString("stores.s3.path")), + s3.WithCredentialsID(viper.GetString("stores.s3.credentials.id")), + s3.WithCredentialsSecret(viper.GetString("stores.s3.credentials.secret")), ) if err != nil { return errors.Wrap(err, "failed to access Amazon S3 wallet store")