Skip to content

Agent Mesh

bump go biscuits

Antonio Ojea9fc9aaa93a56
diff --git a/.golangci.yml b/.golangci.yml
index b3e01482..4b8b5e09 100644
--- a/.golangci.yml
+++ b/.golangci.yml
@@ -17,7 +17,7 @@ linters:
# themselves. identity.RequireAuthorityBinding is the one place allowed
# to make that distinction.
- pattern: ^biscuit\.Biscuit\.GetBlockID$
- pkg: ^github\.com/biscuit-auth/biscuit-go/v2$
+ pkg: ^github\.com/eclipse-biscuit/biscuit-go/v2$
msg: Use identity.RequireAuthorityBinding; GetBlockID also matches forgeable appended blocks.
goheader:
diff --git a/api/datalog.go b/api/datalog.go
index 9697b9fd..3af85e44 100644
--- a/api/datalog.go
+++ b/api/datalog.go
@@ -20,8 +20,8 @@ import (
"sort"
"strings"
- "github.com/biscuit-auth/biscuit-go/v2"
- "github.com/biscuit-auth/biscuit-go/v2/parser"
+ "github.com/eclipse-biscuit/biscuit-go/v2"
+ "github.com/eclipse-biscuit/biscuit-go/v2/parser"
)
// ============================================================================
diff --git a/api/datalog_test.go b/api/datalog_test.go
index e2717eb1..29c57f0f 100644
--- a/api/datalog_test.go
+++ b/api/datalog_test.go
@@ -23,8 +23,8 @@ import (
"testing"
"time"
- "github.com/biscuit-auth/biscuit-go/v2"
- "github.com/biscuit-auth/biscuit-go/v2/datalog"
+ "github.com/eclipse-biscuit/biscuit-go/v2"
+ "github.com/eclipse-biscuit/biscuit-go/v2/datalog"
)
// helper to generate keypair for tests
diff --git a/api/egress.go b/api/egress.go
index cef947f3..578cbfaa 100644
--- a/api/egress.go
+++ b/api/egress.go
@@ -20,7 +20,7 @@ import (
"regexp"
"strings"
- "github.com/biscuit-auth/biscuit-go/v2"
+ "github.com/eclipse-biscuit/biscuit-go/v2"
)
// credentialNameSyntax bounds a credential name to one safe file name: the
diff --git a/api/egress_test.go b/api/egress_test.go
index 36d81ab1..c10cd053 100644
--- a/api/egress_test.go
+++ b/api/egress_test.go
@@ -19,7 +19,7 @@ import (
"strings"
"testing"
- "github.com/biscuit-auth/biscuit-go/v2"
+ "github.com/eclipse-biscuit/biscuit-go/v2"
)
func TestEgressServiceType(t *testing.T) {
diff --git a/api/http_grants.go b/api/http_grants.go
index 1ad05686..7099d16e 100644
--- a/api/http_grants.go
+++ b/api/http_grants.go
@@ -21,7 +21,7 @@ import (
"sort"
"strings"
- "github.com/biscuit-auth/biscuit-go/v2"
+ "github.com/eclipse-biscuit/biscuit-go/v2"
)
// httpMethodSyntax is the token form of an HTTP method, uppercase as the
diff --git a/api/http_grants_test.go b/api/http_grants_test.go
index 41afd760..9b01fa10 100644
--- a/api/http_grants_test.go
+++ b/api/http_grants_test.go
@@ -20,8 +20,8 @@ import (
"testing"
"time"
- "github.com/biscuit-auth/biscuit-go/v2"
- "github.com/biscuit-auth/biscuit-go/v2/datalog"
+ "github.com/eclipse-biscuit/biscuit-go/v2"
+ "github.com/eclipse-biscuit/biscuit-go/v2/datalog"
)
// authorizeHTTP evaluates the baseline policies plus BaselineHTTPRules for a
diff --git a/api/policy_rules.go b/api/policy_rules.go
index a385b4a6..15a4a08b 100644
--- a/api/policy_rules.go
+++ b/api/policy_rules.go
@@ -21,8 +21,8 @@ import (
"strings"
"unicode"
- "github.com/biscuit-auth/biscuit-go/v2"
- "github.com/biscuit-auth/biscuit-go/v2/parser"
+ "github.com/eclipse-biscuit/biscuit-go/v2"
+ "github.com/eclipse-biscuit/biscuit-go/v2/parser"
"github.com/libp2p/go-libp2p/core/peer"
)
diff --git a/api/policy_rules_test.go b/api/policy_rules_test.go
index c29873ad..942235d5 100644
--- a/api/policy_rules_test.go
+++ b/api/policy_rules_test.go
@@ -19,7 +19,7 @@ import (
"strings"
"testing"
- "github.com/biscuit-auth/biscuit-go/v2/parser"
+ "github.com/eclipse-biscuit/biscuit-go/v2/parser"
"github.com/libp2p/go-libp2p/core/peer"
)
diff --git a/api/tar.go b/api/tar.go
index e37a8c02..1bd18dbe 100644
--- a/api/tar.go
+++ b/api/tar.go
@@ -22,7 +22,7 @@ import (
"strings"
"time"
- "github.com/biscuit-auth/biscuit-go/v2"
+ "github.com/eclipse-biscuit/biscuit-go/v2"
"google.golang.org/protobuf/encoding/protojson"
"google.golang.org/protobuf/proto"
"google.golang.org/protobuf/types/known/timestamppb"
diff --git a/go.mod b/go.mod
index 58fcd9a7..bd940f35 100644
--- a/go.mod
+++ b/go.mod
@@ -4,9 +4,9 @@ go 1.26.6
require (
github.com/a2aproject/a2a-go/v2 v2.6.0
- github.com/biscuit-auth/biscuit-go/v2 v2.2.0
github.com/coreos/go-oidc/v3 v3.21.0
github.com/dustin/go-humanize v1.1.0
+ github.com/eclipse-biscuit/biscuit-go/v2 v2.2.2-0.20261014091600-44760b5181aa
github.com/envoyproxy/go-control-plane/envoy v1.39.0
github.com/golang-jwt/jwt/v5 v5.3.1
github.com/hashicorp/golang-lru/v2 v2.0.7
diff --git a/go.sum b/go.sum
index b1d91d35..df0a225f 100644
--- a/go.sum
+++ b/go.sum
@@ -14,8 +14,6 @@ github.com/benbjohnson/clock v1.3.5 h1:VvXlSJBzZpA/zum6Sj74hxwYI2DIxRWuNIoXAzHZz
github.com/benbjohnson/clock v1.3.5/go.mod h1:J11/hYXuz8f4ySSvYwY0FKfm+ezbsZBKZxNJlLklBHA=
github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM=
github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw=
-github.com/biscuit-auth/biscuit-go/v2 v2.2.0 h1:1zBfZ0ZCbxJbhtAhou6Fa07lBlJ+wcphBEPV/sENBvY=
-github.com/biscuit-auth/biscuit-go/v2 v2.2.0/go.mod h1:c7AsMdr816vPd/4Psb3z6Xv2EKciKxSEayI8ueBaJio=
github.com/canonical/go-sp800.90a-drbg v0.0.0-20210314144037-6eeb1040d6c3 h1:oe6fCvaEpkhyW3qAicT0TnGtyht/UrgvOwMcEgLb7Aw=
github.com/canonical/go-sp800.90a-drbg v0.0.0-20210314144037-6eeb1040d6c3/go.mod h1:qdP0gaj0QtgX2RUZhnlVrceJ+Qln8aSlDyJwelLLFeM=
github.com/cespare/xxhash/v2 v2.3.0 h1:UL815xU9SqsFlibzuggzjXhog7bL6oX9BbNZnL2UFvs=
@@ -26,8 +24,6 @@ github.com/coreos/go-oidc/v3 v3.21.0 h1:wZo4Q9Pum8dYEj0eMUPrqR+kvuGkeUplbLpNCkBq
github.com/coreos/go-oidc/v3 v3.21.0/go.mod h1:DYCf24+ncYi+XkIH97GY1+dqoRlbaSI26KVTCI9SrY4=
github.com/cpuguy83/go-md2man/v2 v2.0.6/go.mod h1:oOW0eioCTA6cOiMLiUPZOpcVxMig6NIQQ7OS05n1F4g=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
-github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
-github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/davidlazar/go-crypto v0.0.0-20200604182044-b73af7476f6c h1:pFUpOrbxDR6AkioZ1ySsx5yxlDQZ8stG2b88gTPxgJU=
github.com/davidlazar/go-crypto v0.0.0-20200604182044-b73af7476f6c/go.mod h1:6UhI8N9EjYm1c2odKpFpAYeR8dsBeM7PtzQhRgxRr9U=
github.com/decred/dcrd/crypto/blake256 v1.1.0 h1:zPMNGQCm0g4QTY27fOCorQW7EryeQ/U0x++OzVrdms8=
@@ -38,6 +34,8 @@ github.com/dunglas/httpsfv v1.1.0 h1:Jw76nAyKWKZKFrpMMcL76y35tOpYHqQPzHQiwDvpe54
github.com/dunglas/httpsfv v1.1.0/go.mod h1:zID2mqw9mFsnt7YC3vYQ9/cjq30q41W+1AnDwH8TiMg=
github.com/dustin/go-humanize v1.1.0 h1:dbKTrvD0klcbBV/h4AWJdMuZogJACoMlvWIWZ5b2xWg=
github.com/dustin/go-humanize v1.1.0/go.mod h1:hc1CvRkJMsgxqjmjMQF3QNRAZBwY8AXBAzKYoSX9sFI=
+github.com/eclipse-biscuit/biscuit-go/v2 v2.2.2-0.20261014091600-44760b5181aa h1:2Od3P2lQ5HshpyUIAJyXAotEQeiHIgo8HVw3E+PxO9A=
+github.com/eclipse-biscuit/biscuit-go/v2 v2.2.2-0.20261014091600-44760b5181aa/go.mod h1:pSiLMeu4EYqOE5elyfa9oJH00mguoVAgz1zkKI4Cdkg=
github.com/envoyproxy/go-control-plane/envoy v1.39.0 h1:1uwRDYPYG8BIBU9Mj1sUAebNmlM6beu/ZKKweSLDxk8=
github.com/envoyproxy/go-control-plane/envoy v1.39.0/go.mod h1:5e4ylfTZO723MEEFsCpSW4ZEBWR8mwkEyXfwJBTCZ9c=
github.com/envoyproxy/protoc-gen-validate v1.3.3 h1:MVQghNeW+LZcmXe7SY1V36Z+WFMDjpqGAGacLe2T0ds=
@@ -249,7 +247,6 @@ github.com/pion/webrtc/v4 v4.2.17 h1:no7rmszKV1jkGz7GvErGp/VlnzGu/koVHO9CRjItiVU
github.com/pion/webrtc/v4 v4.2.17/go.mod h1:xRtWZDJ0FbyW98WVCCgOvxaBM5gxqqJa7pCc4f+x/LI=
github.com/planetscale/vtprotobuf v0.6.1-0.20240319094008-0393e58bdf10 h1:GFCKgmp0tecUJ0sJuv4pzYCqS9+RGSn52M3FUwPs+uo=
github.com/planetscale/vtprotobuf v0.6.1-0.20240319094008-0393e58bdf10/go.mod h1:t/avpk3KcrXxUnYOhZhMXJlSEyie6gQbtLq5NM3loB8=
-github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/polydawn/refmt v0.90.0 h1:58BfEsP+G4uIRD9ApJTFsag+Mw+QQlZuH9uI/lPmjfY=
github.com/polydawn/refmt v0.90.0/go.mod h1:XAlDMOunevTYDsZtOKQd8itHXFMsX/QtDkPHaj6ZLxk=
@@ -295,8 +292,8 @@ github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+
github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI=
github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4=
github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
-github.com/stretchr/testify v1.11.1 h1:7s2iGBzp5EwR7/aIZr8ao5+dra3wiQyKjjFuvgVKu7U=
-github.com/stretchr/testify v1.11.1/go.mod h1:wZwfW3scLgRK+23gO65QZefKpKQRnfz6sD981Nm4B6U=
+github.com/stretchr/testify v1.12.1 h1:EuwCh5fleGS7H32xRwO3wRGT7DxrDhLAT6FF8MpWDWE=
+github.com/stretchr/testify v1.12.1/go.mod h1:MDEgiDPPsNp5cuIrHPPCyornHKgEVbtFUmoNlxoYthg=
github.com/tidwall/gjson v1.14.2/go.mod h1:/wbyibRr2FHMks5tjHJ5F8dMZh3AcwJEMf5vlfC0lxk=
github.com/tidwall/gjson v1.19.0 h1:xwxm7n691Uf3u5OFjzngavjGTh55KX5q/9w9xHW88JU=
github.com/tidwall/gjson v1.19.0/go.mod h1:V37/opeE/JbLUOfH0QTXiNez2l0RUjYUhpT4szFQAfc=
@@ -338,8 +335,9 @@ go.uber.org/zap v1.28.0 h1:IZzaP1Fv73/T/pBMLk4VutPl36uNC+OSUh3JLG3FIjo=
go.uber.org/zap v1.28.0/go.mod h1:rDLpOi171uODNm/mxFcuYWxDsqWSAVkFdX4XojSKg/Q=
go.yaml.in/yaml/v2 v2.4.4 h1:tuyd0P+2Ont/d6e2rl3be67goVK4R6deVxCUX5vyPaQ=
go.yaml.in/yaml/v2 v2.4.4/go.mod h1:gMZqIpDtDqOfM0uNfy0SkpRhvUryYH0Z6wdMYcacYXQ=
-go.yaml.in/yaml/v3 v3.0.4 h1:tfq32ie2Jv2UxXFdLJdh3jXuOzWiL1fo0bu/FbuKpbc=
go.yaml.in/yaml/v3 v3.0.4/go.mod h1:DhzuOOF2ATzADvBadXxruRBLzYTpT36CKvDb3+aBEFg=
+go.yaml.in/yaml/v3 v3.0.5 h1:N6y/pJk8buWs9NY5ERU2HSMfm+IuD/OtfdAnq6kESPw=
+go.yaml.in/yaml/v3 v3.0.5/go.mod h1:HVTZu1O7/Vkt2N+BFy8Zza+lnLsABggaTM2ZpNIGuKg=
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
golang.org/x/crypto v0.0.0-20190611184440-5c40567a22f8/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
@@ -402,8 +400,6 @@ gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY=
gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ=
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
-gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
-gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
lukechampine.com/blake3 v1.4.1 h1:I3Smz7gso8w4/TunLKec6K2fn+kyKtDxr/xcQEN84Wg=
lukechampine.com/blake3 v1.4.1/go.mod h1:QFosUxmjB8mnrWFSNwKmvxHpfY72bmD2tQ0kBMM3kwo=
modernc.org/cc/v4 v4.29.7 h1:q+NXGJ0bK3b4TXFYQQVr9pYETGnmwFWkrUzJnMya/Tg=
diff --git a/hack/gen-sdk-datalog/main.go b/hack/gen-sdk-datalog/main.go
index 8ee03e7f..b44ac193 100644
--- a/hack/gen-sdk-datalog/main.go
+++ b/hack/gen-sdk-datalog/main.go
@@ -34,8 +34,8 @@ import (
"strings"
"time"
- "github.com/biscuit-auth/biscuit-go/v2"
- "github.com/biscuit-auth/biscuit-go/v2/parser"
+ "github.com/eclipse-biscuit/biscuit-go/v2"
+ "github.com/eclipse-biscuit/biscuit-go/v2/parser"
"github.com/google/agentmesh/api"
"github.com/google/agentmesh/internal/identity"
"github.com/libp2p/go-libp2p/core/crypto"
@@ -159,7 +159,7 @@ func buildConformanceSuite() tarConformanceSuite {
expiredExp := time.Date(2020, 1, 1, 0, 0, 0, 0, time.UTC)
// Mint provider Biscuit.
- provBuilder := biscuit.NewBuilder(cpPriv, biscuit.WithRandom(newDeterministicReader("provider-root")))
+ provBuilder := biscuit.NewBuilder(cpPriv, biscuit.WithRNG(newDeterministicReader("provider-root")))
for _, f := range []biscuit.Fact{
{Predicate: biscuit.Predicate{Name: api.FactNode, IDs: []biscuit.Term{biscuit.String(providerPeer.String())}}},
{Predicate: biscuit.Predicate{Name: api.FactClientPeerID, IDs: []biscuit.Term{biscuit.String(providerPeer.String())}}},
@@ -180,7 +180,7 @@ func buildConformanceSuite() tarConformanceSuite {
}
// Mint caller authority Biscuit with wildcard service and target grants.
- callerBuilder := biscuit.NewBuilder(cpPriv, biscuit.WithRandom(newDeterministicReader("caller-root")))
+ callerBuilder := biscuit.NewBuilder(cpPriv, biscuit.WithRNG(newDeterministicReader("caller-root")))
for _, f := range []biscuit.Fact{
{Predicate: biscuit.Predicate{Name: api.FactNode, IDs: []biscuit.Term{biscuit.String(callerPeer.String())}}},
{Predicate: biscuit.Predicate{Name: api.FactClientPeerID, IDs: []biscuit.Term{biscuit.String(callerPeer.String())}}},
diff --git a/internal/controlplane/biscuit_ttl_test.go b/internal/controlplane/biscuit_ttl_test.go
index fd1d04ce..12358a48 100644
--- a/internal/controlplane/biscuit_ttl_test.go
+++ b/internal/controlplane/biscuit_ttl_test.go
@@ -25,8 +25,8 @@ import (
"testing"
"time"
- "github.com/biscuit-auth/biscuit-go/v2"
- "github.com/biscuit-auth/biscuit-go/v2/parser"
+ "github.com/eclipse-biscuit/biscuit-go/v2"
+ "github.com/eclipse-biscuit/biscuit-go/v2/parser"
"github.com/google/agentmesh/api"
"github.com/google/agentmesh/internal/identity"
"github.com/google/agentmesh/internal/storage"
diff --git a/internal/controlplane/identity_lifecycle_test.go b/internal/controlplane/identity_lifecycle_test.go
index f903aa70..89e02a69 100644
--- a/internal/controlplane/identity_lifecycle_test.go
+++ b/internal/controlplane/identity_lifecycle_test.go
@@ -28,7 +28,7 @@ import (
"testing"
"time"
- "github.com/biscuit-auth/biscuit-go/v2"
+ "github.com/eclipse-biscuit/biscuit-go/v2"
"github.com/google/agentmesh/api"
"github.com/google/agentmesh/internal/identity"
"github.com/google/agentmesh/internal/storage"
diff --git a/internal/controlplane/policy_scale_test.go b/internal/controlplane/policy_scale_test.go
index ee68b433..ce085717 100644
--- a/internal/controlplane/policy_scale_test.go
+++ b/internal/controlplane/policy_scale_test.go
@@ -24,7 +24,7 @@ import (
"testing"
"time"
- "github.com/biscuit-auth/biscuit-go/v2/datalog"
+ "github.com/eclipse-biscuit/biscuit-go/v2/datalog"
"github.com/golang-jwt/jwt/v5"
"github.com/google/agentmesh/api"
"github.com/google/agentmesh/internal/identity"
diff --git a/internal/controlplane/server.go b/internal/controlplane/server.go
index b628c749..ce2ac2d5 100644
--- a/internal/controlplane/server.go
+++ b/internal/controlplane/server.go
@@ -35,8 +35,8 @@ import (
"sync"
"time"
- "github.com/biscuit-auth/biscuit-go/v2/parser"
"github.com/coreos/go-oidc/v3/oidc"
+ "github.com/eclipse-biscuit/biscuit-go/v2/parser"
jwt "github.com/golang-jwt/jwt/v5"
"github.com/google/agentmesh/api"
"github.com/google/agentmesh/internal/identity"
diff --git a/internal/controlplane/server_test.go b/internal/controlplane/server_test.go
index 4b7ccc5e..22d18c1b 100644
--- a/internal/controlplane/server_test.go
+++ b/internal/controlplane/server_test.go
@@ -37,8 +37,8 @@ import (
"testing"
"time"
- "github.com/biscuit-auth/biscuit-go/v2"
- "github.com/biscuit-auth/biscuit-go/v2/datalog"
+ "github.com/eclipse-biscuit/biscuit-go/v2"
+ "github.com/eclipse-biscuit/biscuit-go/v2/datalog"
"github.com/golang-jwt/jwt/v5"
"github.com/google/agentmesh/api"
"github.com/google/agentmesh/internal/identity"
diff --git a/internal/controlplane/sts.go b/internal/controlplane/sts.go
index 740e4757..2b8414c8 100644
--- a/internal/controlplane/sts.go
+++ b/internal/controlplane/sts.go
@@ -38,8 +38,8 @@ import (
"sync"
"time"
- "github.com/biscuit-auth/biscuit-go/v2"
- "github.com/biscuit-auth/biscuit-go/v2/parser"
+ "github.com/eclipse-biscuit/biscuit-go/v2"
+ "github.com/eclipse-biscuit/biscuit-go/v2/parser"
jwt "github.com/golang-jwt/jwt/v5"
"github.com/google/agentmesh/api"
"github.com/google/agentmesh/internal/identity"
diff --git a/internal/controlplane/sts_test.go b/internal/controlplane/sts_test.go
index dd6c1680..ca594281 100644
--- a/internal/controlplane/sts_test.go
+++ b/internal/controlplane/sts_test.go
@@ -34,7 +34,7 @@ import (
"testing"
"time"
- "github.com/biscuit-auth/biscuit-go/v2"
+ "github.com/eclipse-biscuit/biscuit-go/v2"
jwt "github.com/golang-jwt/jwt/v5"
"github.com/google/agentmesh/api"
"github.com/google/agentmesh/internal/identity"
diff --git a/internal/identity/appended_blocks_test.go b/internal/identity/appended_blocks_test.go
index 909a83d2..c5ae3657 100644
--- a/internal/identity/appended_blocks_test.go
+++ b/internal/identity/appended_blocks_test.go
@@ -23,8 +23,8 @@ import (
"testing"
"time"
- "github.com/biscuit-auth/biscuit-go/v2"
- "github.com/biscuit-auth/biscuit-go/v2/parser"
+ "github.com/eclipse-biscuit/biscuit-go/v2"
+ "github.com/eclipse-biscuit/biscuit-go/v2/parser"
"github.com/google/agentmesh/api"
)
diff --git a/internal/identity/attenuation_test.go b/internal/identity/attenuation_test.go
index 48737324..40ac0ec5 100644
--- a/internal/identity/attenuation_test.go
+++ b/internal/identity/attenuation_test.go
@@ -21,8 +21,8 @@ import (
"testing"
"time"
- "github.com/biscuit-auth/biscuit-go/v2"
- "github.com/biscuit-auth/biscuit-go/v2/parser"
+ "github.com/eclipse-biscuit/biscuit-go/v2"
+ "github.com/eclipse-biscuit/biscuit-go/v2/parser"
"google.golang.org/protobuf/proto"
"google.golang.org/protobuf/types/known/timestamppb"
diff --git a/internal/identity/biscuit.go b/internal/identity/biscuit.go
index b28a9059..6d206ae7 100644
--- a/internal/identity/biscuit.go
+++ b/internal/identity/biscuit.go
@@ -24,11 +24,11 @@ import (
"strings"
"time"
- "github.com/biscuit-auth/biscuit-go/v2"
- "github.com/biscuit-auth/biscuit-go/v2/datalog"
- "github.com/biscuit-auth/biscuit-go/v2/parser"
- "github.com/biscuit-auth/biscuit-go/v2/pb"
"github.com/coreos/go-oidc/v3/oidc"
+ "github.com/eclipse-biscuit/biscuit-go/v2"
+ "github.com/eclipse-biscuit/biscuit-go/v2/datalog"
+ "github.com/eclipse-biscuit/biscuit-go/v2/parser"
+ "github.com/eclipse-biscuit/biscuit-go/v2/pb"
"github.com/golang-jwt/jwt/v5"
"github.com/google/agentmesh/api"
"github.com/libp2p/go-libp2p/core/peer"
@@ -361,7 +361,7 @@ func mintBiscuitWithBinding(signingKey ed25519.PrivateKey, remotePeer peer.ID, d
}
func mintBiscuitWithBindingAndRand(rng io.Reader, signingKey ed25519.PrivateKey, remotePeer peer.ID, delegated bool, roles []string, expiration time.Time, claims jwt.MapClaims, policyRoles []*api.PolicyRole, labels map[string]string) ([]byte, error) {
- builder := biscuit.NewBuilder(signingKey, biscuit.WithRandom(rng))
+ builder := biscuit.NewBuilder(signingKey, biscuit.WithRNG(rng))
addedFacts := make(map[string]bool)
addFact := func(fact biscuit.Fact) error {
factStr := fact.String()
diff --git a/internal/identity/biscuit_test.go b/internal/identity/biscuit_test.go
index 5fe045f4..38f3fe4e 100644
--- a/internal/identity/biscuit_test.go
+++ b/internal/identity/biscuit_test.go
@@ -22,9 +22,9 @@ import (
"testing"
"time"
- "github.com/biscuit-auth/biscuit-go/v2"
- "github.com/biscuit-auth/biscuit-go/v2/datalog"
"github.com/coreos/go-oidc/v3/oidc"
+ "github.com/eclipse-biscuit/biscuit-go/v2"
+ "github.com/eclipse-biscuit/biscuit-go/v2/datalog"
"github.com/golang-jwt/jwt/v5"
"github.com/google/agentmesh/api"
"github.com/libp2p/go-libp2p/core/crypto"
diff --git a/internal/identity/claims_test.go b/internal/identity/claims_test.go
index 38c3797f..3e142ae8 100644
--- a/internal/identity/claims_test.go
+++ b/internal/identity/claims_test.go
@@ -17,7 +17,7 @@ package identity
import (
"testing"
- "github.com/biscuit-auth/biscuit-go/v2"
+ "github.com/eclipse-biscuit/biscuit-go/v2"
"github.com/google/agentmesh/api"
)
diff --git a/internal/identity/custom_datalog_test.go b/internal/identity/custom_datalog_test.go
index 5a75c402..0b5d76d2 100644
--- a/internal/identity/custom_datalog_test.go
+++ b/internal/identity/custom_datalog_test.go
@@ -21,7 +21,7 @@ import (
"testing"
"time"
- "github.com/biscuit-auth/biscuit-go/v2"
+ "github.com/eclipse-biscuit/biscuit-go/v2"
"github.com/google/agentmesh/api"
)
diff --git a/internal/identity/http_grants_test.go b/internal/identity/http_grants_test.go
index 81201ea5..a501a8a0 100644
--- a/internal/identity/http_grants_test.go
+++ b/internal/identity/http_grants_test.go
@@ -21,7 +21,7 @@ import (
"testing"
"time"
- "github.com/biscuit-auth/biscuit-go/v2"
+ "github.com/eclipse-biscuit/biscuit-go/v2"
"github.com/google/agentmesh/api"
)
diff --git a/internal/identity/peer_binding_test.go b/internal/identity/peer_binding_test.go
index c96ce9b2..894e0cef 100644
--- a/internal/identity/peer_binding_test.go
+++ b/internal/identity/peer_binding_test.go
@@ -21,7 +21,7 @@ import (
"testing"
"time"
- "github.com/biscuit-auth/biscuit-go/v2"
+ "github.com/eclipse-biscuit/biscuit-go/v2"
"github.com/google/agentmesh/api"
"github.com/libp2p/go-libp2p/core/crypto"
"github.com/libp2p/go-libp2p/core/peer"
diff --git a/internal/node/config.go b/internal/node/config.go
index fabd89c3..d74f706c 100644
--- a/internal/node/config.go
+++ b/internal/node/config.go
@@ -19,8 +19,8 @@ import (
"os"
"strings"
- "github.com/biscuit-auth/biscuit-go/v2"
- "github.com/biscuit-auth/biscuit-go/v2/parser"
+ "github.com/eclipse-biscuit/biscuit-go/v2"
+ "github.com/eclipse-biscuit/biscuit-go/v2/parser"
"github.com/google/agentmesh/api"
"gopkg.in/yaml.v2"
)
diff --git a/internal/node/egress_route_test.go b/internal/node/egress_route_test.go
index c73e24dd..105d878c 100644
--- a/internal/node/egress_route_test.go
+++ b/internal/node/egress_route_test.go
@@ -24,7 +24,7 @@ import (
"testing"
"time"
- "github.com/biscuit-auth/biscuit-go/v2"
+ "github.com/eclipse-biscuit/biscuit-go/v2"
"github.com/google/agentmesh/api"
)
diff --git a/internal/node/egress_test.go b/internal/node/egress_test.go
index 413f2f9f..540fae1e 100644
--- a/internal/node/egress_test.go
+++ b/internal/node/egress_test.go
@@ -25,7 +25,7 @@ import (
"testing"
"time"
- "github.com/biscuit-auth/biscuit-go/v2"
+ "github.com/eclipse-biscuit/biscuit-go/v2"
"github.com/google/agentmesh/api"
"github.com/libp2p/go-libp2p/core/peer"
"github.com/prometheus/client_golang/prometheus"
diff --git a/internal/node/enroll_test.go b/internal/node/enroll_test.go
index 6b00d065..504f2b48 100644
--- a/internal/node/enroll_test.go
+++ b/internal/node/enroll_test.go
@@ -28,7 +28,7 @@ import (
"testing"
"time"
- "github.com/biscuit-auth/biscuit-go/v2"
+ "github.com/eclipse-biscuit/biscuit-go/v2"
"github.com/google/agentmesh/api"
"github.com/google/agentmesh/internal/identity"
"github.com/libp2p/go-libp2p"
diff --git a/internal/node/identity_evidence.go b/internal/node/identity_evidence.go
index 5928150c..453b5843 100644
--- a/internal/node/identity_evidence.go
+++ b/internal/node/identity_evidence.go
@@ -25,7 +25,7 @@ import (
"strings"
"time"
- "github.com/biscuit-auth/biscuit-go/v2"
+ "github.com/eclipse-biscuit/biscuit-go/v2"
"github.com/google/agentmesh/api"
"github.com/google/agentmesh/internal/identity"
"github.com/libp2p/go-libp2p/core/peer"
diff --git a/internal/node/mcp_handlers_test.go b/internal/node/mcp_handlers_test.go
index 5ecc9c81..ad03b44e 100644
--- a/internal/node/mcp_handlers_test.go
+++ b/internal/node/mcp_handlers_test.go
@@ -26,7 +26,7 @@ import (
"testing"
"time"
- "github.com/biscuit-auth/biscuit-go/v2"
+ "github.com/eclipse-biscuit/biscuit-go/v2"
"github.com/google/agentmesh/api"
"github.com/google/agentmesh/internal/identity"
"github.com/libp2p/go-libp2p/core/crypto"
diff --git a/internal/node/middleware.go b/internal/node/middleware.go
index 79366191..1ac4d060 100644
--- a/internal/node/middleware.go
+++ b/internal/node/middleware.go
@@ -21,7 +21,7 @@ import (
"sync/atomic"
"time"
- "github.com/biscuit-auth/biscuit-go/v2"
+ "github.com/eclipse-biscuit/biscuit-go/v2"
"github.com/google/agentmesh/api"
"github.com/google/agentmesh/internal/identity"
"github.com/libp2p/go-libp2p/core/network"
diff --git a/internal/node/middleware_test.go b/internal/node/middleware_test.go
index a048f420..839c5667 100644
--- a/internal/node/middleware_test.go
+++ b/internal/node/middleware_test.go
@@ -29,8 +29,8 @@ import (
"testing"
"time"
- "github.com/biscuit-auth/biscuit-go/v2"
- "github.com/biscuit-auth/biscuit-go/v2/parser"
+ "github.com/eclipse-biscuit/biscuit-go/v2"
+ "github.com/eclipse-biscuit/biscuit-go/v2/parser"
"github.com/google/agentmesh/api"
"github.com/google/agentmesh/internal/identity"
"github.com/google/agentmesh/internal/ratelimit"
diff --git a/internal/node/node.go b/internal/node/node.go
index b3a5d13a..5b5673b5 100644
--- a/internal/node/node.go
+++ b/internal/node/node.go
@@ -37,7 +37,7 @@ import (
"time"
- "github.com/biscuit-auth/biscuit-go/v2"
+ "github.com/eclipse-biscuit/biscuit-go/v2"
"github.com/google/agentmesh/api"
cpclient "github.com/google/agentmesh/internal/controlplane/client"
"github.com/google/agentmesh/internal/identity"
diff --git a/internal/node/node_test.go b/internal/node/node_test.go
index 209c961f..c8ba1e02 100644
--- a/internal/node/node_test.go
+++ b/internal/node/node_test.go
@@ -23,7 +23,7 @@ import (
"testing"
"time"
- "github.com/biscuit-auth/biscuit-go/v2"
+ "github.com/eclipse-biscuit/biscuit-go/v2"
"github.com/google/agentmesh/api"
"github.com/google/agentmesh/internal/identity"
"github.com/google/agentmesh/internal/ratelimit"
diff --git a/internal/node/refresh_test.go b/internal/node/refresh_test.go
index cd822278..3efd7aed 100644
--- a/internal/node/refresh_test.go
+++ b/internal/node/refresh_test.go
@@ -29,7 +29,7 @@ import (
"testing"
"time"
- "github.com/biscuit-auth/biscuit-go/v2"
+ "github.com/eclipse-biscuit/biscuit-go/v2"
"github.com/google/agentmesh/api"
"github.com/libp2p/go-libp2p/core/peer"
"google.golang.org/protobuf/proto"
diff --git a/internal/node/router_auth_dedupe_test.go b/internal/node/router_auth_dedupe_test.go
index d7aa2676..7957f5cd 100644
--- a/internal/node/router_auth_dedupe_test.go
+++ b/internal/node/router_auth_dedupe_test.go
@@ -28,7 +28,7 @@ import (
"testing"
"time"
- "github.com/biscuit-auth/biscuit-go/v2"
+ "github.com/eclipse-biscuit/biscuit-go/v2"
"github.com/google/agentmesh/api"
"github.com/libp2p/go-libp2p"
"github.com/libp2p/go-libp2p/core/crypto"
diff --git a/internal/node/static_service_test.go b/internal/node/static_service_test.go
index ba96e5ec..3166afae 100644
--- a/internal/node/static_service_test.go
+++ b/internal/node/static_service_test.go
@@ -26,7 +26,7 @@ import (
"testing"
"time"
- "github.com/biscuit-auth/biscuit-go/v2"
+ "github.com/eclipse-biscuit/biscuit-go/v2"
"github.com/google/agentmesh/api"
"github.com/libp2p/go-libp2p"
dht "github.com/libp2p/go-libp2p-kad-dht"
diff --git a/internal/node/sts_test.go b/internal/node/sts_test.go
index ace3730d..08cdf1c9 100644
--- a/internal/node/sts_test.go
+++ b/internal/node/sts_test.go
@@ -32,7 +32,7 @@ import (
"testing"
"time"
- "github.com/biscuit-auth/biscuit-go/v2"
+ "github.com/eclipse-biscuit/biscuit-go/v2"
authv3 "github.com/envoyproxy/go-control-plane/envoy/service/auth/v3"
"github.com/golang-jwt/jwt/v5"
"github.com/google/agentmesh/api"
diff --git a/internal/router/trust_test.go b/internal/router/trust_test.go
index cb3bf0f5..63a47915 100644
--- a/internal/router/trust_test.go
+++ b/internal/router/trust_test.go
@@ -29,7 +29,7 @@ import (
"testing"
"time"
- "github.com/biscuit-auth/biscuit-go/v2"
+ "github.com/eclipse-biscuit/biscuit-go/v2"
"github.com/google/agentmesh/api"
"github.com/libp2p/go-libp2p/core/crypto"
"github.com/libp2p/go-libp2p/core/peer"
diff --git a/mobile/agentmesh-node-ffi/ffi/ffi_test.go b/mobile/agentmesh-node-ffi/ffi/ffi_test.go
index 3703762d..457a0932 100644
--- a/mobile/agentmesh-node-ffi/ffi/ffi_test.go
+++ b/mobile/agentmesh-node-ffi/ffi/ffi_test.go
@@ -24,7 +24,7 @@ import (
"testing"
"time"
- "github.com/biscuit-auth/biscuit-go/v2"
+ "github.com/eclipse-biscuit/biscuit-go/v2"
"github.com/google/agentmesh/api"
"github.com/google/agentmesh/internal/node"
"github.com/libp2p/go-libp2p"
diff --git a/tests/e2e/gen_db.go b/tests/e2e/gen_db.go
index 9e339540..8a33833f 100644
--- a/tests/e2e/gen_db.go
+++ b/tests/e2e/gen_db.go
@@ -23,7 +23,7 @@ import (
"path/filepath"
"time"
- "github.com/biscuit-auth/biscuit-go/v2"
+ "github.com/eclipse-biscuit/biscuit-go/v2"
"github.com/google/agentmesh/api"
"go.etcd.io/bbolt"
)
diff --git a/tests/integration/fallback_test.go b/tests/integration/fallback_test.go
index 2824a03e..9fc63cf8 100644
--- a/tests/integration/fallback_test.go
+++ b/tests/integration/fallback_test.go
@@ -23,7 +23,7 @@ import (
"testing"
"time"
- "github.com/biscuit-auth/biscuit-go/v2/parser"
+ "github.com/eclipse-biscuit/biscuit-go/v2/parser"
"github.com/google/agentmesh/internal/node"
)
diff --git a/tests/integration/identity_evidence_test.go b/tests/integration/identity_evidence_test.go
index f9f52d7c..89c148e2 100644
--- a/tests/integration/identity_evidence_test.go
+++ b/tests/integration/identity_evidence_test.go
@@ -31,8 +31,8 @@ import (
"testing"
"time"
- "github.com/biscuit-auth/biscuit-go/v2"
- "github.com/biscuit-auth/biscuit-go/v2/datalog"
+ "github.com/eclipse-biscuit/biscuit-go/v2"
+ "github.com/eclipse-biscuit/biscuit-go/v2/datalog"
"github.com/google/agentmesh/api"
"github.com/libp2p/go-libp2p/core/peer"
"google.golang.org/protobuf/encoding/protojson"
diff --git a/tests/integration/minimal_helpers_test.go b/tests/integration/minimal_helpers_test.go
index 7646c396..3a39cde3 100644
--- a/tests/integration/minimal_helpers_test.go
+++ b/tests/integration/minimal_helpers_test.go
@@ -39,7 +39,7 @@ import (
"net/http"
"net/http/httptest"
- "github.com/biscuit-auth/biscuit-go/v2"
+ "github.com/eclipse-biscuit/biscuit-go/v2"
"github.com/google/agentmesh/api"
"github.com/libp2p/go-libp2p"
"github.com/libp2p/go-libp2p/core/host"
diff --git a/tests/integration/policy_grants_test.go b/tests/integration/policy_grants_test.go
index 314161a1..0d3650a6 100644
--- a/tests/integration/policy_grants_test.go
+++ b/tests/integration/policy_grants_test.go
@@ -27,8 +27,8 @@ import (
"testing"
"time"
- "github.com/biscuit-auth/biscuit-go/v2"
- "github.com/biscuit-auth/biscuit-go/v2/parser"
+ "github.com/eclipse-biscuit/biscuit-go/v2"
+ "github.com/eclipse-biscuit/biscuit-go/v2/parser"
"github.com/google/agentmesh/api"
"github.com/google/agentmesh/internal/identity"
"github.com/libp2p/go-libp2p/core/crypto"