From 6f991ab762e2f6eeacacef0fcd531716b07da28c Mon Sep 17 00:00:00 2001 From: Denis Kirillov Date: Tue, 25 Oct 2022 15:24:06 +0300 Subject: [PATCH] services/tree: Use bearer owner as signer Signed-off-by: Denis Kirillov --- go.mod | 12 +++++++++--- go.sum | Bin 90481 -> 90817 bytes pkg/services/tree/signature.go | 4 +++- 3 files changed, 12 insertions(+), 4 deletions(-) diff --git a/go.mod b/go.mod index b7758b927..9af2b3788 100644 --- a/go.mod +++ b/go.mod @@ -39,10 +39,15 @@ require ( gopkg.in/yaml.v3 v3.0.1 ) +replace ( + github.com/TrueCloudLab/frostfs-api-go/v2 v2.0.0-20221212144048-1351b6656d68 => github.com/KirillovDenis/frostfs-api-go/v2 v2.11.2-0.20230221082308-ac00938fa447 + github.com/TrueCloudLab/frostfs-sdk-go v0.0.0-20221214065929-4c779423f556 => github.com/KirillovDenis/frostfs-sdk-go v0.0.0-20230221082914-5f20e7c6a460 +) + require ( github.com/TrueCloudLab/frostfs-crypto v0.5.0 // indirect github.com/TrueCloudLab/rfc6979 v0.3.0 // indirect - github.com/antlr/antlr4/runtime/Go/antlr v1.4.10 // indirect + github.com/antlr/antlr4/runtime/Go/antlr/v4 v4.0.0-20221202181307-76fa05c21b12 // indirect github.com/benbjohnson/clock v1.1.0 // indirect github.com/beorn7/perks v1.0.1 // indirect github.com/cespare/xxhash/v2 v2.1.2 // indirect @@ -54,7 +59,7 @@ require ( github.com/golang/snappy v0.0.3 // indirect github.com/google/go-querystring v1.1.0 // indirect github.com/gorilla/websocket v1.4.2 // indirect - github.com/hashicorp/golang-lru v0.5.4 // indirect + github.com/hashicorp/golang-lru v0.6.0 // indirect github.com/hashicorp/hcl v1.0.0 // indirect github.com/holiman/uint256 v1.2.0 // indirect github.com/inconshreveable/mousetrap v1.0.1 // indirect @@ -89,8 +94,9 @@ require ( github.com/syndtr/goleveldb v1.0.1-0.20210305035536-64b5b1c73954 // indirect github.com/twmb/murmur3 v1.1.5 // indirect github.com/urfave/cli v1.22.5 // indirect - go.uber.org/multierr v1.8.0 // indirect + go.uber.org/multierr v1.9.0 // indirect golang.org/x/crypto v0.4.0 // indirect + golang.org/x/exp v0.0.0-20221227203929-1b447090c38c // indirect golang.org/x/net v0.4.0 // indirect golang.org/x/sync v0.1.0 // indirect golang.org/x/sys v0.3.0 // indirect diff --git a/go.sum b/go.sum index 1d85e41cbf126c1f0b85a5126b57f2a15f0f856c..6e4a908a0a3788e6cf6d2aa40a605e92ceeb058e 100644 GIT binary patch delta 1101 zcmb`F%c~n@7{)15sKu&n1>xAjQK*X!$$Z~8cR^&5N#>U1WHPrT9K^{ab4eyMxy?*6 z8|lj8MsSw8anX$+2m#$$6x~$8RW~mD1KhcFWzteO3I!K#zHjwB&+mQS_s<_LfB)0v zuYY;vLp5B5QIurDBo5cOw@TIi5 z(@hP~BCzh*;uu?=7d!0&@V|JEDV^t~;C@n_C*xz-tf8a>BnG`9(QelAVP>@25sw6F zzM4*x8s_5~Y87yt@3ivXYbWLBH?EZLU&r>>u77f={Nv`;{TDaix?pG zWck+{chCQu^M!#HdaeLZA5dzLC2nf#Thc3t8qc1scsSBxOofdoBx=39U4C=x&igrlMSRTv<`a0mgyO*vz1XdhYhid=Ze`3O_|jUy1^7w!cKjMEI&BE z^TI*4zkmMr2ysvKj3?(VKHTVFiD8!SddsG;)oVj5!}|%z;rbvJn(4yKBe~?iJ7Ev9 z3lsFwRI^}!&9?fq9*K*1Jy9)ryO_Jv)s$&>Vi}C$$Wslgy!Y_+z5H2nwnws@pnHd&F91bP7$s2J?X#=hN z_0jFl^Smx#*0*vtQJo#uGy*7qU3WN{E0$l!Im#;1^sKd{w2<7!$-vz|`1#Wp@gv8G z^F?W0aJUpGgw&)2N!x9@i!@JM%cuvMq7rH3kWCo|K`gwE87iPTSNpk$42zq)(rNBVEtKwK*T delta 782 zcmb7?&1=(e9LCvUV;h35B8YQPyzJ05FTcDCqD|VS$@;ps>&x6BY2KPNO`0relZ%LF z5zJrU)sxVJM^W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