Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ require (
github.com/dgraph-io/ristretto/v2 v2.3.0
github.com/gin-gonic/gin v1.10.0
github.com/hashicorp/go-uuid v1.0.3
github.com/hyperledger-labs/fabric-smart-client v0.6.1-0.20251030075357-8bde666534da
github.com/hyperledger-labs/fabric-smart-client v0.6.1-0.20251103092546-efa9438c1ae7
github.com/hyperledger/fabric v1.4.0-rc1.0.20250510200036-435a7f1a780a
github.com/hyperledger/fabric-chaincode-go/v2 v2.3.0
github.com/hyperledger/fabric-lib-go v1.1.3-0.20240523144151-25edd1eaf5f5
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -1055,8 +1055,8 @@ github.com/huin/goupnp v1.3.0 h1:UvLUlWDNpoUdYzb2TCn+MuTWtcjXKSza2n6CBdQ0xXc=
github.com/huin/goupnp v1.3.0/go.mod h1:gnGPsThkYa7bFi/KWmEysQRf48l2dvR5bxr2OFckNX8=
github.com/hyperledger-labs/SmartBFT v0.0.0-20250503203013-eb005eef8866 h1:Mu/6NJsfl9g3wM15Ue7hqPq4LtgYDoABh8MO4u8aW4g=
github.com/hyperledger-labs/SmartBFT v0.0.0-20250503203013-eb005eef8866/go.mod h1:9aNHNXsCVy/leGz2gpTC1eOL5QecxbSAGjqsLh4T1LM=
github.com/hyperledger-labs/fabric-smart-client v0.6.1-0.20251030075357-8bde666534da h1:5e/8UiCGNRyrzs4JP5I6PdP0KpE96oXhyAJWxiPAGs8=
github.com/hyperledger-labs/fabric-smart-client v0.6.1-0.20251030075357-8bde666534da/go.mod h1:Ib74lzDOsxuEGpl6Q3huBny9+X7b1HCEN6xhMbxIi9A=
github.com/hyperledger-labs/fabric-smart-client v0.6.1-0.20251103092546-efa9438c1ae7 h1:/DsPQ2icpOn4zfQrM/7hDC7naogH2x/5hEeRp3PWoVM=
github.com/hyperledger-labs/fabric-smart-client v0.6.1-0.20251103092546-efa9438c1ae7/go.mod h1:Ib74lzDOsxuEGpl6Q3huBny9+X7b1HCEN6xhMbxIi9A=
github.com/hyperledger/aries-bbs-go v0.0.0-20240528084656-761671ea73bc h1:3Ykk6MtyfnlzMOQry9zkxsoLWpCWZwDPqehO/BJwArM=
github.com/hyperledger/aries-bbs-go v0.0.0-20240528084656-761671ea73bc/go.mod h1:Kofn6A6WWea1ZM8Rys5aBW9dszwJ7Ywa0kyyYL0TPYw=
github.com/hyperledger/fabric v1.4.0-rc1.0.20250510200036-435a7f1a780a h1:l9dE3iuE+mKj7K8Tcx904cF8zJpaNQONh3GNZdXnnyc=
Expand Down
2 changes: 1 addition & 1 deletion token/request.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const (
)

type Binder interface {
Bind(ctx context.Context, longTerm Identity, ephemeral Identity) error
Bind(ctx context.Context, longTerm Identity, ephemeral ...Identity) error
}

type (
Expand Down
2 changes: 1 addition & 1 deletion token/services/identity/driver/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
)

type NetworkBinderService interface {
Bind(ctx context.Context, longTerm driver.Identity, ephemeral driver.Identity) error
Bind(ctx context.Context, longTerm driver.Identity, ephemeral ...driver.Identity) error
}

type IdentityProvider interface {
Expand Down
2 changes: 1 addition & 1 deletion token/services/identity/membership/binder.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ import (
// NoBinder implements a no-nop binder
type NoBinder struct{}

func (n *NoBinder) Bind(ctx context.Context, longTerm token.Identity, ephemeral token.Identity) error {
func (n *NoBinder) Bind(ctx context.Context, longTerm token.Identity, ephemeral ...token.Identity) error {
return nil
}
15 changes: 14 additions & 1 deletion token/services/identity/storage/kvs/hashicorp/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ require (
github.com/docker/docker v28.0.2+incompatible
github.com/docker/go-connections v0.5.0
github.com/hashicorp/vault/api v1.16.0
github.com/hyperledger-labs/fabric-smart-client v0.6.1-0.20251030075357-8bde666534da
github.com/hyperledger-labs/fabric-smart-client v0.6.1-0.20251103092546-efa9438c1ae7
github.com/hyperledger-labs/fabric-token-sdk v0.4.1-0.20250528165839-032fb9265504
github.com/stretchr/testify v1.10.0
)
Expand All @@ -20,10 +20,15 @@ require (
github.com/Azure/go-ansiterm v0.0.0-20230124172434-306776ec8161 // indirect
github.com/DATA-DOG/go-sqlmock v1.5.2 // indirect
github.com/IBM/idemix v0.0.2-0.20250313153527-832db18b9478 // indirect
github.com/IBM/idemix/bccsp/schemes/aries v0.0.0-20250313153527-832db18b9478 // indirect
github.com/IBM/idemix/bccsp/schemes/weak-bb v0.0.0-20250313153527-832db18b9478 // indirect
github.com/IBM/idemix/bccsp/types v0.0.0-20250313153527-832db18b9478 // indirect
github.com/IBM/mathlib v0.0.3-0.20250709075152-a138079496c3 // indirect
github.com/Knetic/govaluate v3.0.1-0.20171022003610-9aa49832a739+incompatible // indirect
github.com/Microsoft/go-winio v0.6.2 // indirect
github.com/VictoriaMetrics/fastcache v1.12.2 // indirect
github.com/alecthomas/kingpin/v2 v2.4.0 // indirect
github.com/alecthomas/units v0.0.0-20240626203959-61d1e3462e30 // indirect
github.com/beorn7/perks v1.0.1 // indirect
github.com/bits-and-blooms/bitset v1.20.0 // indirect
github.com/cenkalti/backoff/v4 v4.3.0 // indirect
Expand All @@ -47,6 +52,7 @@ require (
github.com/go-logr/stdr v1.2.2 // indirect
github.com/gogo/protobuf v1.3.2 // indirect
github.com/golang/protobuf v1.5.4 // indirect
github.com/golang/snappy v0.0.4 // indirect
github.com/google/go-cmp v0.7.0 // indirect
github.com/google/uuid v1.6.0 // indirect
github.com/grpc-ecosystem/grpc-gateway/v2 v2.26.1 // indirect
Expand All @@ -60,13 +66,17 @@ require (
github.com/hashicorp/go-sockaddr v1.0.2 // indirect
github.com/hashicorp/go-uuid v1.0.3 // indirect
github.com/hashicorp/hcl v1.0.0 // indirect
github.com/hyperledger/aries-bbs-go v0.0.0-20240528084656-761671ea73bc // indirect
github.com/hyperledger/fabric v1.4.0-rc1.0.20250510200036-435a7f1a780a // indirect
github.com/hyperledger/fabric-amcl v0.0.0-20230602173724-9e02669dceb2 // indirect
github.com/hyperledger/fabric-lib-go v1.1.3-0.20240523144151-25edd1eaf5f5 // indirect
github.com/hyperledger/fabric-protos-go-apiv2 v0.3.7 // indirect
github.com/kilic/bls12-381 v0.1.0 // indirect
github.com/klauspost/compress v1.18.0 // indirect
github.com/kr/pretty v0.3.1 // indirect
github.com/kr/text v0.2.0 // indirect
github.com/mattn/go-isatty v0.0.20 // indirect
github.com/miekg/pkcs11 v1.1.1 // indirect
github.com/mitchellh/go-homedir v1.1.0 // indirect
github.com/mitchellh/mapstructure v1.5.0 // indirect
github.com/moby/docker-image-spec v1.3.1 // indirect
Expand All @@ -92,10 +102,13 @@ require (
github.com/ryanuber/go-glob v1.0.0 // indirect
github.com/sirupsen/logrus v1.9.3 // indirect
github.com/sykesm/zap-logfmt v0.0.4 // indirect
github.com/syndtr/goleveldb v1.0.1-0.20220721030215-126854af5e6d // indirect
github.com/tedsuo/ifrit v0.0.0-20230516164442-7862c310ad26 // indirect
github.com/test-go/testify v1.1.4 // indirect
github.com/uptrace/opentelemetry-go-extra/otelsql v0.3.2 // indirect
github.com/uptrace/opentelemetry-go-extra/otelutil v0.3.2 // indirect
github.com/uptrace/opentelemetry-go-extra/otelzap v0.3.2 // indirect
github.com/xhit/go-str2duration/v2 v2.1.0 // indirect
go.opentelemetry.io/auto/sdk v1.1.0 // indirect
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.59.0 // indirect
go.opentelemetry.io/otel v1.37.0 // indirect
Expand Down
Loading
Loading