diff --git a/.beads/config.yaml b/.beads/config.yaml index e95f8fa3..95573f66 100644 --- a/.beads/config.yaml +++ b/.beads/config.yaml @@ -65,4 +65,4 @@ # - linear.api_key → use LINEAR_API_KEY env var instead # - github.token → use GITHUB_TOKEN env var instead -sync.remote: "git+https://github.com/thinksyncs/agents-secure-binding.git" \ No newline at end of file +sync.remote: "git+https://github.com/ToppyMicroServices/agents-secure-binding.git" diff --git a/.github/workflows/checkproto.yaml b/.github/workflows/checkproto.yaml index 2ce30818..ea0d116d 100644 --- a/.github/workflows/checkproto.yaml +++ b/.github/workflows/checkproto.yaml @@ -31,7 +31,7 @@ jobs: - name: Install Go uses: actions/setup-go@v5 with: - go-version: 1.26.x + go-version: 1.26.6 - name: Set up protoc run: | diff --git a/.github/workflows/hardware-attestation-red-team.yaml b/.github/workflows/hardware-attestation-red-team.yaml index b6e2d605..91e329e9 100644 --- a/.github/workflows/hardware-attestation-red-team.yaml +++ b/.github/workflows/hardware-attestation-red-team.yaml @@ -46,7 +46,7 @@ jobs: - name: Install Go uses: actions/setup-go@v5 with: - go-version: 1.26.x + go-version: 1.26.6 cache-dependency-path: go.sum - name: Run hardware attestation replay gate diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 4371c46f..fc981341 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -21,7 +21,7 @@ jobs: - name: Install Go uses: actions/setup-go@v5 with: - go-version: 1.26.x + go-version: 1.26.6 - name: Verify module downloads run: go mod verify @@ -51,7 +51,7 @@ jobs: - name: Install Go uses: actions/setup-go@v5 with: - go-version: 1.26.x + go-version: 1.26.6 - name: Create coverage directory run: mkdir -p coverage @@ -103,7 +103,7 @@ jobs: - name: Install Go uses: actions/setup-go@v5 with: - go-version: 1.26.x + go-version: 1.26.6 cache-dependency-path: go.sum - name: Verify modules diff --git a/.github/workflows/redis-sentinel-failover.yaml b/.github/workflows/redis-sentinel-failover.yaml index 1b35abf6..dc9a5996 100644 --- a/.github/workflows/redis-sentinel-failover.yaml +++ b/.github/workflows/redis-sentinel-failover.yaml @@ -45,7 +45,7 @@ jobs: - name: Install Go uses: actions/setup-go@v5 with: - go-version: 1.26.x + go-version: 1.26.6 cache-dependency-path: go.sum - name: Run real Redis Sentinel failover gate diff --git a/.github/workflows/security-red-team.yaml b/.github/workflows/security-red-team.yaml index 13f4e413..0f3790b5 100644 --- a/.github/workflows/security-red-team.yaml +++ b/.github/workflows/security-red-team.yaml @@ -63,7 +63,7 @@ jobs: - name: Install Go uses: actions/setup-go@v5 with: - go-version: 1.26.x + go-version: 1.26.6 cache-dependency-path: go.sum - name: Run Direct-Agent security red-team tests diff --git a/.zenodo.json b/.zenodo.json index 440ef747..27a9e12e 100644 --- a/.zenodo.json +++ b/.zenodo.json @@ -1,6 +1,6 @@ { "title": "Agents Secure Binding", - "version": "0.4", + "version": "1.1.1", "upload_type": "software", "description": "A security-hardening profile and Go implementation helpers for binding upper-layer agent identity and authorization material to an accepted TLS 1.3 session, post-handshake platform-attestation facts, and local policy.", "creators": [ @@ -20,7 +20,7 @@ ], "related_identifiers": [ { - "identifier": "https://github.com/thinksyncs/agents-secure-binding", + "identifier": "https://github.com/ToppyMicroServices/agents-secure-binding", "relation": "isSupplementTo", "scheme": "url" } diff --git a/ATTRIBUTION.md b/ATTRIBUTION.md index 8620eeb9..252446c6 100644 --- a/ATTRIBUTION.md +++ b/ATTRIBUTION.md @@ -14,6 +14,6 @@ replaced with local scratch implementations. Retained notices remain where the file still contains derived Cocos code. Agents Secure Binding profile documentation, tests, vectors, and profile helper -code are maintained by ToppyMicroServices OU unless a file states otherwise. +code are maintained by ToppyMicroServices OÜ unless a file states otherwise. Cocos is implementation provenance and experience; it is not the normative scope of the Session-Bound Agent Identity Profile. diff --git a/CITATION.cff b/CITATION.cff index c9e4d23d..a0e58525 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -5,10 +5,10 @@ type: software authors: - family-names: "Okutomi" given-names: "Akira" -version: "0.4" -date-released: "2026-06-21" -repository-code: "https://github.com/thinksyncs/agents-secure-binding" -url: "https://github.com/thinksyncs/agents-secure-binding/releases/tag/v0.4" +version: "1.1.1" +date-released: "2026-08-04" +repository-code: "https://github.com/ToppyMicroServices/agents-secure-binding" +url: "https://github.com/ToppyMicroServices/agents-secure-binding/releases/tag/v1.1.1" license: "Apache-2.0" abstract: > A security-hardening profile and Go implementation helpers for binding diff --git a/PUBLICATION_TODO.md b/PUBLICATION_TODO.md index a231b870..5a975be4 100644 --- a/PUBLICATION_TODO.md +++ b/PUBLICATION_TODO.md @@ -4,9 +4,17 @@ Release blockers and evidence limits for the public draft. ## Repository Identity -Resolved for public v0.5: the repository name, Go module path, imports, -protobuf `go_package` options, examples, and local documentation use -`github.com/thinksyncs/agents-secure-binding`. +The canonical repository is moving to +`github.com/ToppyMicroServices/agents-secure-binding`. Because the published +release line has reached `v1.1.1`, the breaking namespace migration uses the +Go module path `github.com/ToppyMicroServices/agents-secure-binding/v2` and +requires a v2 release. A v0.6.0 release would incorrectly move the published +version backwards. + +The module declaration, internal imports, protobuf `go_package` options, +examples, and local documentation must use the v2 module path before that +release. Repository links, schema identifiers, and Git remotes use the +canonical repository URL without `/v2`. ## Recorded CI and Red-Team Status diff --git a/README.md b/README.md index 88448137..5670c67a 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,9 @@ # Agents Secure Binding Agents Secure Binding is a verifier-side acceptance profile and implementation -repository for binding an Agent identity to the session, context, attestation -facts, and local policy under which it is accepted. +maintained by ToppyMicroServices OÜ. Its profile design, acceptance rules, +policy model, verifier-specific logic, and security tests are developed for +this project. A verifier accepts an Agent only when a verified authority grant, holder-of-key proof, accepted TLS or exported-authenticator session, freshness @@ -13,8 +14,9 @@ The primary failure class is context diversion: accepting cryptographically valid material for a different service, tenant, Agent, task, delegation, or authority boundary than the verifier intended. -Release `v1.1.0` defines the supported verifier product surface for the -Direct-Agent v1 profile. It provides distinct attested and software-only +Release `v1.1.1` is the latest release in the supported v1 verifier product +line for the Direct-Agent v1 profile. It provides distinct attested and +software-only production compositions covering role-separated trust keys, revocation, exact TLS/action binding, TLS-protected distributed replay, and a concrete non-Split-Knowledge protected-change consumer. See @@ -218,8 +220,11 @@ for Agents Secure Binding. The repository keeps the Apache-2.0 license and retained upstream notices. See `ATTRIBUTION.md`. -Repository identity note: the public repository name and Go module path are -both `github.com/thinksyncs/agents-secure-binding`. +Repository identity note: the canonical public repository is +`github.com/ToppyMicroServices/agents-secure-binding`, and the next major Go +module path is `github.com/ToppyMicroServices/agents-secure-binding/v2`. +The Go module major version is independent of the Direct-Agent wire-profile +version. ## Verification Commands diff --git a/SECURITY.md b/SECURITY.md index 49ccefa3..2d3eb8e8 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -2,9 +2,11 @@ ## Supported Scope -This repository is pre-1.0 and currently publishes security-profile drafts, -tests, vectors, and implementation helpers. Security reports should target the -current `main` branch and any tagged release that remains publicly referenced. +This repository publishes a supported v1 verifier product surface together +with experimental security-profile drafts, tests, vectors, and implementation +helpers. Security reports should target the current `main` branch and any +tagged release that remains within the support window documented in +`docs/API_COMPATIBILITY.md`. ## Reporting a Vulnerability diff --git a/agent/algorithm/binary/binary.go b/agent/algorithm/binary/binary.go index c941a9a8..c5ef2eea 100644 --- a/agent/algorithm/binary/binary.go +++ b/agent/algorithm/binary/binary.go @@ -11,9 +11,9 @@ import ( "os/exec" "sync" - "github.com/thinksyncs/agents-secure-binding/agent/algorithm" - "github.com/thinksyncs/agents-secure-binding/agent/algorithm/logging" - "github.com/thinksyncs/agents-secure-binding/agent/events" + "github.com/ToppyMicroServices/agents-secure-binding/v2/agent/algorithm" + "github.com/ToppyMicroServices/agents-secure-binding/v2/agent/algorithm/logging" + "github.com/ToppyMicroServices/agents-secure-binding/v2/agent/events" ) var execCommand = exec.Command diff --git a/agent/algorithm/binary/binary_test.go b/agent/algorithm/binary/binary_test.go index ed9219d8..383e9be9 100644 --- a/agent/algorithm/binary/binary_test.go +++ b/agent/algorithm/binary/binary_test.go @@ -10,10 +10,10 @@ import ( "os/exec" "testing" + "github.com/ToppyMicroServices/agents-secure-binding/v2/agent/algorithm/logging" + "github.com/ToppyMicroServices/agents-secure-binding/v2/agent/events/mocks" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/mock" - "github.com/thinksyncs/agents-secure-binding/agent/algorithm/logging" - "github.com/thinksyncs/agents-secure-binding/agent/events/mocks" ) func TestNewAlgorithm(t *testing.T) { diff --git a/agent/algorithm/docker/docker.go b/agent/algorithm/docker/docker.go index 40bbba08..55c90199 100644 --- a/agent/algorithm/docker/docker.go +++ b/agent/algorithm/docker/docker.go @@ -6,8 +6,8 @@ import ( "errors" "log/slog" - "github.com/thinksyncs/agents-secure-binding/agent/algorithm" - "github.com/thinksyncs/agents-secure-binding/agent/events" + "github.com/ToppyMicroServices/agents-secure-binding/v2/agent/algorithm" + "github.com/ToppyMicroServices/agents-secure-binding/v2/agent/events" ) var ( diff --git a/agent/algorithm/docker/docker_test.go b/agent/algorithm/docker/docker_test.go index 8707dfe8..f9caa179 100644 --- a/agent/algorithm/docker/docker_test.go +++ b/agent/algorithm/docker/docker_test.go @@ -7,8 +7,8 @@ import ( "os" "testing" + "github.com/ToppyMicroServices/agents-secure-binding/v2/agent/events/mocks" "github.com/stretchr/testify/assert" - "github.com/thinksyncs/agents-secure-binding/agent/events/mocks" ) // TestNewAlgorithm tests the NewAlgorithm function. diff --git a/agent/algorithm/logging/logging.go b/agent/algorithm/logging/logging.go index 7c2c006d..51148c1b 100644 --- a/agent/algorithm/logging/logging.go +++ b/agent/algorithm/logging/logging.go @@ -8,7 +8,7 @@ import ( "io" "log/slog" - "github.com/thinksyncs/agents-secure-binding/agent/events" + "github.com/ToppyMicroServices/agents-secure-binding/v2/agent/events" ) var ( diff --git a/agent/algorithm/logging/logging_test.go b/agent/algorithm/logging/logging_test.go index e2d07abe..856492d9 100644 --- a/agent/algorithm/logging/logging_test.go +++ b/agent/algorithm/logging/logging_test.go @@ -6,11 +6,11 @@ import ( "strings" "testing" + "github.com/ToppyMicroServices/agents-secure-binding/v2/agent/events/mocks" + mglog "github.com/ToppyMicroServices/agents-secure-binding/v2/internal/runtime/logging" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/manager" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/mock" - "github.com/thinksyncs/agents-secure-binding/agent/events/mocks" - mglog "github.com/thinksyncs/agents-secure-binding/internal/runtime/logging" - "github.com/thinksyncs/agents-secure-binding/pkg/manager" ) func TestStdoutWrite(t *testing.T) { diff --git a/agent/algorithm/python/python.go b/agent/algorithm/python/python.go index 036a017b..7cc14c62 100644 --- a/agent/algorithm/python/python.go +++ b/agent/algorithm/python/python.go @@ -13,9 +13,9 @@ import ( "path/filepath" "sync" - "github.com/thinksyncs/agents-secure-binding/agent/algorithm" - "github.com/thinksyncs/agents-secure-binding/agent/algorithm/logging" - "github.com/thinksyncs/agents-secure-binding/agent/events" + "github.com/ToppyMicroServices/agents-secure-binding/v2/agent/algorithm" + "github.com/ToppyMicroServices/agents-secure-binding/v2/agent/algorithm/logging" + "github.com/ToppyMicroServices/agents-secure-binding/v2/agent/events" "google.golang.org/grpc/metadata" ) diff --git a/agent/algorithm/python/python_test.go b/agent/algorithm/python/python_test.go index 1c902ea4..8c50e63b 100644 --- a/agent/algorithm/python/python_test.go +++ b/agent/algorithm/python/python_test.go @@ -13,11 +13,11 @@ import ( "strings" "testing" + "github.com/ToppyMicroServices/agents-secure-binding/v2/agent/algorithm/logging" + "github.com/ToppyMicroServices/agents-secure-binding/v2/agent/events/mocks" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/mock" "github.com/stretchr/testify/require" - "github.com/thinksyncs/agents-secure-binding/agent/algorithm/logging" - "github.com/thinksyncs/agents-secure-binding/agent/events/mocks" "google.golang.org/grpc/metadata" ) diff --git a/agent/algorithm/results_test.go b/agent/algorithm/results_test.go index 3d9a46b4..dc9fb587 100644 --- a/agent/algorithm/results_test.go +++ b/agent/algorithm/results_test.go @@ -6,8 +6,8 @@ import ( "os" "testing" - "github.com/thinksyncs/agents-secure-binding/agent/algorithm" - "github.com/thinksyncs/agents-secure-binding/internal" + "github.com/ToppyMicroServices/agents-secure-binding/v2/agent/algorithm" + "github.com/ToppyMicroServices/agents-secure-binding/v2/internal" ) func TestZipDirectory(t *testing.T) { diff --git a/agent/algorithm/wasm/wasm.go b/agent/algorithm/wasm/wasm.go index 7f13743c..36d7670b 100644 --- a/agent/algorithm/wasm/wasm.go +++ b/agent/algorithm/wasm/wasm.go @@ -11,9 +11,9 @@ import ( "os/exec" "sync" - "github.com/thinksyncs/agents-secure-binding/agent/algorithm" - "github.com/thinksyncs/agents-secure-binding/agent/algorithm/logging" - "github.com/thinksyncs/agents-secure-binding/agent/events" + "github.com/ToppyMicroServices/agents-secure-binding/v2/agent/algorithm" + "github.com/ToppyMicroServices/agents-secure-binding/v2/agent/algorithm/logging" + "github.com/ToppyMicroServices/agents-secure-binding/v2/agent/events" ) var execCommand = exec.Command diff --git a/agent/algorithm/wasm/wasm_test.go b/agent/algorithm/wasm/wasm_test.go index e8dbaa18..30acf0f8 100644 --- a/agent/algorithm/wasm/wasm_test.go +++ b/agent/algorithm/wasm/wasm_test.go @@ -9,8 +9,8 @@ import ( "testing" "time" - "github.com/thinksyncs/agents-secure-binding/agent/algorithm/logging" - "github.com/thinksyncs/agents-secure-binding/agent/events/mocks" + "github.com/ToppyMicroServices/agents-secure-binding/v2/agent/algorithm/logging" + "github.com/ToppyMicroServices/agents-secure-binding/v2/agent/events/mocks" ) const testWasm = "test.wasm" diff --git a/agent/api/grpc/endpoint.go b/agent/api/grpc/endpoint.go index 0b9c76d6..0fa29c3b 100644 --- a/agent/api/grpc/endpoint.go +++ b/agent/api/grpc/endpoint.go @@ -5,9 +5,9 @@ package grpc import ( "context" + "github.com/ToppyMicroServices/agents-secure-binding/v2/agent" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/attestation" "github.com/go-kit/kit/endpoint" - "github.com/thinksyncs/agents-secure-binding/agent" - "github.com/thinksyncs/agents-secure-binding/pkg/attestation" ) func algoEndpoint(svc agent.Service) endpoint.Endpoint { diff --git a/agent/api/grpc/endpoint_test.go b/agent/api/grpc/endpoint_test.go index 04e85193..b7070005 100644 --- a/agent/api/grpc/endpoint_test.go +++ b/agent/api/grpc/endpoint_test.go @@ -7,10 +7,10 @@ import ( "errors" "testing" + "github.com/ToppyMicroServices/agents-secure-binding/v2/agent" + "github.com/ToppyMicroServices/agents-secure-binding/v2/agent/mocks" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/attestation" "github.com/stretchr/testify/mock" - "github.com/thinksyncs/agents-secure-binding/agent" - "github.com/thinksyncs/agents-secure-binding/agent/mocks" - "github.com/thinksyncs/agents-secure-binding/pkg/attestation" "golang.org/x/crypto/sha3" ) diff --git a/agent/api/grpc/interceptors.go b/agent/api/grpc/interceptors.go index 45ddf2e2..35b8d7f0 100644 --- a/agent/api/grpc/interceptors.go +++ b/agent/api/grpc/interceptors.go @@ -5,8 +5,8 @@ package grpc import ( "context" - "github.com/thinksyncs/agents-secure-binding/agent" - "github.com/thinksyncs/agents-secure-binding/agent/auth" + "github.com/ToppyMicroServices/agents-secure-binding/v2/agent" + "github.com/ToppyMicroServices/agents-secure-binding/v2/agent/auth" "google.golang.org/grpc" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" diff --git a/agent/api/grpc/interceptors_test.go b/agent/api/grpc/interceptors_test.go index 6458301e..c2d48c2f 100644 --- a/agent/api/grpc/interceptors_test.go +++ b/agent/api/grpc/interceptors_test.go @@ -6,10 +6,10 @@ import ( "context" "testing" + "github.com/ToppyMicroServices/agents-secure-binding/v2/agent" + "github.com/ToppyMicroServices/agents-secure-binding/v2/agent/auth" + "github.com/ToppyMicroServices/agents-secure-binding/v2/agent/auth/mocks" "github.com/stretchr/testify/mock" - "github.com/thinksyncs/agents-secure-binding/agent" - "github.com/thinksyncs/agents-secure-binding/agent/auth" - "github.com/thinksyncs/agents-secure-binding/agent/auth/mocks" "google.golang.org/grpc" "google.golang.org/grpc/metadata" ) diff --git a/agent/api/grpc/requests.go b/agent/api/grpc/requests.go index 57f293d5..4de0df40 100644 --- a/agent/api/grpc/requests.go +++ b/agent/api/grpc/requests.go @@ -5,8 +5,8 @@ package grpc import ( "errors" - "github.com/thinksyncs/agents-secure-binding/pkg/attestation" - "github.com/thinksyncs/agents-secure-binding/pkg/attestation/vtpm" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/attestation" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/attestation/vtpm" ) type algoReq struct { diff --git a/agent/api/grpc/server.go b/agent/api/grpc/server.go index 187b3a65..26ca1bcb 100644 --- a/agent/api/grpc/server.go +++ b/agent/api/grpc/server.go @@ -10,11 +10,11 @@ import ( "io" "strconv" + "github.com/ToppyMicroServices/agents-secure-binding/v2/agent" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/attestation" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/attestation/vtpm" "github.com/go-kit/kit/endpoint" "github.com/go-kit/kit/transport/grpc" - "github.com/thinksyncs/agents-secure-binding/agent" - "github.com/thinksyncs/agents-secure-binding/pkg/attestation" - "github.com/thinksyncs/agents-secure-binding/pkg/attestation/vtpm" "google.golang.org/grpc/codes" "google.golang.org/grpc/metadata" "google.golang.org/grpc/status" diff --git a/agent/api/grpc/server_test.go b/agent/api/grpc/server_test.go index 50891bf1..30596877 100644 --- a/agent/api/grpc/server_test.go +++ b/agent/api/grpc/server_test.go @@ -7,12 +7,12 @@ import ( "io" "testing" + "github.com/ToppyMicroServices/agents-secure-binding/v2/agent" + "github.com/ToppyMicroServices/agents-secure-binding/v2/agent/mocks" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/attestation" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/attestation/vtpm" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/mock" - "github.com/thinksyncs/agents-secure-binding/agent" - "github.com/thinksyncs/agents-secure-binding/agent/mocks" - "github.com/thinksyncs/agents-secure-binding/pkg/attestation" - "github.com/thinksyncs/agents-secure-binding/pkg/attestation/vtpm" "google.golang.org/grpc" "google.golang.org/grpc/codes" "google.golang.org/grpc/metadata" diff --git a/agent/api/logging.go b/agent/api/logging.go index c0bba407..e568bf71 100644 --- a/agent/api/logging.go +++ b/agent/api/logging.go @@ -11,9 +11,9 @@ import ( "log/slog" "time" - "github.com/thinksyncs/agents-secure-binding/agent" - "github.com/thinksyncs/agents-secure-binding/pkg/attestation" - "github.com/thinksyncs/agents-secure-binding/pkg/attestation/vtpm" + "github.com/ToppyMicroServices/agents-secure-binding/v2/agent" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/attestation" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/attestation/vtpm" ) var _ agent.Service = (*loggingMiddleware)(nil) diff --git a/agent/api/metrics.go b/agent/api/metrics.go index e3105b21..54fc508a 100644 --- a/agent/api/metrics.go +++ b/agent/api/metrics.go @@ -9,10 +9,10 @@ import ( "context" "time" + "github.com/ToppyMicroServices/agents-secure-binding/v2/agent" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/attestation" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/attestation/vtpm" "github.com/go-kit/kit/metrics" - "github.com/thinksyncs/agents-secure-binding/agent" - "github.com/thinksyncs/agents-secure-binding/pkg/attestation" - "github.com/thinksyncs/agents-secure-binding/pkg/attestation/vtpm" ) var _ agent.Service = (*metricsMiddleware)(nil) diff --git a/agent/auth/auth.go b/agent/auth/auth.go index 97842397..54c435c0 100644 --- a/agent/auth/auth.go +++ b/agent/auth/auth.go @@ -16,8 +16,8 @@ import ( "sync" "time" - "github.com/thinksyncs/agents-secure-binding/agent" - "github.com/thinksyncs/agents-secure-binding/internal/errors" + "github.com/ToppyMicroServices/agents-secure-binding/v2/agent" + "github.com/ToppyMicroServices/agents-secure-binding/v2/internal/errors" "google.golang.org/grpc/codes" "google.golang.org/grpc/metadata" "google.golang.org/grpc/status" diff --git a/agent/auth/auth_test.go b/agent/auth/auth_test.go index 6d8be28b..e6f0491b 100644 --- a/agent/auth/auth_test.go +++ b/agent/auth/auth_test.go @@ -16,10 +16,10 @@ import ( "testing" "time" + "github.com/ToppyMicroServices/agents-secure-binding/v2/agent" + "github.com/ToppyMicroServices/agents-secure-binding/v2/internal/errors" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/thinksyncs/agents-secure-binding/agent" - "github.com/thinksyncs/agents-secure-binding/internal/errors" "google.golang.org/grpc/metadata" ) diff --git a/agent/auth/mocks/authenticator.go b/agent/auth/mocks/authenticator.go index 7268f65d..ba4bbfbf 100644 --- a/agent/auth/mocks/authenticator.go +++ b/agent/auth/mocks/authenticator.go @@ -10,8 +10,8 @@ package mocks import ( "context" + "github.com/ToppyMicroServices/agents-secure-binding/v2/agent/auth" mock "github.com/stretchr/testify/mock" - "github.com/thinksyncs/agents-secure-binding/agent/auth" ) // NewAuthenticator creates a new instance of Authenticator. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. diff --git a/agent/cvms/api/grpc/client.go b/agent/cvms/api/grpc/client.go index f28e9794..5c5ca983 100644 --- a/agent/cvms/api/grpc/client.go +++ b/agent/cvms/api/grpc/client.go @@ -10,15 +10,15 @@ import ( "sync" "time" - "github.com/thinksyncs/agents-secure-binding/agent" - "github.com/thinksyncs/agents-secure-binding/agent/cvms" - "github.com/thinksyncs/agents-secure-binding/agent/cvms/api/grpc/storage" - "github.com/thinksyncs/agents-secure-binding/agent/cvms/server" - "github.com/thinksyncs/agents-secure-binding/internal/errors" - "github.com/thinksyncs/agents-secure-binding/pkg/attestation" - "github.com/thinksyncs/agents-secure-binding/pkg/attestation/vtpm" - "github.com/thinksyncs/agents-secure-binding/pkg/clients/grpc" - "github.com/thinksyncs/agents-secure-binding/pkg/ingress" + "github.com/ToppyMicroServices/agents-secure-binding/v2/agent" + "github.com/ToppyMicroServices/agents-secure-binding/v2/agent/cvms" + "github.com/ToppyMicroServices/agents-secure-binding/v2/agent/cvms/api/grpc/storage" + "github.com/ToppyMicroServices/agents-secure-binding/v2/agent/cvms/server" + "github.com/ToppyMicroServices/agents-secure-binding/v2/internal/errors" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/attestation" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/attestation/vtpm" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/clients/grpc" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/ingress" "golang.org/x/sync/errgroup" "google.golang.org/protobuf/proto" ) diff --git a/agent/cvms/api/grpc/client_test.go b/agent/cvms/api/grpc/client_test.go index cf77e31a..e6188bea 100644 --- a/agent/cvms/api/grpc/client_test.go +++ b/agent/cvms/api/grpc/client_test.go @@ -7,17 +7,17 @@ import ( "testing" "time" + "github.com/ToppyMicroServices/agents-secure-binding/v2/agent" + "github.com/ToppyMicroServices/agents-secure-binding/v2/agent/cvms" + "github.com/ToppyMicroServices/agents-secure-binding/v2/agent/cvms/api/grpc/storage" + servermocks "github.com/ToppyMicroServices/agents-secure-binding/v2/agent/cvms/server/mocks" + "github.com/ToppyMicroServices/agents-secure-binding/v2/agent/mocks" + mglog "github.com/ToppyMicroServices/agents-secure-binding/v2/internal/runtime/logging" + pkggrpc "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/clients/grpc" + clientmocks "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/clients/grpc/mocks" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/ingress" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/mock" - "github.com/thinksyncs/agents-secure-binding/agent" - "github.com/thinksyncs/agents-secure-binding/agent/cvms" - "github.com/thinksyncs/agents-secure-binding/agent/cvms/api/grpc/storage" - servermocks "github.com/thinksyncs/agents-secure-binding/agent/cvms/server/mocks" - "github.com/thinksyncs/agents-secure-binding/agent/mocks" - mglog "github.com/thinksyncs/agents-secure-binding/internal/runtime/logging" - pkggrpc "github.com/thinksyncs/agents-secure-binding/pkg/clients/grpc" - clientmocks "github.com/thinksyncs/agents-secure-binding/pkg/clients/grpc/mocks" - "github.com/thinksyncs/agents-secure-binding/pkg/ingress" "golang.org/x/crypto/sha3" "google.golang.org/grpc" "google.golang.org/protobuf/proto" diff --git a/agent/cvms/api/grpc/server.go b/agent/cvms/api/grpc/server.go index db4e0943..a9e97774 100644 --- a/agent/cvms/api/grpc/server.go +++ b/agent/cvms/api/grpc/server.go @@ -10,7 +10,7 @@ import ( "log/slog" "time" - "github.com/thinksyncs/agents-secure-binding/agent/cvms" + "github.com/ToppyMicroServices/agents-secure-binding/v2/agent/cvms" "golang.org/x/sync/errgroup" "google.golang.org/grpc/credentials" "google.golang.org/grpc/peer" diff --git a/agent/cvms/api/grpc/server_test.go b/agent/cvms/api/grpc/server_test.go index 8e0f314a..1d9bd3c8 100644 --- a/agent/cvms/api/grpc/server_test.go +++ b/agent/cvms/api/grpc/server_test.go @@ -7,10 +7,10 @@ import ( "testing" "time" + "github.com/ToppyMicroServices/agents-secure-binding/v2/agent/cvms" + "github.com/ToppyMicroServices/agents-secure-binding/v2/internal/errors" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/mock" - "github.com/thinksyncs/agents-secure-binding/agent/cvms" - "github.com/thinksyncs/agents-secure-binding/internal/errors" "google.golang.org/grpc/credentials" "google.golang.org/grpc/peer" ) diff --git a/agent/cvms/api/grpc/storage/mocks/storage.go b/agent/cvms/api/grpc/storage/mocks/storage.go index cbf7d602..90d1e4a8 100644 --- a/agent/cvms/api/grpc/storage/mocks/storage.go +++ b/agent/cvms/api/grpc/storage/mocks/storage.go @@ -8,9 +8,9 @@ package mocks import ( + "github.com/ToppyMicroServices/agents-secure-binding/v2/agent/cvms" + "github.com/ToppyMicroServices/agents-secure-binding/v2/agent/cvms/api/grpc/storage" mock "github.com/stretchr/testify/mock" - "github.com/thinksyncs/agents-secure-binding/agent/cvms" - "github.com/thinksyncs/agents-secure-binding/agent/cvms/api/grpc/storage" ) // NewStorage creates a new instance of Storage. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. diff --git a/agent/cvms/api/grpc/storage/storage.go b/agent/cvms/api/grpc/storage/storage.go index ea6a46b4..07af3b87 100644 --- a/agent/cvms/api/grpc/storage/storage.go +++ b/agent/cvms/api/grpc/storage/storage.go @@ -9,7 +9,7 @@ import ( "sync" "time" - "github.com/thinksyncs/agents-secure-binding/agent/cvms" + "github.com/ToppyMicroServices/agents-secure-binding/v2/agent/cvms" ) // Message represents a pending message with its timestamp. diff --git a/agent/cvms/api/grpc/storage/storage_test.go b/agent/cvms/api/grpc/storage/storage_test.go index 23164773..d07d84d1 100644 --- a/agent/cvms/api/grpc/storage/storage_test.go +++ b/agent/cvms/api/grpc/storage/storage_test.go @@ -8,9 +8,9 @@ import ( "testing" "time" + "github.com/ToppyMicroServices/agents-secure-binding/v2/agent/cvms" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/thinksyncs/agents-secure-binding/agent/cvms" ) func createTempDir(t *testing.T) string { diff --git a/agent/cvms/server/cvm.go b/agent/cvms/server/cvm.go index e9054b4d..7bcee067 100644 --- a/agent/cvms/server/cvm.go +++ b/agent/cvms/server/cvm.go @@ -10,10 +10,10 @@ import ( "os" "sync" - "github.com/thinksyncs/agents-secure-binding/agent" - agentgrpc "github.com/thinksyncs/agents-secure-binding/agent/api/grpc" - "github.com/thinksyncs/agents-secure-binding/agent/auth" - "github.com/thinksyncs/agents-secure-binding/internal/runtime/netguard" + "github.com/ToppyMicroServices/agents-secure-binding/v2/agent" + agentgrpc "github.com/ToppyMicroServices/agents-secure-binding/v2/agent/api/grpc" + "github.com/ToppyMicroServices/agents-secure-binding/v2/agent/auth" + "github.com/ToppyMicroServices/agents-secure-binding/v2/internal/runtime/netguard" "go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc" "google.golang.org/grpc" "google.golang.org/grpc/credentials/insecure" diff --git a/agent/cvms/server/cvm_test.go b/agent/cvms/server/cvm_test.go index 7ef3ad00..31d8f03d 100644 --- a/agent/cvms/server/cvm_test.go +++ b/agent/cvms/server/cvm_test.go @@ -13,9 +13,9 @@ import ( "testing" "time" + "github.com/ToppyMicroServices/agents-secure-binding/v2/agent" + "github.com/ToppyMicroServices/agents-secure-binding/v2/agent/mocks" "github.com/stretchr/testify/assert" - "github.com/thinksyncs/agents-secure-binding/agent" - "github.com/thinksyncs/agents-secure-binding/agent/mocks" ) func setupTest(t *testing.T) (*slog.Logger, *mocks.Service, string, []byte) { diff --git a/agent/cvms/server/mocks/agentserver.go b/agent/cvms/server/mocks/agentserver.go index 529a3f79..dbd6df6b 100644 --- a/agent/cvms/server/mocks/agentserver.go +++ b/agent/cvms/server/mocks/agentserver.go @@ -8,8 +8,8 @@ package mocks import ( + "github.com/ToppyMicroServices/agents-secure-binding/v2/agent" mock "github.com/stretchr/testify/mock" - "github.com/thinksyncs/agents-secure-binding/agent" ) // NewAgentServer creates a new instance of AgentServer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. diff --git a/agent/events/events.go b/agent/events/events.go index 80c54d0d..94fe12d9 100644 --- a/agent/events/events.go +++ b/agent/events/events.go @@ -5,7 +5,7 @@ package events import ( "encoding/json" - "github.com/thinksyncs/agents-secure-binding/agent/cvms" + "github.com/ToppyMicroServices/agents-secure-binding/v2/agent/cvms" "google.golang.org/protobuf/types/known/timestamppb" ) diff --git a/agent/events/events_test.go b/agent/events/events_test.go index 527cac69..b1d3af04 100644 --- a/agent/events/events_test.go +++ b/agent/events/events_test.go @@ -7,8 +7,8 @@ import ( "testing" "time" + "github.com/ToppyMicroServices/agents-secure-binding/v2/agent/cvms" "github.com/stretchr/testify/assert" - "github.com/thinksyncs/agents-secure-binding/agent/cvms" ) func TestSendEventSuccess(t *testing.T) { diff --git a/agent/log/service/service.go b/agent/log/service/service.go index b48e2dbe..2208faf1 100644 --- a/agent/log/service/service.go +++ b/agent/log/service/service.go @@ -6,8 +6,8 @@ import ( "context" "log/slog" - "github.com/thinksyncs/agents-secure-binding/agent/cvms" - "github.com/thinksyncs/agents-secure-binding/agent/log" + "github.com/ToppyMicroServices/agents-secure-binding/v2/agent/cvms" + "github.com/ToppyMicroServices/agents-secure-binding/v2/agent/log" "google.golang.org/protobuf/types/known/emptypb" ) diff --git a/agent/log/service/service_test.go b/agent/log/service/service_test.go index 0cb93dda..7d9444e2 100644 --- a/agent/log/service/service_test.go +++ b/agent/log/service/service_test.go @@ -10,10 +10,10 @@ import ( "testing" "time" + "github.com/ToppyMicroServices/agents-secure-binding/v2/agent/cvms" + "github.com/ToppyMicroServices/agents-secure-binding/v2/agent/log" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/thinksyncs/agents-secure-binding/agent/cvms" - "github.com/thinksyncs/agents-secure-binding/agent/log" "google.golang.org/protobuf/types/known/timestamppb" ) diff --git a/agent/mock_attestation_client_test.go b/agent/mock_attestation_client_test.go index 41d64c7d..2d2c6389 100644 --- a/agent/mock_attestation_client_test.go +++ b/agent/mock_attestation_client_test.go @@ -5,8 +5,8 @@ package agent import ( "context" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/attestation" "github.com/stretchr/testify/mock" - "github.com/thinksyncs/agents-secure-binding/pkg/attestation" ) type MockAttestationClient struct { diff --git a/agent/mocks/agentservice_algoclient.go b/agent/mocks/agentservice_algoclient.go index 9c85a022..32969b08 100644 --- a/agent/mocks/agentservice_algoclient.go +++ b/agent/mocks/agentservice_algoclient.go @@ -10,8 +10,8 @@ package mocks import ( "context" + "github.com/ToppyMicroServices/agents-secure-binding/v2/agent" mock "github.com/stretchr/testify/mock" - "github.com/thinksyncs/agents-secure-binding/agent" "google.golang.org/grpc/metadata" ) diff --git a/agent/mocks/agentservice_dataclient.go b/agent/mocks/agentservice_dataclient.go index 7f258580..9c6191be 100644 --- a/agent/mocks/agentservice_dataclient.go +++ b/agent/mocks/agentservice_dataclient.go @@ -10,8 +10,8 @@ package mocks import ( "context" + "github.com/ToppyMicroServices/agents-secure-binding/v2/agent" mock "github.com/stretchr/testify/mock" - "github.com/thinksyncs/agents-secure-binding/agent" "google.golang.org/grpc/metadata" ) diff --git a/agent/mocks/agentservice_imameasurementsclient.go b/agent/mocks/agentservice_imameasurementsclient.go index ebc6e4f7..268e392d 100644 --- a/agent/mocks/agentservice_imameasurementsclient.go +++ b/agent/mocks/agentservice_imameasurementsclient.go @@ -10,8 +10,8 @@ package mocks import ( "context" + "github.com/ToppyMicroServices/agents-secure-binding/v2/agent" mock "github.com/stretchr/testify/mock" - "github.com/thinksyncs/agents-secure-binding/agent" "google.golang.org/grpc/metadata" ) diff --git a/agent/mocks/service.go b/agent/mocks/service.go index 0f7d5639..238445b9 100644 --- a/agent/mocks/service.go +++ b/agent/mocks/service.go @@ -10,9 +10,9 @@ package mocks import ( "context" + "github.com/ToppyMicroServices/agents-secure-binding/v2/agent" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/attestation" mock "github.com/stretchr/testify/mock" - "github.com/thinksyncs/agents-secure-binding/agent" - "github.com/thinksyncs/agents-secure-binding/pkg/attestation" ) // NewService creates a new instance of Service. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. diff --git a/agent/runner/events/adapter.go b/agent/runner/events/adapter.go index a815c038..51012c29 100644 --- a/agent/runner/events/adapter.go +++ b/agent/runner/events/adapter.go @@ -7,9 +7,9 @@ import ( "encoding/json" "log/slog" - "github.com/thinksyncs/agents-secure-binding/agent/events" - logpb "github.com/thinksyncs/agents-secure-binding/agent/log" - logclient "github.com/thinksyncs/agents-secure-binding/pkg/clients/grpc/log" + "github.com/ToppyMicroServices/agents-secure-binding/v2/agent/events" + logpb "github.com/ToppyMicroServices/agents-secure-binding/v2/agent/log" + logclient "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/clients/grpc/log" ) type adapter struct { diff --git a/agent/runner/events/adapter_test.go b/agent/runner/events/adapter_test.go index 534974d6..02feece1 100644 --- a/agent/runner/events/adapter_test.go +++ b/agent/runner/events/adapter_test.go @@ -7,9 +7,9 @@ import ( "encoding/json" "testing" + logpb "github.com/ToppyMicroServices/agents-secure-binding/v2/agent/log" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/mock" - logpb "github.com/thinksyncs/agents-secure-binding/agent/log" ) const testServiceName = "test-service" diff --git a/agent/runner/service/service.go b/agent/runner/service/service.go index 79ba10bc..f515b2c0 100644 --- a/agent/runner/service/service.go +++ b/agent/runner/service/service.go @@ -10,13 +10,13 @@ import ( "path/filepath" "sync" - "github.com/thinksyncs/agents-secure-binding/agent/algorithm" - "github.com/thinksyncs/agents-secure-binding/agent/algorithm/binary" - "github.com/thinksyncs/agents-secure-binding/agent/algorithm/docker" - "github.com/thinksyncs/agents-secure-binding/agent/algorithm/python" - "github.com/thinksyncs/agents-secure-binding/agent/algorithm/wasm" - "github.com/thinksyncs/agents-secure-binding/agent/events" - pb "github.com/thinksyncs/agents-secure-binding/agent/runner" + "github.com/ToppyMicroServices/agents-secure-binding/v2/agent/algorithm" + "github.com/ToppyMicroServices/agents-secure-binding/v2/agent/algorithm/binary" + "github.com/ToppyMicroServices/agents-secure-binding/v2/agent/algorithm/docker" + "github.com/ToppyMicroServices/agents-secure-binding/v2/agent/algorithm/python" + "github.com/ToppyMicroServices/agents-secure-binding/v2/agent/algorithm/wasm" + "github.com/ToppyMicroServices/agents-secure-binding/v2/agent/events" + pb "github.com/ToppyMicroServices/agents-secure-binding/v2/agent/runner" "google.golang.org/protobuf/types/known/emptypb" ) diff --git a/agent/runner/service/service_test.go b/agent/runner/service/service_test.go index 89cd91de..5924c218 100644 --- a/agent/runner/service/service_test.go +++ b/agent/runner/service/service_test.go @@ -12,10 +12,10 @@ import ( "testing" "time" + "github.com/ToppyMicroServices/agents-secure-binding/v2/agent/algorithm/docker" + pb "github.com/ToppyMicroServices/agents-secure-binding/v2/agent/runner" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/thinksyncs/agents-secure-binding/agent/algorithm/docker" - pb "github.com/thinksyncs/agents-secure-binding/agent/runner" ) // MockEventService is a mock implementation of events.Service. diff --git a/agent/service.go b/agent/service.go index d3e4f51b..b484bf13 100644 --- a/agent/service.go +++ b/agent/service.go @@ -16,17 +16,17 @@ import ( sync "sync" "time" - "github.com/thinksyncs/agents-secure-binding/agent/algorithm" - "github.com/thinksyncs/agents-secure-binding/agent/events" - runnerpb "github.com/thinksyncs/agents-secure-binding/agent/runner" - "github.com/thinksyncs/agents-secure-binding/agent/statemachine" - "github.com/thinksyncs/agents-secure-binding/internal" - "github.com/thinksyncs/agents-secure-binding/internal/errors" - "github.com/thinksyncs/agents-secure-binding/pkg/attestation" - "github.com/thinksyncs/agents-secure-binding/pkg/attestation/vtpm" - attestation_client "github.com/thinksyncs/agents-secure-binding/pkg/clients/grpc/attestation" - runner_client "github.com/thinksyncs/agents-secure-binding/pkg/clients/grpc/runner" - "github.com/thinksyncs/agents-secure-binding/pkg/oci" + "github.com/ToppyMicroServices/agents-secure-binding/v2/agent/algorithm" + "github.com/ToppyMicroServices/agents-secure-binding/v2/agent/events" + runnerpb "github.com/ToppyMicroServices/agents-secure-binding/v2/agent/runner" + "github.com/ToppyMicroServices/agents-secure-binding/v2/agent/statemachine" + "github.com/ToppyMicroServices/agents-secure-binding/v2/internal" + "github.com/ToppyMicroServices/agents-secure-binding/v2/internal/errors" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/attestation" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/attestation/vtpm" + attestation_client "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/clients/grpc/attestation" + runner_client "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/clients/grpc/runner" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/oci" "golang.org/x/crypto/sha3" ) diff --git a/agent/service_test.go b/agent/service_test.go index 06607cab..6b9c68ec 100644 --- a/agent/service_test.go +++ b/agent/service_test.go @@ -18,22 +18,22 @@ import ( "testing" "time" + "github.com/ToppyMicroServices/agents-secure-binding/v2/agent/algorithm" + "github.com/ToppyMicroServices/agents-secure-binding/v2/agent/algorithm/python" + agentevents "github.com/ToppyMicroServices/agents-secure-binding/v2/agent/events" + "github.com/ToppyMicroServices/agents-secure-binding/v2/agent/events/mocks" + runnerpb "github.com/ToppyMicroServices/agents-secure-binding/v2/agent/runner" + "github.com/ToppyMicroServices/agents-secure-binding/v2/agent/statemachine" + smmocks "github.com/ToppyMicroServices/agents-secure-binding/v2/agent/statemachine/mocks" + "github.com/ToppyMicroServices/agents-secure-binding/v2/internal/errors" + mglog "github.com/ToppyMicroServices/agents-secure-binding/v2/internal/runtime/logging" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/attestation" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/attestation/vtpm" + runnermocks "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/clients/grpc/runner/mocks" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/oci" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/mock" "github.com/stretchr/testify/require" - "github.com/thinksyncs/agents-secure-binding/agent/algorithm" - "github.com/thinksyncs/agents-secure-binding/agent/algorithm/python" - agentevents "github.com/thinksyncs/agents-secure-binding/agent/events" - "github.com/thinksyncs/agents-secure-binding/agent/events/mocks" - runnerpb "github.com/thinksyncs/agents-secure-binding/agent/runner" - "github.com/thinksyncs/agents-secure-binding/agent/statemachine" - smmocks "github.com/thinksyncs/agents-secure-binding/agent/statemachine/mocks" - "github.com/thinksyncs/agents-secure-binding/internal/errors" - mglog "github.com/thinksyncs/agents-secure-binding/internal/runtime/logging" - "github.com/thinksyncs/agents-secure-binding/pkg/attestation" - "github.com/thinksyncs/agents-secure-binding/pkg/attestation/vtpm" - runnermocks "github.com/thinksyncs/agents-secure-binding/pkg/clients/grpc/runner/mocks" - "github.com/thinksyncs/agents-secure-binding/pkg/oci" "golang.org/x/crypto/sha3" "google.golang.org/grpc/metadata" "google.golang.org/protobuf/types/known/emptypb" @@ -598,7 +598,7 @@ func TestStopComputation(t *testing.T) { // Use real dirs for test // algorithm.DatasetsDir refers to global var? - // "github.com/thinksyncs/agents-secure-binding/agent/algorithm" + // "github.com/ToppyMicroServices/agents-secure-binding/v2/agent/algorithm" // It uses hardcoded path "datasets" and "results" in current dir. // Tests create them in current dir. diff --git a/agent/state_test.go b/agent/state_test.go index 04da0a43..e4aba881 100644 --- a/agent/state_test.go +++ b/agent/state_test.go @@ -8,7 +8,7 @@ import ( "testing" "time" - "github.com/thinksyncs/agents-secure-binding/agent/statemachine" + "github.com/ToppyMicroServices/agents-secure-binding/v2/agent/statemachine" ) type MockState int diff --git a/agent/statemachine/mocks/statemachine.go b/agent/statemachine/mocks/statemachine.go index cf743d84..d84257dd 100644 --- a/agent/statemachine/mocks/statemachine.go +++ b/agent/statemachine/mocks/statemachine.go @@ -10,8 +10,8 @@ package mocks import ( "context" + "github.com/ToppyMicroServices/agents-secure-binding/v2/agent/statemachine" mock "github.com/stretchr/testify/mock" - "github.com/thinksyncs/agents-secure-binding/agent/statemachine" ) // NewStateMachine creates a new instance of StateMachine. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. diff --git a/cli/algorithm_test.go b/cli/algorithm_test.go index 62797303..4ba63005 100644 --- a/cli/algorithm_test.go +++ b/cli/algorithm_test.go @@ -12,9 +12,9 @@ import ( "os" "testing" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/sdk/mocks" "github.com/stretchr/testify/mock" "github.com/stretchr/testify/require" - "github.com/thinksyncs/agents-secure-binding/pkg/sdk/mocks" ) const algorithmFile = "test_algo_file.py" diff --git a/cli/algorithms.go b/cli/algorithms.go index aa887366..a5a74bbf 100644 --- a/cli/algorithms.go +++ b/cli/algorithms.go @@ -7,10 +7,10 @@ import ( "encoding/pem" "os" + "github.com/ToppyMicroServices/agents-secure-binding/v2/agent/algorithm" + "github.com/ToppyMicroServices/agents-secure-binding/v2/agent/algorithm/python" "github.com/fatih/color" "github.com/spf13/cobra" - "github.com/thinksyncs/agents-secure-binding/agent/algorithm" - "github.com/thinksyncs/agents-secure-binding/agent/algorithm/python" "google.golang.org/grpc/metadata" ) diff --git a/cli/attestation.go b/cli/attestation.go index 75f0fe18..ca37299f 100644 --- a/cli/attestation.go +++ b/cli/attestation.go @@ -9,14 +9,14 @@ import ( "os" "strings" + "github.com/ToppyMicroServices/agents-secure-binding/v2/internal/errors" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/attestation" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/attestation/vtpm" "github.com/fatih/color" "github.com/google/go-sev-guest/abi" tpmAttest "github.com/google/go-tpm-tools/proto/attest" "github.com/spf13/cobra" "github.com/spf13/pflag" - "github.com/thinksyncs/agents-secure-binding/internal/errors" - "github.com/thinksyncs/agents-secure-binding/pkg/attestation" - "github.com/thinksyncs/agents-secure-binding/pkg/attestation/vtpm" "google.golang.org/protobuf/encoding/prototext" "google.golang.org/protobuf/proto" ) diff --git a/cli/attestation_policy.go b/cli/attestation_policy.go index d8d7e250..d96141d0 100644 --- a/cli/attestation_policy.go +++ b/cli/attestation_policy.go @@ -8,9 +8,9 @@ import ( "fmt" "os" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/attestation/gcp" "github.com/google/go-tpm-tools/proto/attest" "github.com/spf13/cobra" - "github.com/thinksyncs/agents-secure-binding/pkg/attestation/gcp" "google.golang.org/protobuf/encoding/protojson" "google.golang.org/protobuf/proto" ) diff --git a/cli/attestation_policy_corim.go b/cli/attestation_policy_corim.go index ebd15c1d..57b03779 100644 --- a/cli/attestation_policy_corim.go +++ b/cli/attestation_policy_corim.go @@ -7,11 +7,11 @@ import ( "fmt" "os" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/attestation/azure" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/attestation/corimgen" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/attestation/gcp" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/attestation/generator" "github.com/spf13/cobra" - "github.com/thinksyncs/agents-secure-binding/pkg/attestation/azure" - "github.com/thinksyncs/agents-secure-binding/pkg/attestation/corimgen" - "github.com/thinksyncs/agents-secure-binding/pkg/attestation/gcp" - "github.com/thinksyncs/agents-secure-binding/pkg/attestation/generator" ) func (cli *CLI) NewCreateCoRIMCmd() *cobra.Command { diff --git a/cli/attestation_policy_corim_test.go b/cli/attestation_policy_corim_test.go index ceada8d3..534c767d 100644 --- a/cli/attestation_policy_corim_test.go +++ b/cli/attestation_policy_corim_test.go @@ -10,11 +10,11 @@ import ( "path/filepath" "testing" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/attestation/azure" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/attestation/gcp" "github.com/google/gce-tcb-verifier/proto/endorsement" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/thinksyncs/agents-secure-binding/pkg/attestation/azure" - "github.com/thinksyncs/agents-secure-binding/pkg/attestation/gcp" "google.golang.org/protobuf/proto" ) diff --git a/cli/attestation_policy_test.go b/cli/attestation_policy_test.go index 936ced5f..03262e0d 100644 --- a/cli/attestation_policy_test.go +++ b/cli/attestation_policy_test.go @@ -10,12 +10,12 @@ import ( "path/filepath" "testing" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/attestation/gcp" "github.com/google/gce-tcb-verifier/proto/endorsement" "github.com/google/go-sev-guest/proto/sevsnp" "github.com/google/go-tpm-tools/proto/attest" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/thinksyncs/agents-secure-binding/pkg/attestation/gcp" "google.golang.org/protobuf/proto" ) diff --git a/cli/attestation_test.go b/cli/attestation_test.go index ffbf6fea..41b1292e 100644 --- a/cli/attestation_test.go +++ b/cli/attestation_test.go @@ -8,12 +8,12 @@ import ( "os" "testing" + "github.com/ToppyMicroServices/agents-secure-binding/v2/internal/errors" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/attestation/vtpm" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/sdk/mocks" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/mock" "github.com/stretchr/testify/require" - "github.com/thinksyncs/agents-secure-binding/internal/errors" - "github.com/thinksyncs/agents-secure-binding/pkg/attestation/vtpm" - "github.com/thinksyncs/agents-secure-binding/pkg/sdk/mocks" ) func TestNewAttestationCmd(t *testing.T) { diff --git a/cli/checksum.go b/cli/checksum.go index da9797ef..e9792b5a 100644 --- a/cli/checksum.go +++ b/cli/checksum.go @@ -8,9 +8,9 @@ import ( "encoding/json" "os" + "github.com/ToppyMicroServices/agents-secure-binding/v2/agent" + "github.com/ToppyMicroServices/agents-secure-binding/v2/internal" "github.com/spf13/cobra" - "github.com/thinksyncs/agents-secure-binding/agent" - "github.com/thinksyncs/agents-secure-binding/internal" "golang.org/x/crypto/sha3" ) diff --git a/cli/datasets.go b/cli/datasets.go index ae125f9f..3f95d01a 100644 --- a/cli/datasets.go +++ b/cli/datasets.go @@ -9,11 +9,11 @@ import ( "os" "path" + "github.com/ToppyMicroServices/agents-secure-binding/v2/agent" + "github.com/ToppyMicroServices/agents-secure-binding/v2/internal" + "github.com/ToppyMicroServices/agents-secure-binding/v2/internal/errors" "github.com/fatih/color" "github.com/spf13/cobra" - "github.com/thinksyncs/agents-secure-binding/agent" - "github.com/thinksyncs/agents-secure-binding/internal" - "github.com/thinksyncs/agents-secure-binding/internal/errors" "google.golang.org/grpc/metadata" ) diff --git a/cli/datasets_test.go b/cli/datasets_test.go index 9ef3d0bd..c66e0df9 100644 --- a/cli/datasets_test.go +++ b/cli/datasets_test.go @@ -8,9 +8,9 @@ import ( "os" "testing" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/sdk/mocks" "github.com/stretchr/testify/mock" "github.com/stretchr/testify/require" - "github.com/thinksyncs/agents-secure-binding/pkg/sdk/mocks" ) func createTempDatasetFile(content string) (string, error) { diff --git a/cli/errors.go b/cli/errors.go index 1d48c1f0..f7ef98c4 100644 --- a/cli/errors.go +++ b/cli/errors.go @@ -3,11 +3,11 @@ package cli import ( + "github.com/ToppyMicroServices/agents-secure-binding/v2/agent/auth" + "github.com/ToppyMicroServices/agents-secure-binding/v2/internal/errors" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/clients/grpc/agent" "github.com/fatih/color" "github.com/spf13/cobra" - "github.com/thinksyncs/agents-secure-binding/agent/auth" - "github.com/thinksyncs/agents-secure-binding/internal/errors" - "github.com/thinksyncs/agents-secure-binding/pkg/clients/grpc/agent" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" ) diff --git a/cli/errors_test.go b/cli/errors_test.go index a8b5d4a0..c27a90c7 100644 --- a/cli/errors_test.go +++ b/cli/errors_test.go @@ -7,11 +7,11 @@ import ( "errors" "testing" + "github.com/ToppyMicroServices/agents-secure-binding/v2/agent/auth" + mgerrors "github.com/ToppyMicroServices/agents-secure-binding/v2/internal/errors" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/clients/grpc/agent" "github.com/fatih/color" "github.com/spf13/cobra" - "github.com/thinksyncs/agents-secure-binding/agent/auth" - mgerrors "github.com/thinksyncs/agents-secure-binding/internal/errors" - "github.com/thinksyncs/agents-secure-binding/pkg/clients/grpc/agent" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" ) diff --git a/cli/ima_measurements.go b/cli/ima_measurements.go index cfa8e691..aa86c988 100644 --- a/cli/ima_measurements.go +++ b/cli/ima_measurements.go @@ -9,9 +9,9 @@ import ( "os" "strings" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/attestation/vtpm" "github.com/fatih/color" "github.com/spf13/cobra" - "github.com/thinksyncs/agents-secure-binding/pkg/attestation/vtpm" ) const ( diff --git a/cli/ima_measurements_test.go b/cli/ima_measurements_test.go index 7d3b2aa3..3af731a9 100644 --- a/cli/ima_measurements_test.go +++ b/cli/ima_measurements_test.go @@ -9,9 +9,9 @@ import ( "os" "testing" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/sdk/mocks" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/mock" - "github.com/thinksyncs/agents-secure-binding/pkg/sdk/mocks" ) func TestCLI_NewIMAMeasurementsCmd(t *testing.T) { diff --git a/cli/manager.go b/cli/manager.go index b2cf227d..af042a5a 100644 --- a/cli/manager.go +++ b/cli/manager.go @@ -6,9 +6,9 @@ import ( "os" "time" + "github.com/ToppyMicroServices/agents-secure-binding/v2/manager" "github.com/fatih/color" "github.com/spf13/cobra" - "github.com/thinksyncs/agents-secure-binding/manager" ) const ( diff --git a/cli/manager_test.go b/cli/manager_test.go index 2fdb0659..7f04d564 100644 --- a/cli/manager_test.go +++ b/cli/manager_test.go @@ -10,11 +10,11 @@ import ( "testing" "time" + "github.com/ToppyMicroServices/agents-secure-binding/v2/manager" + "github.com/ToppyMicroServices/agents-secure-binding/v2/manager/mocks" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/mock" "github.com/stretchr/testify/require" - "github.com/thinksyncs/agents-secure-binding/manager" - "github.com/thinksyncs/agents-secure-binding/manager/mocks" "google.golang.org/protobuf/types/known/emptypb" ) diff --git a/cli/result_test.go b/cli/result_test.go index 1115b962..651c9934 100644 --- a/cli/result_test.go +++ b/cli/result_test.go @@ -10,9 +10,9 @@ import ( "path/filepath" "testing" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/sdk/mocks" "github.com/stretchr/testify/mock" "github.com/stretchr/testify/require" - "github.com/thinksyncs/agents-secure-binding/pkg/sdk/mocks" ) const compResult = "Test computation result" diff --git a/cli/sdk.go b/cli/sdk.go index 8b67bd75..d99064a2 100644 --- a/cli/sdk.go +++ b/cli/sdk.go @@ -5,14 +5,14 @@ package cli import ( "context" + "github.com/ToppyMicroServices/agents-secure-binding/v2/manager" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/attestation/cmdconfig" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/clients" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/clients/grpc" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/clients/grpc/agent" + managergrpc "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/clients/grpc/manager" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/sdk" "github.com/spf13/cobra" - "github.com/thinksyncs/agents-secure-binding/manager" - "github.com/thinksyncs/agents-secure-binding/pkg/attestation/cmdconfig" - "github.com/thinksyncs/agents-secure-binding/pkg/clients" - "github.com/thinksyncs/agents-secure-binding/pkg/clients/grpc" - "github.com/thinksyncs/agents-secure-binding/pkg/clients/grpc/agent" - managergrpc "github.com/thinksyncs/agents-secure-binding/pkg/clients/grpc/manager" - "github.com/thinksyncs/agents-secure-binding/pkg/sdk" ) var Verbose bool diff --git a/cmd/agent/main.go b/cmd/agent/main.go index 1da9aa5c..154d6267 100644 --- a/cmd/agent/main.go +++ b/cmd/agent/main.go @@ -16,27 +16,27 @@ import ( "os/signal" "syscall" + "github.com/ToppyMicroServices/agents-secure-binding/v2/agent" + "github.com/ToppyMicroServices/agents-secure-binding/v2/agent/api" + "github.com/ToppyMicroServices/agents-secure-binding/v2/agent/cvms" + cvmsapi "github.com/ToppyMicroServices/agents-secure-binding/v2/agent/cvms/api/grpc" + "github.com/ToppyMicroServices/agents-secure-binding/v2/agent/cvms/server" + "github.com/ToppyMicroServices/agents-secure-binding/v2/agent/events" + logpb "github.com/ToppyMicroServices/agents-secure-binding/v2/agent/log" + agentlogger "github.com/ToppyMicroServices/agents-secure-binding/v2/internal/logger" + mglog "github.com/ToppyMicroServices/agents-secure-binding/v2/internal/runtime/logging" + "github.com/ToppyMicroServices/agents-secure-binding/v2/internal/runtime/metrics" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/atls" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/attestation" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/attestation/azure" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/clients" + pkggrpc "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/clients/grpc" + attestation_client "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/clients/grpc/attestation" + cvmsgrpc "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/clients/grpc/cvm" + logclient "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/clients/grpc/log" + runnerclient "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/clients/grpc/runner" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/ingress" "github.com/caarlos0/env/v11" - "github.com/thinksyncs/agents-secure-binding/agent" - "github.com/thinksyncs/agents-secure-binding/agent/api" - "github.com/thinksyncs/agents-secure-binding/agent/cvms" - cvmsapi "github.com/thinksyncs/agents-secure-binding/agent/cvms/api/grpc" - "github.com/thinksyncs/agents-secure-binding/agent/cvms/server" - "github.com/thinksyncs/agents-secure-binding/agent/events" - logpb "github.com/thinksyncs/agents-secure-binding/agent/log" - agentlogger "github.com/thinksyncs/agents-secure-binding/internal/logger" - mglog "github.com/thinksyncs/agents-secure-binding/internal/runtime/logging" - "github.com/thinksyncs/agents-secure-binding/internal/runtime/metrics" - "github.com/thinksyncs/agents-secure-binding/pkg/atls" - "github.com/thinksyncs/agents-secure-binding/pkg/attestation" - "github.com/thinksyncs/agents-secure-binding/pkg/attestation/azure" - "github.com/thinksyncs/agents-secure-binding/pkg/clients" - pkggrpc "github.com/thinksyncs/agents-secure-binding/pkg/clients/grpc" - attestation_client "github.com/thinksyncs/agents-secure-binding/pkg/clients/grpc/attestation" - cvmsgrpc "github.com/thinksyncs/agents-secure-binding/pkg/clients/grpc/cvm" - logclient "github.com/thinksyncs/agents-secure-binding/pkg/clients/grpc/log" - runnerclient "github.com/thinksyncs/agents-secure-binding/pkg/clients/grpc/runner" - "github.com/thinksyncs/agents-secure-binding/pkg/ingress" "golang.org/x/sync/errgroup" ) diff --git a/cmd/attestation-service/fetch_raw_evidence.go b/cmd/attestation-service/fetch_raw_evidence.go index aca5d819..afc700bc 100644 --- a/cmd/attestation-service/fetch_raw_evidence.go +++ b/cmd/attestation-service/fetch_raw_evidence.go @@ -7,7 +7,7 @@ import ( "encoding/hex" "fmt" - attestationpb "github.com/thinksyncs/agents-secure-binding/internal/proto/attestation/v1" + attestationpb "github.com/ToppyMicroServices/agents-secure-binding/v2/internal/proto/attestation/v1" ) func (s *service) FetchRawEvidence(ctx context.Context, req *attestationpb.AttestationRequest) (*attestationpb.RawEvidenceResponse, error) { diff --git a/cmd/attestation-service/main.go b/cmd/attestation-service/main.go index 49fd64fc..e97148b6 100644 --- a/cmd/attestation-service/main.go +++ b/cmd/attestation-service/main.go @@ -12,19 +12,19 @@ import ( "os/signal" "syscall" + "github.com/ToppyMicroServices/agents-secure-binding/v2/agent/cvms" + logpb "github.com/ToppyMicroServices/agents-secure-binding/v2/agent/log" + agentlogger "github.com/ToppyMicroServices/agents-secure-binding/v2/internal/logger" + attestationpb "github.com/ToppyMicroServices/agents-secure-binding/v2/internal/proto/attestation/v1" + mglog "github.com/ToppyMicroServices/agents-secure-binding/v2/internal/runtime/logging" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/attestation" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/attestation/azure" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/attestation/ccaa" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/attestation/eat" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/attestation/tdx" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/attestation/vtpm" + logclient "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/clients/grpc/log" "github.com/caarlos0/env/v11" - "github.com/thinksyncs/agents-secure-binding/agent/cvms" - logpb "github.com/thinksyncs/agents-secure-binding/agent/log" - agentlogger "github.com/thinksyncs/agents-secure-binding/internal/logger" - attestationpb "github.com/thinksyncs/agents-secure-binding/internal/proto/attestation/v1" - mglog "github.com/thinksyncs/agents-secure-binding/internal/runtime/logging" - "github.com/thinksyncs/agents-secure-binding/pkg/attestation" - "github.com/thinksyncs/agents-secure-binding/pkg/attestation/azure" - "github.com/thinksyncs/agents-secure-binding/pkg/attestation/ccaa" - "github.com/thinksyncs/agents-secure-binding/pkg/attestation/eat" - "github.com/thinksyncs/agents-secure-binding/pkg/attestation/tdx" - "github.com/thinksyncs/agents-secure-binding/pkg/attestation/vtpm" - logclient "github.com/thinksyncs/agents-secure-binding/pkg/clients/grpc/log" "golang.org/x/sync/errgroup" "google.golang.org/grpc" ) diff --git a/cmd/cli/main.go b/cmd/cli/main.go index 74a21044..95bf0346 100644 --- a/cmd/cli/main.go +++ b/cmd/cli/main.go @@ -9,13 +9,13 @@ import ( "path" "syscall" + "github.com/ToppyMicroServices/agents-secure-binding/v2/cli" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/attestation/cmdconfig" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/clients" "github.com/caarlos0/env/v11" "github.com/fatih/color" "github.com/spf13/cobra" "github.com/spf13/pflag" - "github.com/thinksyncs/agents-secure-binding/cli" - "github.com/thinksyncs/agents-secure-binding/pkg/attestation/cmdconfig" - "github.com/thinksyncs/agents-secure-binding/pkg/clients" cmd "github.com/virtee/sev-snp-measure-go/sevsnpmeasure/cmd" ) diff --git a/cmd/computation-runner/main.go b/cmd/computation-runner/main.go index 283a4b54..4b151b76 100644 --- a/cmd/computation-runner/main.go +++ b/cmd/computation-runner/main.go @@ -11,15 +11,15 @@ import ( "os/signal" "syscall" + "github.com/ToppyMicroServices/agents-secure-binding/v2/agent/cvms" + logpb "github.com/ToppyMicroServices/agents-secure-binding/v2/agent/log" + pb "github.com/ToppyMicroServices/agents-secure-binding/v2/agent/runner" + runnerevents "github.com/ToppyMicroServices/agents-secure-binding/v2/agent/runner/events" + "github.com/ToppyMicroServices/agents-secure-binding/v2/agent/runner/service" + agentlogger "github.com/ToppyMicroServices/agents-secure-binding/v2/internal/logger" + mglog "github.com/ToppyMicroServices/agents-secure-binding/v2/internal/runtime/logging" + logclient "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/clients/grpc/log" "github.com/caarlos0/env/v11" - "github.com/thinksyncs/agents-secure-binding/agent/cvms" - logpb "github.com/thinksyncs/agents-secure-binding/agent/log" - pb "github.com/thinksyncs/agents-secure-binding/agent/runner" - runnerevents "github.com/thinksyncs/agents-secure-binding/agent/runner/events" - "github.com/thinksyncs/agents-secure-binding/agent/runner/service" - agentlogger "github.com/thinksyncs/agents-secure-binding/internal/logger" - mglog "github.com/thinksyncs/agents-secure-binding/internal/runtime/logging" - logclient "github.com/thinksyncs/agents-secure-binding/pkg/clients/grpc/log" "golang.org/x/sync/errgroup" "google.golang.org/grpc" ) diff --git a/cmd/egress-proxy/main.go b/cmd/egress-proxy/main.go index d60f34ab..7e020e8c 100644 --- a/cmd/egress-proxy/main.go +++ b/cmd/egress-proxy/main.go @@ -11,14 +11,14 @@ import ( "strings" "syscall" + "github.com/ToppyMicroServices/agents-secure-binding/v2/agent/cvms" + logpb "github.com/ToppyMicroServices/agents-secure-binding/v2/agent/log" + agentlogger "github.com/ToppyMicroServices/agents-secure-binding/v2/internal/logger" + logclient "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/clients/grpc/log" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/egress" "github.com/caarlos0/env/v11" "github.com/spf13/cobra" "github.com/spf13/pflag" - "github.com/thinksyncs/agents-secure-binding/agent/cvms" - logpb "github.com/thinksyncs/agents-secure-binding/agent/log" - agentlogger "github.com/thinksyncs/agents-secure-binding/internal/logger" - logclient "github.com/thinksyncs/agents-secure-binding/pkg/clients/grpc/log" - "github.com/thinksyncs/agents-secure-binding/pkg/egress" "golang.org/x/sync/errgroup" ) diff --git a/cmd/hardware-attestation-redteam/main.go b/cmd/hardware-attestation-redteam/main.go index f2ae8471..ef5455fe 100644 --- a/cmd/hardware-attestation-redteam/main.go +++ b/cmd/hardware-attestation-redteam/main.go @@ -17,13 +17,13 @@ import ( "strings" "time" + qemu "github.com/ToppyMicroServices/agents-secure-binding/v2/manager/qemu" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/attestation" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/attestation/tdx" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/attestation/vtpm" sevsnppb "github.com/google/go-sev-guest/proto/sevsnp" tdxabi "github.com/google/go-tdx-guest/abi" tdxpb "github.com/google/go-tdx-guest/proto/tdx" - qemu "github.com/thinksyncs/agents-secure-binding/manager/qemu" - "github.com/thinksyncs/agents-secure-binding/pkg/attestation" - "github.com/thinksyncs/agents-secure-binding/pkg/attestation/tdx" - "github.com/thinksyncs/agents-secure-binding/pkg/attestation/vtpm" "google.golang.org/protobuf/proto" ) diff --git a/cmd/ingress-proxy/main.go b/cmd/ingress-proxy/main.go index 228f1d32..e6189d01 100644 --- a/cmd/ingress-proxy/main.go +++ b/cmd/ingress-proxy/main.go @@ -11,18 +11,18 @@ import ( "os/signal" "syscall" + "github.com/ToppyMicroServices/agents-secure-binding/v2/agent/cvms" + logpb "github.com/ToppyMicroServices/agents-secure-binding/v2/agent/log" + agentlogger "github.com/ToppyMicroServices/agents-secure-binding/v2/internal/logger" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/atls" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/attestation" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/attestation/azure" + attestation_client "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/clients/grpc/attestation" + logclient "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/clients/grpc/log" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/ingress" "github.com/caarlos0/env/v11" "github.com/spf13/cobra" "github.com/spf13/pflag" - "github.com/thinksyncs/agents-secure-binding/agent/cvms" - logpb "github.com/thinksyncs/agents-secure-binding/agent/log" - agentlogger "github.com/thinksyncs/agents-secure-binding/internal/logger" - "github.com/thinksyncs/agents-secure-binding/pkg/atls" - "github.com/thinksyncs/agents-secure-binding/pkg/attestation" - "github.com/thinksyncs/agents-secure-binding/pkg/attestation/azure" - attestation_client "github.com/thinksyncs/agents-secure-binding/pkg/clients/grpc/attestation" - logclient "github.com/thinksyncs/agents-secure-binding/pkg/clients/grpc/log" - "github.com/thinksyncs/agents-secure-binding/pkg/ingress" "golang.org/x/sync/errgroup" ) diff --git a/cmd/log-forwarder/main.go b/cmd/log-forwarder/main.go index 07471bb9..987ae7b5 100644 --- a/cmd/log-forwarder/main.go +++ b/cmd/log-forwarder/main.go @@ -11,13 +11,13 @@ import ( "os/signal" "syscall" + "github.com/ToppyMicroServices/agents-secure-binding/v2/agent/cvms" + pb "github.com/ToppyMicroServices/agents-secure-binding/v2/agent/log" + "github.com/ToppyMicroServices/agents-secure-binding/v2/agent/log/service" + mglog "github.com/ToppyMicroServices/agents-secure-binding/v2/internal/runtime/logging" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/clients" + cvmsgrpc "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/clients/grpc/cvm" "github.com/caarlos0/env/v11" - "github.com/thinksyncs/agents-secure-binding/agent/cvms" - pb "github.com/thinksyncs/agents-secure-binding/agent/log" - "github.com/thinksyncs/agents-secure-binding/agent/log/service" - mglog "github.com/thinksyncs/agents-secure-binding/internal/runtime/logging" - "github.com/thinksyncs/agents-secure-binding/pkg/clients" - cvmsgrpc "github.com/thinksyncs/agents-secure-binding/pkg/clients/grpc/cvm" "golang.org/x/sync/errgroup" "google.golang.org/grpc" ) diff --git a/cmd/manager/main.go b/cmd/manager/main.go index 3eb10f2f..fdc3b96a 100644 --- a/cmd/manager/main.go +++ b/cmd/manager/main.go @@ -13,21 +13,21 @@ import ( "os" "strings" + mglog "github.com/ToppyMicroServices/agents-secure-binding/v2/internal/runtime/logging" + "github.com/ToppyMicroServices/agents-secure-binding/v2/internal/runtime/metrics" + smqserver "github.com/ToppyMicroServices/agents-secure-binding/v2/internal/runtime/server" + grpcserver "github.com/ToppyMicroServices/agents-secure-binding/v2/internal/runtime/server/grpc" + httpserver "github.com/ToppyMicroServices/agents-secure-binding/v2/internal/runtime/server/http" + runtimetracing "github.com/ToppyMicroServices/agents-secure-binding/v2/internal/runtime/tracing" + "github.com/ToppyMicroServices/agents-secure-binding/v2/manager" + "github.com/ToppyMicroServices/agents-secure-binding/v2/manager/api" + managergrpc "github.com/ToppyMicroServices/agents-secure-binding/v2/manager/api/grpc" + "github.com/ToppyMicroServices/agents-secure-binding/v2/manager/api/http" + "github.com/ToppyMicroServices/agents-secure-binding/v2/manager/qemu" + managertracing "github.com/ToppyMicroServices/agents-secure-binding/v2/manager/tracing" "github.com/caarlos0/env/v11" "github.com/go-chi/chi/v5" "github.com/google/uuid" - mglog "github.com/thinksyncs/agents-secure-binding/internal/runtime/logging" - "github.com/thinksyncs/agents-secure-binding/internal/runtime/metrics" - smqserver "github.com/thinksyncs/agents-secure-binding/internal/runtime/server" - grpcserver "github.com/thinksyncs/agents-secure-binding/internal/runtime/server/grpc" - httpserver "github.com/thinksyncs/agents-secure-binding/internal/runtime/server/http" - runtimetracing "github.com/thinksyncs/agents-secure-binding/internal/runtime/tracing" - "github.com/thinksyncs/agents-secure-binding/manager" - "github.com/thinksyncs/agents-secure-binding/manager/api" - managergrpc "github.com/thinksyncs/agents-secure-binding/manager/api/grpc" - "github.com/thinksyncs/agents-secure-binding/manager/api/http" - "github.com/thinksyncs/agents-secure-binding/manager/qemu" - managertracing "github.com/thinksyncs/agents-secure-binding/manager/tracing" "go.opentelemetry.io/otel/trace" "golang.org/x/sync/errgroup" "google.golang.org/grpc" diff --git a/cmd/redis-failover-redteam/main.go b/cmd/redis-failover-redteam/main.go index d38e7034..e8070599 100644 --- a/cmd/redis-failover-redteam/main.go +++ b/cmd/redis-failover-redteam/main.go @@ -20,7 +20,7 @@ import ( "strings" "time" - "github.com/thinksyncs/agents-secure-binding/pkg/production" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/production" ) const ( diff --git a/examples/a2a-multiprocess/agent_a.go b/examples/a2a-multiprocess/agent_a.go index 12b1f1c4..3cc45715 100644 --- a/examples/a2a-multiprocess/agent_a.go +++ b/examples/a2a-multiprocess/agent_a.go @@ -23,8 +23,8 @@ import ( "sync/atomic" "time" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/clients" "github.com/golang-jwt/jwt/v5" - "github.com/thinksyncs/agents-secure-binding/pkg/clients" ) type a2aConnection struct { diff --git a/examples/a2a-multiprocess/agent_a_v2.go b/examples/a2a-multiprocess/agent_a_v2.go index d59e2460..81cfb787 100644 --- a/examples/a2a-multiprocess/agent_a_v2.go +++ b/examples/a2a-multiprocess/agent_a_v2.go @@ -17,8 +17,8 @@ import ( "path/filepath" "time" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/clients" "github.com/golang-jwt/jwt/v5" - "github.com/thinksyncs/agents-secure-binding/pkg/clients" ) type issueMutationV2 func(claims jwt.MapClaims, sbo *securityBindingObjectV2, request *a2aSendMessageRequest) diff --git a/examples/a2a-multiprocess/agent_b.go b/examples/a2a-multiprocess/agent_b.go index 395c7592..480bb494 100644 --- a/examples/a2a-multiprocess/agent_b.go +++ b/examples/a2a-multiprocess/agent_b.go @@ -15,9 +15,9 @@ import ( "path/filepath" "time" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/atls/identitypolicy" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/clients" "github.com/golang-jwt/jwt/v5" - "github.com/thinksyncs/agents-secure-binding/pkg/atls/identitypolicy" - "github.com/thinksyncs/agents-secure-binding/pkg/clients" ) type agentBServer struct { diff --git a/examples/a2a-multiprocess/agent_b_v2.go b/examples/a2a-multiprocess/agent_b_v2.go index fd6178f9..fb085b89 100644 --- a/examples/a2a-multiprocess/agent_b_v2.go +++ b/examples/a2a-multiprocess/agent_b_v2.go @@ -15,9 +15,9 @@ import ( "path/filepath" "time" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/atls/identitypolicy" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/clients" "github.com/golang-jwt/jwt/v5" - "github.com/thinksyncs/agents-secure-binding/pkg/atls/identitypolicy" - "github.com/thinksyncs/agents-secure-binding/pkg/clients" ) type agentBServerV2 struct { diff --git a/examples/a2a-multiprocess/attester.go b/examples/a2a-multiprocess/attester.go index f5720857..2fc121ce 100644 --- a/examples/a2a-multiprocess/attester.go +++ b/examples/a2a-multiprocess/attester.go @@ -14,10 +14,10 @@ import ( "strings" "time" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/attestation" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/attestation/tdx" "github.com/golang-jwt/jwt/v5" sevclient "github.com/google/go-sev-guest/client" - "github.com/thinksyncs/agents-secure-binding/pkg/attestation" - "github.com/thinksyncs/agents-secure-binding/pkg/attestation/tdx" "google.golang.org/protobuf/proto" ) diff --git a/examples/a2a-multiprocess/manager.go b/examples/a2a-multiprocess/manager.go index 7c3c4ec1..5731d10b 100644 --- a/examples/a2a-multiprocess/manager.go +++ b/examples/a2a-multiprocess/manager.go @@ -11,8 +11,8 @@ import ( "path/filepath" "time" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/clients" "github.com/golang-jwt/jwt/v5" - "github.com/thinksyncs/agents-secure-binding/pkg/clients" ) func runManager(ctx context.Context, opts options, out outputWriter) error { diff --git a/examples/a2a-multiprocess/protocol.go b/examples/a2a-multiprocess/protocol.go index 9f581b0a..b762c743 100644 --- a/examples/a2a-multiprocess/protocol.go +++ b/examples/a2a-multiprocess/protocol.go @@ -11,11 +11,11 @@ import ( "fmt" "strings" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/atls" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/atls/ea" + eaattestation "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/atls/eaattestation" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/atls/identitypolicy" "github.com/golang-jwt/jwt/v5" - "github.com/thinksyncs/agents-secure-binding/pkg/atls" - "github.com/thinksyncs/agents-secure-binding/pkg/atls/ea" - eaattestation "github.com/thinksyncs/agents-secure-binding/pkg/atls/eaattestation" - "github.com/thinksyncs/agents-secure-binding/pkg/atls/identitypolicy" ) func canonicalRequestContext(request a2aSendMessageRequest) ([]byte, error) { diff --git a/examples/a2a-multiprocess/protocol_v2.go b/examples/a2a-multiprocess/protocol_v2.go index b565d3d6..c3c5df5e 100644 --- a/examples/a2a-multiprocess/protocol_v2.go +++ b/examples/a2a-multiprocess/protocol_v2.go @@ -21,10 +21,10 @@ import ( "unicode" "unicode/utf8" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/atls/identitypolicy" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/atls/sbaipv2" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/clients" "github.com/golang-jwt/jwt/v5" - "github.com/thinksyncs/agents-secure-binding/pkg/atls/identitypolicy" - "github.com/thinksyncs/agents-secure-binding/pkg/atls/sbaipv2" - "github.com/thinksyncs/agents-secure-binding/pkg/clients" ) type challengeRequestV2 struct{} diff --git a/examples/a2a-multiprocess/section21_v2_test.go b/examples/a2a-multiprocess/section21_v2_test.go index 066c61b9..f090caad 100644 --- a/examples/a2a-multiprocess/section21_v2_test.go +++ b/examples/a2a-multiprocess/section21_v2_test.go @@ -17,8 +17,8 @@ import ( "testing" "time" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/atls/identitypolicy" "github.com/golang-jwt/jwt/v5" - "github.com/thinksyncs/agents-secure-binding/pkg/atls/identitypolicy" ) func TestDraft06Section21RejectsMissingOrWrongExporter(t *testing.T) { diff --git a/examples/a2a/main.go b/examples/a2a/main.go index 2bce33b2..9dcaa0e9 100644 --- a/examples/a2a/main.go +++ b/examples/a2a/main.go @@ -22,11 +22,11 @@ import ( "os" "time" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/atls" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/atls/ea" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/atls/identitypolicy" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/clients" "github.com/golang-jwt/jwt/v5" - "github.com/thinksyncs/agents-secure-binding/pkg/atls" - "github.com/thinksyncs/agents-secure-binding/pkg/atls/ea" - "github.com/thinksyncs/agents-secure-binding/pkg/atls/identitypolicy" - "github.com/thinksyncs/agents-secure-binding/pkg/clients" ) const ( diff --git a/examples/agtp-discover-consumer/app.go b/examples/agtp-discover-consumer/app.go index b590a3a4..c44c12c4 100644 --- a/examples/agtp-discover-consumer/app.go +++ b/examples/agtp-discover-consumer/app.go @@ -16,9 +16,9 @@ import ( "net/http" "strings" - "github.com/thinksyncs/agents-secure-binding/pkg/agtp/discovery" - "github.com/thinksyncs/agents-secure-binding/pkg/atls/identitypolicy" - "github.com/thinksyncs/agents-secure-binding/pkg/production" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/agtp/discovery" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/atls/identitypolicy" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/production" ) const ( diff --git a/examples/agtp-discover-consumer/e2e_test.go b/examples/agtp-discover-consumer/e2e_test.go index a2c009ab..3a8565a6 100644 --- a/examples/agtp-discover-consumer/e2e_test.go +++ b/examples/agtp-discover-consumer/e2e_test.go @@ -23,11 +23,11 @@ import ( "testing" "time" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/agtp/discovery" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/atls/identitypolicy" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/clients" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/production" "github.com/golang-jwt/jwt/v5" - "github.com/thinksyncs/agents-secure-binding/pkg/agtp/discovery" - "github.com/thinksyncs/agents-secure-binding/pkg/atls/identitypolicy" - "github.com/thinksyncs/agents-secure-binding/pkg/clients" - "github.com/thinksyncs/agents-secure-binding/pkg/production" ) const ( diff --git a/examples/protected-change-consumer/app.go b/examples/protected-change-consumer/app.go index 556468a9..c9afac7b 100644 --- a/examples/protected-change-consumer/app.go +++ b/examples/protected-change-consumer/app.go @@ -20,8 +20,8 @@ import ( "strings" "sync" - "github.com/thinksyncs/agents-secure-binding/pkg/atls/identitypolicy" - "github.com/thinksyncs/agents-secure-binding/pkg/production" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/atls/identitypolicy" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/production" ) const ( diff --git a/examples/protected-change-consumer/e2e_test.go b/examples/protected-change-consumer/e2e_test.go index 05209d46..5d442e93 100644 --- a/examples/protected-change-consumer/e2e_test.go +++ b/examples/protected-change-consumer/e2e_test.go @@ -25,10 +25,10 @@ import ( "testing" "time" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/atls/identitypolicy" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/clients" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/production" "github.com/golang-jwt/jwt/v5" - "github.com/thinksyncs/agents-secure-binding/pkg/atls/identitypolicy" - "github.com/thinksyncs/agents-secure-binding/pkg/clients" - "github.com/thinksyncs/agents-secure-binding/pkg/production" ) const ( diff --git a/go.mod b/go.mod index 1dbac83f..45beed4b 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/thinksyncs/agents-secure-binding +module github.com/ToppyMicroServices/agents-secure-binding/v2 go 1.26.0 @@ -118,7 +118,7 @@ require ( golang.org/x/text v0.39.0 // indirect google.golang.org/genproto/googleapis/api v0.0.0-20260414002931-afd174a4e478 // indirect google.golang.org/genproto/googleapis/rpc v0.0.0-20260414002931-afd174a4e478 // indirect - gopkg.in/yaml.v3 v3.0.1 // indirect + gopkg.in/yaml.v3 v3.0.1 ) replace github.com/virtee/sev-snp-measure-go => github.com/sammyoina/sev-snp-measure-go v0.0.0-20241202151803-ef189f0ff825 diff --git a/internal/logger/protohandler.go b/internal/logger/protohandler.go index aa69b32c..92779b88 100644 --- a/internal/logger/protohandler.go +++ b/internal/logger/protohandler.go @@ -7,8 +7,8 @@ import ( "io" "log/slog" - "github.com/thinksyncs/agents-secure-binding/agent/cvms" - "github.com/thinksyncs/agents-secure-binding/agent/events" + "github.com/ToppyMicroServices/agents-secure-binding/v2/agent/cvms" + "github.com/ToppyMicroServices/agents-secure-binding/v2/agent/events" "google.golang.org/protobuf/encoding/protojson" "google.golang.org/protobuf/types/known/timestamppb" ) diff --git a/internal/logger/protohandler_test.go b/internal/logger/protohandler_test.go index f0823993..f4d65ae9 100644 --- a/internal/logger/protohandler_test.go +++ b/internal/logger/protohandler_test.go @@ -9,9 +9,9 @@ import ( "testing" "time" + "github.com/ToppyMicroServices/agents-secure-binding/v2/agent/cvms" + "github.com/ToppyMicroServices/agents-secure-binding/v2/internal/errors" "github.com/stretchr/testify/assert" - "github.com/thinksyncs/agents-secure-binding/agent/cvms" - "github.com/thinksyncs/agents-secure-binding/internal/errors" ) type failedWriter struct{} diff --git a/internal/proto/attestation-agent/attestation-agent.pb.go b/internal/proto/attestation-agent/attestation-agent.pb.go index 6edad5cb..6fd389d3 100644 --- a/internal/proto/attestation-agent/attestation-agent.pb.go +++ b/internal/proto/attestation-agent/attestation-agent.pb.go @@ -609,7 +609,7 @@ const file_internal_proto_attestation_agent_attestation_agent_proto_rawDesc = "" "\x18ExtendRuntimeMeasurement\x122.attestation_agent.ExtendRuntimeMeasurementRequest\x1a3.attestation_agent.ExtendRuntimeMeasurementResponse\"\x00\x12a\n" + "\fBindInitData\x12&.attestation_agent.BindInitDataRequest\x1a'.attestation_agent.BindInitDataResponse\"\x00\x12[\n" + "\n" + - "GetTeeType\x12$.attestation_agent.GetTeeTypeRequest\x1a%.attestation_agent.GetTeeTypeResponse\"\x00B`Z^github.com/thinksyncs/agents-secure-binding/internal/proto/attestation-agent;attestation_agentb\x06proto3" + "GetTeeType\x12$.attestation_agent.GetTeeTypeRequest\x1a%.attestation_agent.GetTeeTypeResponse\"\x00BkZigithub.com/ToppyMicroServices/agents-secure-binding/v2/internal/proto/attestation-agent;attestation_agentb\x06proto3" var ( file_internal_proto_attestation_agent_attestation_agent_proto_rawDescOnce sync.Once diff --git a/internal/proto/attestation-agent/attestation-agent.proto b/internal/proto/attestation-agent/attestation-agent.proto index 7e0588f2..4bda4b23 100644 --- a/internal/proto/attestation-agent/attestation-agent.proto +++ b/internal/proto/attestation-agent/attestation-agent.proto @@ -2,7 +2,7 @@ syntax = "proto3"; package attestation_agent; -option go_package = "github.com/thinksyncs/agents-secure-binding/internal/proto/attestation-agent;attestation_agent"; +option go_package = "github.com/ToppyMicroServices/agents-secure-binding/v2/internal/proto/attestation-agent;attestation_agent"; // Get the primary evidence from the guest. message GetEvidenceRequest { diff --git a/internal/proto/attestation-agent/mocks/attestationagentserviceclient.go b/internal/proto/attestation-agent/mocks/attestationagentserviceclient.go index c5cce533..c01422a3 100644 --- a/internal/proto/attestation-agent/mocks/attestationagentserviceclient.go +++ b/internal/proto/attestation-agent/mocks/attestationagentserviceclient.go @@ -10,8 +10,8 @@ package mocks import ( "context" + "github.com/ToppyMicroServices/agents-secure-binding/v2/internal/proto/attestation-agent" mock "github.com/stretchr/testify/mock" - "github.com/thinksyncs/agents-secure-binding/internal/proto/attestation-agent" "google.golang.org/grpc" ) diff --git a/internal/proto/attestation/v1/attestation.pb.go b/internal/proto/attestation/v1/attestation.pb.go index 284d7067..5c84ae48 100644 --- a/internal/proto/attestation/v1/attestation.pb.go +++ b/internal/proto/attestation/v1/attestation.pb.go @@ -347,7 +347,7 @@ const file_internal_proto_attestation_v1_attestation_proto_rawDesc = "" + "\x12AttestationService\x12[\n" + "\x10FetchAttestation\x12\".attestation.v1.AttestationRequest\x1a#.attestation.v1.AttestationResponse\x12[\n" + "\x10FetchRawEvidence\x12\".attestation.v1.AttestationRequest\x1a#.attestation.v1.RawEvidenceResponse\x12X\n" + - "\x0fFetchAzureToken\x12!.attestation.v1.AzureTokenRequest\x1a\".attestation.v1.AzureTokenResponseBWZUgithub.com/thinksyncs/agents-secure-binding/internal/proto/attestation/v1;attestationb\x06proto3" + "\x0fFetchAzureToken\x12!.attestation.v1.AzureTokenRequest\x1a\".attestation.v1.AzureTokenResponseBbZ`github.com/ToppyMicroServices/agents-secure-binding/v2/internal/proto/attestation/v1;attestationb\x06proto3" var ( file_internal_proto_attestation_v1_attestation_proto_rawDescOnce sync.Once diff --git a/internal/proto/attestation/v1/attestation.proto b/internal/proto/attestation/v1/attestation.proto index 6c13771f..8a69ab62 100644 --- a/internal/proto/attestation/v1/attestation.proto +++ b/internal/proto/attestation/v1/attestation.proto @@ -2,7 +2,7 @@ syntax = "proto3"; package attestation.v1; -option go_package = "github.com/thinksyncs/agents-secure-binding/internal/proto/attestation/v1;attestation"; +option go_package = "github.com/ToppyMicroServices/agents-secure-binding/v2/internal/proto/attestation/v1;attestation"; service AttestationService { rpc FetchAttestation (AttestationRequest) returns (AttestationResponse); diff --git a/internal/runtime/server/grpc/grpc.go b/internal/runtime/server/grpc/grpc.go index ba5b19bf..b61aec44 100644 --- a/internal/runtime/server/grpc/grpc.go +++ b/internal/runtime/server/grpc/grpc.go @@ -12,8 +12,8 @@ import ( "net" "time" - "github.com/thinksyncs/agents-secure-binding/internal/runtime/netguard" - "github.com/thinksyncs/agents-secure-binding/internal/runtime/server" + "github.com/ToppyMicroServices/agents-secure-binding/v2/internal/runtime/netguard" + "github.com/ToppyMicroServices/agents-secure-binding/v2/internal/runtime/server" "go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc" "google.golang.org/grpc" "google.golang.org/grpc/credentials" diff --git a/internal/runtime/server/http/http.go b/internal/runtime/server/http/http.go index ed622ddc..530b0c2d 100644 --- a/internal/runtime/server/http/http.go +++ b/internal/runtime/server/http/http.go @@ -10,7 +10,7 @@ import ( "log/slog" "net/http" - "github.com/thinksyncs/agents-secure-binding/internal/runtime/server" + "github.com/ToppyMicroServices/agents-secure-binding/v2/internal/runtime/server" ) type runtimeServer struct { diff --git a/internal/runtime/tracing/tracing.go b/internal/runtime/tracing/tracing.go index 7a179070..a0c07256 100644 --- a/internal/runtime/tracing/tracing.go +++ b/internal/runtime/tracing/tracing.go @@ -8,7 +8,7 @@ import ( "errors" "net/url" - "github.com/thinksyncs/agents-secure-binding/internal/runtime/netguard" + "github.com/ToppyMicroServices/agents-secure-binding/v2/internal/runtime/netguard" "go.opentelemetry.io/otel" "go.opentelemetry.io/otel/attribute" "go.opentelemetry.io/otel/exporters/otlp/otlptrace" diff --git a/manager/api/grpc/server.go b/manager/api/grpc/server.go index a64662ad..fadf0ddf 100644 --- a/manager/api/grpc/server.go +++ b/manager/api/grpc/server.go @@ -6,7 +6,7 @@ import ( "context" "errors" - "github.com/thinksyncs/agents-secure-binding/manager" + "github.com/ToppyMicroServices/agents-secure-binding/v2/manager" "google.golang.org/protobuf/types/known/emptypb" ) diff --git a/manager/api/grpc/server_test.go b/manager/api/grpc/server_test.go index 26431d1d..14f66b17 100644 --- a/manager/api/grpc/server_test.go +++ b/manager/api/grpc/server_test.go @@ -10,10 +10,10 @@ import ( "errors" "testing" + "github.com/ToppyMicroServices/agents-secure-binding/v2/manager" + "github.com/ToppyMicroServices/agents-secure-binding/v2/manager/mocks" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/mock" - "github.com/thinksyncs/agents-secure-binding/manager" - "github.com/thinksyncs/agents-secure-binding/manager/mocks" "google.golang.org/protobuf/types/known/emptypb" ) diff --git a/manager/api/logging.go b/manager/api/logging.go index 6efb211d..ea958e68 100644 --- a/manager/api/logging.go +++ b/manager/api/logging.go @@ -11,7 +11,7 @@ import ( "log/slog" "time" - "github.com/thinksyncs/agents-secure-binding/manager" + "github.com/ToppyMicroServices/agents-secure-binding/v2/manager" ) var _ manager.Service = (*loggingMiddleware)(nil) diff --git a/manager/api/metrics.go b/manager/api/metrics.go index 30617cbb..4ea07e82 100644 --- a/manager/api/metrics.go +++ b/manager/api/metrics.go @@ -9,8 +9,8 @@ import ( "context" "time" + "github.com/ToppyMicroServices/agents-secure-binding/v2/manager" "github.com/go-kit/kit/metrics" - "github.com/thinksyncs/agents-secure-binding/manager" ) var _ manager.Service = (*metricsMiddleware)(nil) diff --git a/manager/attestation_policy.go b/manager/attestation_policy.go index 86e5badd..f19783e9 100644 --- a/manager/attestation_policy.go +++ b/manager/attestation_policy.go @@ -11,9 +11,9 @@ import ( "context" "fmt" - "github.com/thinksyncs/agents-secure-binding/manager/qemu" - "github.com/thinksyncs/agents-secure-binding/pkg/attestation/generator" - "github.com/thinksyncs/agents-secure-binding/pkg/attestation/igvmmeasure" + "github.com/ToppyMicroServices/agents-secure-binding/v2/manager/qemu" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/attestation/generator" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/attestation/igvmmeasure" ) func (ms *managerService) FetchAttestationPolicy(_ context.Context, computationId string) ([]byte, error) { diff --git a/manager/attestation_policy_embed.go b/manager/attestation_policy_embed.go index 835d4145..5893ff43 100644 --- a/manager/attestation_policy_embed.go +++ b/manager/attestation_policy_embed.go @@ -8,7 +8,7 @@ package manager import ( "context" /* - attestationPolicy "github.com/thinksyncs/agents-secure-binding/scripts/attestation_policy/sev-snp" + attestationPolicy "github.com/ToppyMicroServices/agents-secure-binding/v2/scripts/attestation_policy/sev-snp" */) func (ms *managerService) FetchAttestationPolicy(_ context.Context, _ string) ([]byte, error) { diff --git a/manager/attestation_policy_test.go b/manager/attestation_policy_test.go index 1049dbda..1abf20a9 100644 --- a/manager/attestation_policy_test.go +++ b/manager/attestation_policy_test.go @@ -8,10 +8,10 @@ import ( "path/filepath" "testing" + "github.com/ToppyMicroServices/agents-secure-binding/v2/manager/qemu" + "github.com/ToppyMicroServices/agents-secure-binding/v2/manager/vm" + "github.com/ToppyMicroServices/agents-secure-binding/v2/manager/vm/mocks" "github.com/stretchr/testify/assert" - "github.com/thinksyncs/agents-secure-binding/manager/qemu" - "github.com/thinksyncs/agents-secure-binding/manager/vm" - "github.com/thinksyncs/agents-secure-binding/manager/vm/mocks" "github.com/veraison/corim/corim" ) diff --git a/manager/mocks/managerserviceclient.go b/manager/mocks/managerserviceclient.go index b4252411..98f2553e 100644 --- a/manager/mocks/managerserviceclient.go +++ b/manager/mocks/managerserviceclient.go @@ -10,8 +10,8 @@ package mocks import ( "context" + "github.com/ToppyMicroServices/agents-secure-binding/v2/manager" mock "github.com/stretchr/testify/mock" - "github.com/thinksyncs/agents-secure-binding/manager" "google.golang.org/grpc" "google.golang.org/protobuf/types/known/emptypb" ) diff --git a/manager/mocks/service.go b/manager/mocks/service.go index f6a138a7..ecdd6303 100644 --- a/manager/mocks/service.go +++ b/manager/mocks/service.go @@ -10,8 +10,8 @@ package mocks import ( "context" + "github.com/ToppyMicroServices/agents-secure-binding/v2/manager" mock "github.com/stretchr/testify/mock" - "github.com/thinksyncs/agents-secure-binding/manager" ) // NewService creates a new instance of Service. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. diff --git a/manager/qemu/mocks/persistence.go b/manager/qemu/mocks/persistence.go index f08ad68d..a9167519 100644 --- a/manager/qemu/mocks/persistence.go +++ b/manager/qemu/mocks/persistence.go @@ -8,8 +8,8 @@ package mocks import ( + "github.com/ToppyMicroServices/agents-secure-binding/v2/manager/qemu" mock "github.com/stretchr/testify/mock" - "github.com/thinksyncs/agents-secure-binding/manager/qemu" ) // NewPersistence creates a new instance of Persistence. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. diff --git a/manager/qemu/vm.go b/manager/qemu/vm.go index 78b1813f..268a9b33 100644 --- a/manager/qemu/vm.go +++ b/manager/qemu/vm.go @@ -11,10 +11,10 @@ import ( "syscall" "time" + "github.com/ToppyMicroServices/agents-secure-binding/v2/internal" + "github.com/ToppyMicroServices/agents-secure-binding/v2/manager/vm" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/manager" "github.com/gofrs/uuid" - "github.com/thinksyncs/agents-secure-binding/internal" - "github.com/thinksyncs/agents-secure-binding/manager/vm" - "github.com/thinksyncs/agents-secure-binding/pkg/manager" ) const ( diff --git a/manager/qemu/vm_test.go b/manager/qemu/vm_test.go index cde98ce7..277a91fa 100644 --- a/manager/qemu/vm_test.go +++ b/manager/qemu/vm_test.go @@ -8,9 +8,9 @@ import ( "os/exec" "testing" + "github.com/ToppyMicroServices/agents-secure-binding/v2/manager/vm/mocks" + pkgmanager "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/manager" "github.com/stretchr/testify/assert" - "github.com/thinksyncs/agents-secure-binding/manager/vm/mocks" - pkgmanager "github.com/thinksyncs/agents-secure-binding/pkg/manager" ) const testComputationID = "test-computation" diff --git a/manager/service.go b/manager/service.go index 6a221108..a4a8a1dd 100644 --- a/manager/service.go +++ b/manager/service.go @@ -17,12 +17,12 @@ import ( "time" "unicode" + "github.com/ToppyMicroServices/agents-secure-binding/v2/internal/errors" + "github.com/ToppyMicroServices/agents-secure-binding/v2/manager/qemu" + "github.com/ToppyMicroServices/agents-secure-binding/v2/manager/vm" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/attestation/corimgen" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/manager" "github.com/google/uuid" - "github.com/thinksyncs/agents-secure-binding/internal/errors" - "github.com/thinksyncs/agents-secure-binding/manager/qemu" - "github.com/thinksyncs/agents-secure-binding/manager/vm" - "github.com/thinksyncs/agents-secure-binding/pkg/attestation/corimgen" - "github.com/thinksyncs/agents-secure-binding/pkg/manager" ) const ( diff --git a/manager/service_test.go b/manager/service_test.go index cb40b2f4..30fb6a5c 100644 --- a/manager/service_test.go +++ b/manager/service_test.go @@ -13,15 +13,15 @@ import ( "path/filepath" "testing" + "github.com/ToppyMicroServices/agents-secure-binding/v2/internal/errors" + mglog "github.com/ToppyMicroServices/agents-secure-binding/v2/internal/runtime/logging" + "github.com/ToppyMicroServices/agents-secure-binding/v2/manager/qemu" + persistenceMocks "github.com/ToppyMicroServices/agents-secure-binding/v2/manager/qemu/mocks" + "github.com/ToppyMicroServices/agents-secure-binding/v2/manager/vm" + "github.com/ToppyMicroServices/agents-secure-binding/v2/manager/vm/mocks" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/mock" "github.com/stretchr/testify/require" - "github.com/thinksyncs/agents-secure-binding/internal/errors" - mglog "github.com/thinksyncs/agents-secure-binding/internal/runtime/logging" - "github.com/thinksyncs/agents-secure-binding/manager/qemu" - persistenceMocks "github.com/thinksyncs/agents-secure-binding/manager/qemu/mocks" - "github.com/thinksyncs/agents-secure-binding/manager/vm" - "github.com/thinksyncs/agents-secure-binding/manager/vm/mocks" "github.com/veraison/corim/corim" ) diff --git a/manager/tracing/tracing.go b/manager/tracing/tracing.go index a6624159..eb3d5570 100644 --- a/manager/tracing/tracing.go +++ b/manager/tracing/tracing.go @@ -5,7 +5,7 @@ package tracing import ( "context" - "github.com/thinksyncs/agents-secure-binding/manager" + "github.com/ToppyMicroServices/agents-secure-binding/v2/manager" "go.opentelemetry.io/otel/trace" ) diff --git a/manager/vm/mocks/provider.go b/manager/vm/mocks/provider.go index d8946609..5c68a931 100644 --- a/manager/vm/mocks/provider.go +++ b/manager/vm/mocks/provider.go @@ -10,7 +10,7 @@ import ( mock "github.com/stretchr/testify/mock" - vm "github.com/thinksyncs/agents-secure-binding/manager/vm" + vm "github.com/ToppyMicroServices/agents-secure-binding/v2/manager/vm" ) // Provider is an autogenerated mock type for the Provider type diff --git a/manager/vm/mocks/statemachine.go b/manager/vm/mocks/statemachine.go index b9064350..7128c670 100644 --- a/manager/vm/mocks/statemachine.go +++ b/manager/vm/mocks/statemachine.go @@ -8,8 +8,8 @@ package mocks import ( + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/manager" mock "github.com/stretchr/testify/mock" - "github.com/thinksyncs/agents-secure-binding/pkg/manager" ) // NewStateMachine creates a new instance of StateMachine. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. diff --git a/manager/vm/mocks/vm.go b/manager/vm/mocks/vm.go index 2a4e2986..9b91b2dd 100644 --- a/manager/vm/mocks/vm.go +++ b/manager/vm/mocks/vm.go @@ -8,8 +8,8 @@ package mocks import ( + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/manager" mock "github.com/stretchr/testify/mock" - "github.com/thinksyncs/agents-secure-binding/pkg/manager" ) // NewVM creates a new instance of VM. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. diff --git a/manager/vm/state.go b/manager/vm/state.go index 8085466f..5779bbf3 100644 --- a/manager/vm/state.go +++ b/manager/vm/state.go @@ -6,7 +6,7 @@ import ( "errors" "sync" - "github.com/thinksyncs/agents-secure-binding/pkg/manager" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/manager" ) type sm struct { diff --git a/manager/vm/state_test.go b/manager/vm/state_test.go index db15a1fd..9d05a8b2 100644 --- a/manager/vm/state_test.go +++ b/manager/vm/state_test.go @@ -6,8 +6,8 @@ import ( "sync" "testing" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/manager" "github.com/stretchr/testify/assert" - "github.com/thinksyncs/agents-secure-binding/pkg/manager" ) const numGoroutines = 10 diff --git a/manager/vm/vm.go b/manager/vm/vm.go index fc97ea29..f9fca5e2 100644 --- a/manager/vm/vm.go +++ b/manager/vm/vm.go @@ -5,7 +5,7 @@ package vm import ( "log/slog" - pkgmanager "github.com/thinksyncs/agents-secure-binding/pkg/manager" + pkgmanager "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/manager" "google.golang.org/protobuf/types/known/timestamppb" ) diff --git a/pkg/agtp/cwt.go b/pkg/agtp/cwt.go index 8a9adee0..f4ff78ab 100644 --- a/pkg/agtp/cwt.go +++ b/pkg/agtp/cwt.go @@ -11,8 +11,8 @@ import ( "strings" "time" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/atls/identitypolicy" "github.com/fxamacker/cbor/v2" - "github.com/thinksyncs/agents-secure-binding/pkg/atls/identitypolicy" "github.com/veraison/go-cose" ) diff --git a/pkg/agtp/cwt_test.go b/pkg/agtp/cwt_test.go index d0fa0318..03ee003d 100644 --- a/pkg/agtp/cwt_test.go +++ b/pkg/agtp/cwt_test.go @@ -13,8 +13,8 @@ import ( "testing" "time" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/atls/identitypolicy" "github.com/fxamacker/cbor/v2" - "github.com/thinksyncs/agents-secure-binding/pkg/atls/identitypolicy" "github.com/veraison/go-cose" ) diff --git a/pkg/agtp/discovery/peer/auth.go b/pkg/agtp/discovery/peer/auth.go index da6e724e..0d72df49 100644 --- a/pkg/agtp/discovery/peer/auth.go +++ b/pkg/agtp/discovery/peer/auth.go @@ -14,9 +14,9 @@ import ( "sync" "time" - "github.com/thinksyncs/agents-secure-binding/pkg/agtp/discovery" - "github.com/thinksyncs/agents-secure-binding/pkg/atls/identitypolicy" - "github.com/thinksyncs/agents-secure-binding/pkg/production" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/agtp/discovery" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/atls/identitypolicy" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/production" ) const nonceLifetime = 30 * time.Second diff --git a/pkg/agtp/discovery/peer/client.go b/pkg/agtp/discovery/peer/client.go index 0ce362bc..1bd91ea1 100644 --- a/pkg/agtp/discovery/peer/client.go +++ b/pkg/agtp/discovery/peer/client.go @@ -19,11 +19,11 @@ import ( "net/http" "time" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/agtp/discovery" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/atls/identitypolicy" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/clients" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/production" "github.com/golang-jwt/jwt/v5" - "github.com/thinksyncs/agents-secure-binding/pkg/agtp/discovery" - "github.com/thinksyncs/agents-secure-binding/pkg/atls/identitypolicy" - "github.com/thinksyncs/agents-secure-binding/pkg/clients" - "github.com/thinksyncs/agents-secure-binding/pkg/production" ) // RemoteAuthorization contains verifier-specific values for one destination. diff --git a/pkg/agtp/discovery/peer/node.go b/pkg/agtp/discovery/peer/node.go index 84c7bcdf..e7000a01 100644 --- a/pkg/agtp/discovery/peer/node.go +++ b/pkg/agtp/discovery/peer/node.go @@ -19,7 +19,7 @@ import ( "sync/atomic" "time" - "github.com/thinksyncs/agents-secure-binding/pkg/agtp/discovery" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/agtp/discovery" ) const ( diff --git a/pkg/agtp/discovery/peer/node_integration_test.go b/pkg/agtp/discovery/peer/node_integration_test.go index 5e15ca37..ac5815ca 100644 --- a/pkg/agtp/discovery/peer/node_integration_test.go +++ b/pkg/agtp/discovery/peer/node_integration_test.go @@ -26,10 +26,10 @@ import ( "testing" "time" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/agtp/discovery" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/clients" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/production" "github.com/golang-jwt/jwt/v5" - "github.com/thinksyncs/agents-secure-binding/pkg/agtp/discovery" - "github.com/thinksyncs/agents-secure-binding/pkg/clients" - "github.com/thinksyncs/agents-secure-binding/pkg/production" ) const ( diff --git a/pkg/agtp/discovery/peer/protocol.go b/pkg/agtp/discovery/peer/protocol.go index 00892108..0e326eb3 100644 --- a/pkg/agtp/discovery/peer/protocol.go +++ b/pkg/agtp/discovery/peer/protocol.go @@ -9,7 +9,7 @@ import ( "encoding/json" "errors" - "github.com/thinksyncs/agents-secure-binding/pkg/agtp/discovery" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/agtp/discovery" ) const ( diff --git a/pkg/agtp/discovery/peer/replay.go b/pkg/agtp/discovery/peer/replay.go index 6371c944..34bf1f2d 100644 --- a/pkg/agtp/discovery/peer/replay.go +++ b/pkg/agtp/discovery/peer/replay.go @@ -10,7 +10,7 @@ import ( "sync" "time" - "github.com/thinksyncs/agents-secure-binding/pkg/atls/identitypolicy" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/atls/identitypolicy" ) type replaySnapshot struct { diff --git a/pkg/agtp/discovery/peer/store.go b/pkg/agtp/discovery/peer/store.go index 0a6cb6fe..325fe8fb 100644 --- a/pkg/agtp/discovery/peer/store.go +++ b/pkg/agtp/discovery/peer/store.go @@ -14,7 +14,7 @@ import ( "sync" "time" - "github.com/thinksyncs/agents-secure-binding/pkg/agtp/discovery" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/agtp/discovery" ) const stateVersion = 1 diff --git a/pkg/agtp/discovery/peer/store_test.go b/pkg/agtp/discovery/peer/store_test.go index 3405f467..95e6e140 100644 --- a/pkg/agtp/discovery/peer/store_test.go +++ b/pkg/agtp/discovery/peer/store_test.go @@ -10,8 +10,8 @@ import ( "testing" "time" - "github.com/thinksyncs/agents-secure-binding/pkg/agtp/discovery" - "github.com/thinksyncs/agents-secure-binding/pkg/atls/identitypolicy" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/agtp/discovery" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/atls/identitypolicy" ) func TestStateStoreRoundTripAndCorruption(t *testing.T) { diff --git a/pkg/agtp/gateway_route.go b/pkg/agtp/gateway_route.go index ebf0e657..100a45af 100644 --- a/pkg/agtp/gateway_route.go +++ b/pkg/agtp/gateway_route.go @@ -8,7 +8,7 @@ import ( "strings" "time" - "github.com/thinksyncs/agents-secure-binding/pkg/agtp/gatewayroute" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/agtp/gatewayroute" ) func validateGatewayRouteCore(a gatewayroute.Assertion) error { diff --git a/pkg/agtp/gateway_route_cwt.go b/pkg/agtp/gateway_route_cwt.go index 89e37112..d7cd551a 100644 --- a/pkg/agtp/gateway_route_cwt.go +++ b/pkg/agtp/gateway_route_cwt.go @@ -6,7 +6,7 @@ package agtp import ( "time" - "github.com/thinksyncs/agents-secure-binding/pkg/agtp/gatewayroute" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/agtp/gatewayroute" "github.com/veraison/go-cose" ) diff --git a/pkg/agtp/gateway_route_jwt.go b/pkg/agtp/gateway_route_jwt.go index 6723e3f6..c353cf98 100644 --- a/pkg/agtp/gateway_route_jwt.go +++ b/pkg/agtp/gateway_route_jwt.go @@ -6,8 +6,8 @@ package agtp import ( "time" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/agtp/gatewayroute" "github.com/golang-jwt/jwt/v5" - "github.com/thinksyncs/agents-secure-binding/pkg/agtp/gatewayroute" ) // GatewayRouteJWTOptions contains local policy for accepting a signed Gateway diff --git a/pkg/agtp/gateway_route_test.go b/pkg/agtp/gateway_route_test.go index 24214204..1a2f1a55 100644 --- a/pkg/agtp/gateway_route_test.go +++ b/pkg/agtp/gateway_route_test.go @@ -13,8 +13,8 @@ import ( "testing" "time" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/agtp/gatewayroute" "github.com/golang-jwt/jwt/v5" - "github.com/thinksyncs/agents-secure-binding/pkg/agtp/gatewayroute" "github.com/veraison/go-cose" ) diff --git a/pkg/agtp/gatewayroute/route.go b/pkg/agtp/gatewayroute/route.go index 87da6b84..cde3f154 100644 --- a/pkg/agtp/gatewayroute/route.go +++ b/pkg/agtp/gatewayroute/route.go @@ -16,7 +16,7 @@ import ( "strings" "time" - "github.com/thinksyncs/agents-secure-binding/pkg/atls/identitypolicy" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/atls/identitypolicy" ) var ( diff --git a/pkg/agtp/gatewayroute/route_test.go b/pkg/agtp/gatewayroute/route_test.go index 6cb408df..b9460972 100644 --- a/pkg/agtp/gatewayroute/route_test.go +++ b/pkg/agtp/gatewayroute/route_test.go @@ -8,7 +8,7 @@ import ( "testing" "time" - "github.com/thinksyncs/agents-secure-binding/pkg/atls/identitypolicy" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/atls/identitypolicy" ) func TestValidateAcceptsRouteAssertionWithAgentHolderProof(t *testing.T) { diff --git a/pkg/agtp/jwt.go b/pkg/agtp/jwt.go index def67b5e..e6ba811d 100644 --- a/pkg/agtp/jwt.go +++ b/pkg/agtp/jwt.go @@ -21,8 +21,8 @@ import ( "strings" "time" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/atls/identitypolicy" "github.com/golang-jwt/jwt/v5" - "github.com/thinksyncs/agents-secure-binding/pkg/atls/identitypolicy" ) var ( diff --git a/pkg/agtp/jwt_test.go b/pkg/agtp/jwt_test.go index 96385cf0..f125c31c 100644 --- a/pkg/agtp/jwt_test.go +++ b/pkg/agtp/jwt_test.go @@ -28,9 +28,9 @@ import ( "testing" "time" + attestation "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/atls/eaattestation" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/atls/identitypolicy" "github.com/golang-jwt/jwt/v5" - attestation "github.com/thinksyncs/agents-secure-binding/pkg/atls/eaattestation" - "github.com/thinksyncs/agents-secure-binding/pkg/atls/identitypolicy" "google.golang.org/grpc" "google.golang.org/grpc/codes" "google.golang.org/grpc/credentials/insecure" diff --git a/pkg/atls/ea/authenticator.go b/pkg/atls/ea/authenticator.go index f9ce705e..8823d255 100644 --- a/pkg/atls/ea/authenticator.go +++ b/pkg/atls/ea/authenticator.go @@ -10,7 +10,7 @@ import ( "errors" "fmt" - eaattestation "github.com/thinksyncs/agents-secure-binding/pkg/atls/eaattestation" + eaattestation "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/atls/eaattestation" ) var ( diff --git a/pkg/atls/ea/authenticator_test.go b/pkg/atls/ea/authenticator_test.go index 7bf353d1..028f672b 100644 --- a/pkg/atls/ea/authenticator_test.go +++ b/pkg/atls/ea/authenticator_test.go @@ -17,7 +17,7 @@ import ( "testing" "time" - attestation "github.com/thinksyncs/agents-secure-binding/pkg/atls/eaattestation" + attestation "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/atls/eaattestation" ) func selfSignedCert(t *testing.T) tls.Certificate { diff --git a/pkg/atls/ea/session.go b/pkg/atls/ea/session.go index f380a4e4..1aeafe59 100644 --- a/pkg/atls/ea/session.go +++ b/pkg/atls/ea/session.go @@ -8,7 +8,7 @@ import ( "crypto/x509" "sync" - eaattestation "github.com/thinksyncs/agents-secure-binding/pkg/atls/eaattestation" + eaattestation "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/atls/eaattestation" ) type Session struct { diff --git a/pkg/atls/evidence_verifier.go b/pkg/atls/evidence_verifier.go index f07c65fc..37e9eea5 100644 --- a/pkg/atls/evidence_verifier.go +++ b/pkg/atls/evidence_verifier.go @@ -8,15 +8,15 @@ import ( "fmt" "os" + eaattestation "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/atls/eaattestation" + asbattestation "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/attestation" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/attestation/azure" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/attestation/eat" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/attestation/tdx" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/attestation/vtpm" "github.com/google/go-sev-guest/proto/sevsnp" "github.com/google/go-tpm-tools/proto/attest" "github.com/google/go-tpm/legacy/tpm2" - eaattestation "github.com/thinksyncs/agents-secure-binding/pkg/atls/eaattestation" - asbattestation "github.com/thinksyncs/agents-secure-binding/pkg/attestation" - "github.com/thinksyncs/agents-secure-binding/pkg/attestation/azure" - "github.com/thinksyncs/agents-secure-binding/pkg/attestation/eat" - "github.com/thinksyncs/agents-secure-binding/pkg/attestation/tdx" - "github.com/thinksyncs/agents-secure-binding/pkg/attestation/vtpm" "github.com/veraison/corim/corim" "golang.org/x/crypto/sha3" "google.golang.org/protobuf/proto" diff --git a/pkg/atls/evidence_verifier_test.go b/pkg/atls/evidence_verifier_test.go index e1024843..f1ac5f75 100644 --- a/pkg/atls/evidence_verifier_test.go +++ b/pkg/atls/evidence_verifier_test.go @@ -7,13 +7,13 @@ import ( "crypto/sha3" "testing" + eaattestation "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/atls/eaattestation" + asbattestation "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/attestation" "github.com/google/go-sev-guest/proto/sevsnp" "github.com/google/go-tpm-tools/proto/attest" tpmpb "github.com/google/go-tpm-tools/proto/tpm" "github.com/google/go-tpm/legacy/tpm2" "github.com/google/go-tpm/tpmutil" - eaattestation "github.com/thinksyncs/agents-secure-binding/pkg/atls/eaattestation" - asbattestation "github.com/thinksyncs/agents-secure-binding/pkg/attestation" "google.golang.org/protobuf/proto" ) diff --git a/pkg/atls/identity_binding.go b/pkg/atls/identity_binding.go index c5616ccf..f1746e06 100644 --- a/pkg/atls/identity_binding.go +++ b/pkg/atls/identity_binding.go @@ -9,10 +9,10 @@ import ( "encoding/hex" "fmt" - "github.com/thinksyncs/agents-secure-binding/pkg/atls/ea" - eaattestation "github.com/thinksyncs/agents-secure-binding/pkg/atls/eaattestation" - "github.com/thinksyncs/agents-secure-binding/pkg/atls/identitypolicy" - internaltransport "github.com/thinksyncs/agents-secure-binding/pkg/atls/internal_transport" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/atls/ea" + eaattestation "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/atls/eaattestation" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/atls/identitypolicy" + internaltransport "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/atls/internal_transport" ) // IdentityBindingFromConnectionState derives identity-policy binding values diff --git a/pkg/atls/identity_binding_test.go b/pkg/atls/identity_binding_test.go index a06a1066..6802f27d 100644 --- a/pkg/atls/identity_binding_test.go +++ b/pkg/atls/identity_binding_test.go @@ -15,7 +15,7 @@ import ( "testing" "time" - "github.com/thinksyncs/agents-secure-binding/pkg/atls/ea" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/atls/ea" ) func TestIdentityBindingFromConnectionStateRejectsInvalidTLSState(t *testing.T) { diff --git a/pkg/atls/identitypolicy/session_binding_test.go b/pkg/atls/identitypolicy/session_binding_test.go index 6e5b0712..57069caa 100644 --- a/pkg/atls/identitypolicy/session_binding_test.go +++ b/pkg/atls/identitypolicy/session_binding_test.go @@ -12,7 +12,7 @@ import ( "testing" "time" - eaattestation "github.com/thinksyncs/agents-secure-binding/pkg/atls/eaattestation" + eaattestation "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/atls/eaattestation" ) const testManagerKeyID = "manager-key-1" diff --git a/pkg/atls/internal_transport/conn.go b/pkg/atls/internal_transport/conn.go index 8d000dfb..48c7f15a 100644 --- a/pkg/atls/internal_transport/conn.go +++ b/pkg/atls/internal_transport/conn.go @@ -15,9 +15,9 @@ import ( "net" "time" - "github.com/thinksyncs/agents-secure-binding/pkg/atls/ea" - eaattestation "github.com/thinksyncs/agents-secure-binding/pkg/atls/eaattestation" - "github.com/thinksyncs/agents-secure-binding/pkg/atls/identitypolicy" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/atls/ea" + eaattestation "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/atls/eaattestation" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/atls/identitypolicy" ) // ErrMissingObservedIdentity reports an enabled identity policy without a diff --git a/pkg/atls/internal_transport/conn_test.go b/pkg/atls/internal_transport/conn_test.go index ee4e1d35..8127d3e2 100644 --- a/pkg/atls/internal_transport/conn_test.go +++ b/pkg/atls/internal_transport/conn_test.go @@ -19,9 +19,9 @@ import ( "testing" "time" - "github.com/thinksyncs/agents-secure-binding/pkg/atls/ea" - eaattestation "github.com/thinksyncs/agents-secure-binding/pkg/atls/eaattestation" - "github.com/thinksyncs/agents-secure-binding/pkg/atls/identitypolicy" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/atls/ea" + eaattestation "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/atls/eaattestation" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/atls/identitypolicy" ) const testIdentityBindingNonce = "identity-binding-nonce" diff --git a/pkg/atls/mocks/certificateprovider.go b/pkg/atls/mocks/certificateprovider.go index c94fc250..36fb3bb6 100644 --- a/pkg/atls/mocks/certificateprovider.go +++ b/pkg/atls/mocks/certificateprovider.go @@ -8,8 +8,8 @@ import ( "crypto/tls" "crypto/x509" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/atls/ea" "github.com/stretchr/testify/mock" - "github.com/thinksyncs/agents-secure-binding/pkg/atls/ea" ) type CertificateProvider struct { diff --git a/pkg/atls/provider.go b/pkg/atls/provider.go index 04a08738..13d9347c 100644 --- a/pkg/atls/provider.go +++ b/pkg/atls/provider.go @@ -11,10 +11,10 @@ import ( "crypto/x509" "fmt" - "github.com/thinksyncs/agents-secure-binding/pkg/atls/ea" - eaattestation "github.com/thinksyncs/agents-secure-binding/pkg/atls/eaattestation" - asbattestation "github.com/thinksyncs/agents-secure-binding/pkg/attestation" - attestationclient "github.com/thinksyncs/agents-secure-binding/pkg/clients/grpc/attestation" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/atls/ea" + eaattestation "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/atls/eaattestation" + asbattestation "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/attestation" + attestationclient "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/clients/grpc/attestation" ) // CertificateProvider builds leaf extensions for accepted aTLS call sites. diff --git a/pkg/atls/transport.go b/pkg/atls/transport.go index dba225a5..7bfe5fc7 100644 --- a/pkg/atls/transport.go +++ b/pkg/atls/transport.go @@ -15,10 +15,10 @@ import ( "crypto/x509" "net" - "github.com/thinksyncs/agents-secure-binding/pkg/atls/ea" - eaattestation "github.com/thinksyncs/agents-secure-binding/pkg/atls/eaattestation" - "github.com/thinksyncs/agents-secure-binding/pkg/atls/identitypolicy" - internaltransport "github.com/thinksyncs/agents-secure-binding/pkg/atls/internal_transport" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/atls/ea" + eaattestation "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/atls/eaattestation" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/atls/identitypolicy" + internaltransport "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/atls/internal_transport" ) type Conn = internaltransport.Conn diff --git a/pkg/attestation/azure/snp.go b/pkg/attestation/azure/snp.go index 2f4d08e5..6749c826 100644 --- a/pkg/attestation/azure/snp.go +++ b/pkg/attestation/azure/snp.go @@ -13,12 +13,12 @@ import ( "net/url" "strings" + "github.com/ToppyMicroServices/agents-secure-binding/v2/internal/errors" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/attestation" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/attestation/vtpm" jose "github.com/go-jose/go-jose/v4" "github.com/golang-jwt/jwt/v5" "github.com/google/go-tpm-tools/proto/attest" - "github.com/thinksyncs/agents-secure-binding/internal/errors" - "github.com/thinksyncs/agents-secure-binding/pkg/attestation" - "github.com/thinksyncs/agents-secure-binding/pkg/attestation/vtpm" "github.com/veraison/corim/comid" "github.com/veraison/corim/corim" "google.golang.org/protobuf/proto" diff --git a/pkg/attestation/azure/snp_test.go b/pkg/attestation/azure/snp_test.go index 2c2b34f2..49908387 100644 --- a/pkg/attestation/azure/snp_test.go +++ b/pkg/attestation/azure/snp_test.go @@ -13,12 +13,12 @@ import ( "testing" "time" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/attestation" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/attestation/vtpm" "github.com/golang-jwt/jwt/v5" "github.com/google/go-sev-guest/proto/sevsnp" "github.com/google/go-tpm-tools/proto/attest" "github.com/stretchr/testify/assert" - "github.com/thinksyncs/agents-secure-binding/pkg/attestation" - "github.com/thinksyncs/agents-secure-binding/pkg/attestation/vtpm" "github.com/veraison/corim/comid" "github.com/veraison/corim/corim" "google.golang.org/protobuf/proto" diff --git a/pkg/attestation/ccaa/provider.go b/pkg/attestation/ccaa/provider.go index 1363ae38..98ad429c 100644 --- a/pkg/attestation/ccaa/provider.go +++ b/pkg/attestation/ccaa/provider.go @@ -7,9 +7,9 @@ import ( "fmt" "time" - "github.com/thinksyncs/agents-secure-binding/internal/errors" - attestation_agent "github.com/thinksyncs/agents-secure-binding/internal/proto/attestation-agent" - "github.com/thinksyncs/agents-secure-binding/internal/runtime/netguard" + "github.com/ToppyMicroServices/agents-secure-binding/v2/internal/errors" + attestation_agent "github.com/ToppyMicroServices/agents-secure-binding/v2/internal/proto/attestation-agent" + "github.com/ToppyMicroServices/agents-secure-binding/v2/internal/runtime/netguard" "google.golang.org/grpc" "google.golang.org/grpc/credentials/insecure" ) diff --git a/pkg/attestation/ccaa/provider_test.go b/pkg/attestation/ccaa/provider_test.go index 6e459894..7b7ecea3 100644 --- a/pkg/attestation/ccaa/provider_test.go +++ b/pkg/attestation/ccaa/provider_test.go @@ -7,9 +7,9 @@ import ( "errors" "testing" + attestation_agent "github.com/ToppyMicroServices/agents-secure-binding/v2/internal/proto/attestation-agent" + "github.com/ToppyMicroServices/agents-secure-binding/v2/internal/proto/attestation-agent/mocks" "github.com/stretchr/testify/mock" - attestation_agent "github.com/thinksyncs/agents-secure-binding/internal/proto/attestation-agent" - "github.com/thinksyncs/agents-secure-binding/internal/proto/attestation-agent/mocks" ) func TestNewProviderRejectsRemotePlaintextTCP(t *testing.T) { diff --git a/pkg/attestation/corimgen/README.md b/pkg/attestation/corimgen/README.md index a4f81b0a..dfb6bfef 100644 --- a/pkg/attestation/corimgen/README.md +++ b/pkg/attestation/corimgen/README.md @@ -21,7 +21,7 @@ The `corimgen` package generates CoRIM attestation policies for confidential com ### Basic Usage (Unsigned) ```go -import "github.com/thinksyncs/agents-secure-binding/pkg/attestation/corimgen" +import "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/attestation/corimgen" opts := corimgen.Options{ Platform: "snp", @@ -41,7 +41,7 @@ import ( "crypto/elliptic" "crypto/rand" - "github.com/thinksyncs/agents-secure-binding/pkg/attestation/corimgen" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/attestation/corimgen" ) // Generate signing key diff --git a/pkg/attestation/eat/eat.go b/pkg/attestation/eat/eat.go index 61ad2132..c22e1de3 100644 --- a/pkg/attestation/eat/eat.go +++ b/pkg/attestation/eat/eat.go @@ -6,7 +6,7 @@ package eat import ( "errors" - "github.com/thinksyncs/agents-secure-binding/pkg/attestation" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/attestation" ) // EATClaims represents the Entity Attestation Token claims following RFC 9711. diff --git a/pkg/attestation/eat/eat_test.go b/pkg/attestation/eat/eat_test.go index f663ef11..e595dc17 100644 --- a/pkg/attestation/eat/eat_test.go +++ b/pkg/attestation/eat/eat_test.go @@ -6,8 +6,8 @@ package eat import ( "testing" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/attestation" "github.com/stretchr/testify/assert" - "github.com/thinksyncs/agents-secure-binding/pkg/attestation" ) func TestNewEATClaims(t *testing.T) { diff --git a/pkg/attestation/eat/extractor_test.go b/pkg/attestation/eat/extractor_test.go index 52dd44f4..60b278f6 100644 --- a/pkg/attestation/eat/extractor_test.go +++ b/pkg/attestation/eat/extractor_test.go @@ -8,9 +8,9 @@ import ( "fmt" "testing" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/attestation" "github.com/google/go-sev-guest/abi" "github.com/stretchr/testify/assert" - "github.com/thinksyncs/agents-secure-binding/pkg/attestation" ) func TestExtractSNPClaims(t *testing.T) { diff --git a/pkg/attestation/eat/intuse_test.go b/pkg/attestation/eat/intuse_test.go index 43c8cc20..6d98f65b 100644 --- a/pkg/attestation/eat/intuse_test.go +++ b/pkg/attestation/eat/intuse_test.go @@ -6,8 +6,8 @@ package eat import ( "testing" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/attestation" "github.com/stretchr/testify/assert" - "github.com/thinksyncs/agents-secure-binding/pkg/attestation" ) func TestIntUse(t *testing.T) { diff --git a/pkg/attestation/emptyprovider.go b/pkg/attestation/emptyprovider.go index e911f261..7735a985 100644 --- a/pkg/attestation/emptyprovider.go +++ b/pkg/attestation/emptyprovider.go @@ -6,7 +6,7 @@ package attestation import ( "fmt" - asb "github.com/thinksyncs/agents-secure-binding" + asb "github.com/ToppyMicroServices/agents-secure-binding/v2" ) var _ Provider = (*EmptyProvider)(nil) diff --git a/pkg/attestation/emptyprovider_test.go b/pkg/attestation/emptyprovider_test.go index dc94c020..7bd871bc 100644 --- a/pkg/attestation/emptyprovider_test.go +++ b/pkg/attestation/emptyprovider_test.go @@ -6,9 +6,9 @@ package attestation import ( "testing" + asb "github.com/ToppyMicroServices/agents-secure-binding/v2" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - asb "github.com/thinksyncs/agents-secure-binding" ) func TestEmptyProvider_Attestation(t *testing.T) { diff --git a/pkg/attestation/generator/README.md b/pkg/attestation/generator/README.md index df5c981c..6612b701 100644 --- a/pkg/attestation/generator/README.md +++ b/pkg/attestation/generator/README.md @@ -18,7 +18,7 @@ This package consolidates CoRIM generation logic for SNP and TDX platforms, prov ### Basic Example ```go -import "github.com/thinksyncs/agents-secure-binding/pkg/attestation/generator" +import "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/attestation/generator" // Generate SNP CoRIM with defaults opts := generator.Options{ diff --git a/pkg/attestation/generator/generator.go b/pkg/attestation/generator/generator.go index 1e01f2de..96b98a71 100644 --- a/pkg/attestation/generator/generator.go +++ b/pkg/attestation/generator/generator.go @@ -5,7 +5,7 @@ package generator import ( "crypto" - "github.com/thinksyncs/agents-secure-binding/pkg/attestation/corimgen" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/attestation/corimgen" ) // Legacy SNP Defaults (re-exported from corimgen). diff --git a/pkg/attestation/igvmmeasure/README.md b/pkg/attestation/igvmmeasure/README.md index 4d3e351e..9e6f7480 100644 --- a/pkg/attestation/igvmmeasure/README.md +++ b/pkg/attestation/igvmmeasure/README.md @@ -20,7 +20,7 @@ This package executes the `igvmmeasure` binary to compute cryptographic measurem ```go import ( "bytes" - "github.com/thinksyncs/agents-secure-binding/pkg/attestation/igvmmeasure" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/attestation/igvmmeasure" ) var stdout, stderr bytes.Buffer diff --git a/pkg/attestation/tdx/tdx.go b/pkg/attestation/tdx/tdx.go index 5357afb2..5d17965e 100644 --- a/pkg/attestation/tdx/tdx.go +++ b/pkg/attestation/tdx/tdx.go @@ -11,15 +11,15 @@ import ( "os" "time" + "github.com/ToppyMicroServices/agents-secure-binding/v2/internal/errors" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/attestation" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/attestation/eat" "github.com/google/go-tdx-guest/abi" "github.com/google/go-tdx-guest/client" "github.com/google/go-tdx-guest/proto/checkconfig" valdatetdx "github.com/google/go-tdx-guest/validate" verifytdx "github.com/google/go-tdx-guest/verify" trusttdx "github.com/google/go-tdx-guest/verify/trust" - "github.com/thinksyncs/agents-secure-binding/internal/errors" - "github.com/thinksyncs/agents-secure-binding/pkg/attestation" - "github.com/thinksyncs/agents-secure-binding/pkg/attestation/eat" "github.com/veraison/corim/comid" "github.com/veraison/corim/corim" "google.golang.org/protobuf/encoding/protojson" diff --git a/pkg/attestation/tdx/tdx_coverage_test.go b/pkg/attestation/tdx/tdx_coverage_test.go index 047605ad..4e387346 100644 --- a/pkg/attestation/tdx/tdx_coverage_test.go +++ b/pkg/attestation/tdx/tdx_coverage_test.go @@ -11,9 +11,9 @@ import ( "testing" "time" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/attestation/eat" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/thinksyncs/agents-secure-binding/pkg/attestation/eat" ) func TestVerifyEAT_TDX(t *testing.T) { diff --git a/pkg/attestation/tdx/tdx_test.go b/pkg/attestation/tdx/tdx_test.go index 1cfb552d..60312642 100644 --- a/pkg/attestation/tdx/tdx_test.go +++ b/pkg/attestation/tdx/tdx_test.go @@ -9,10 +9,10 @@ import ( "runtime" "testing" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/attestation" "github.com/google/go-tdx-guest/proto/checkconfig" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/thinksyncs/agents-secure-binding/pkg/attestation" "github.com/veraison/corim/comid" "github.com/veraison/corim/corim" "github.com/veraison/swid" diff --git a/pkg/attestation/vtpm/vtpm.go b/pkg/attestation/vtpm/vtpm.go index deb6d038..20938a2d 100644 --- a/pkg/attestation/vtpm/vtpm.go +++ b/pkg/attestation/vtpm/vtpm.go @@ -9,13 +9,13 @@ import ( "io" "os" + "github.com/ToppyMicroServices/agents-secure-binding/v2/internal/errors" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/attestation" "github.com/google/go-sev-guest/proto/sevsnp" "github.com/google/go-tpm-tools/client" "github.com/google/go-tpm-tools/proto/attest" "github.com/google/go-tpm/legacy/tpm2" "github.com/google/go-tpm/tpmutil" - "github.com/thinksyncs/agents-secure-binding/internal/errors" - "github.com/thinksyncs/agents-secure-binding/pkg/attestation" "github.com/veraison/corim/comid" "github.com/veraison/corim/corim" "golang.org/x/crypto/sha3" diff --git a/pkg/clients/agtp_tls_exporter_test.go b/pkg/clients/agtp_tls_exporter_test.go index 964e7c7e..c97d2252 100644 --- a/pkg/clients/agtp_tls_exporter_test.go +++ b/pkg/clients/agtp_tls_exporter_test.go @@ -7,8 +7,8 @@ import ( "errors" "testing" - "github.com/thinksyncs/agents-secure-binding/pkg/atls" - "github.com/thinksyncs/agents-secure-binding/pkg/atls/identitypolicy" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/atls" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/atls/identitypolicy" ) func TestAGTPObservedIdentityRejectsMockedTLSExporterWithRealState(t *testing.T) { diff --git a/pkg/clients/clients.go b/pkg/clients/clients.go index d7b935b3..5470c773 100644 --- a/pkg/clients/clients.go +++ b/pkg/clients/clients.go @@ -11,9 +11,9 @@ import ( "log/slog" "time" - "github.com/thinksyncs/agents-secure-binding/pkg/atls" - "github.com/thinksyncs/agents-secure-binding/pkg/atls/ea" - "github.com/thinksyncs/agents-secure-binding/pkg/atls/identitypolicy" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/atls" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/atls/ea" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/atls/identitypolicy" ) var ( diff --git a/pkg/clients/clients_test.go b/pkg/clients/clients_test.go index 96aa535b..8c2c32bc 100644 --- a/pkg/clients/clients_test.go +++ b/pkg/clients/clients_test.go @@ -28,11 +28,11 @@ import ( "testing" "time" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/atls" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/atls/ea" + attestation "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/atls/eaattestation" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/atls/identitypolicy" "github.com/golang-jwt/jwt/v5" - "github.com/thinksyncs/agents-secure-binding/pkg/atls" - "github.com/thinksyncs/agents-secure-binding/pkg/atls/ea" - attestation "github.com/thinksyncs/agents-secure-binding/pkg/atls/eaattestation" - "github.com/thinksyncs/agents-secure-binding/pkg/atls/identitypolicy" ) func TestAGTPObservedIdentityAcceptsSessionBoundJWT(t *testing.T) { diff --git a/pkg/clients/grpc/agent/agent.go b/pkg/clients/grpc/agent/agent.go index 98f0ae84..ed8ce230 100644 --- a/pkg/clients/grpc/agent/agent.go +++ b/pkg/clients/grpc/agent/agent.go @@ -5,11 +5,11 @@ package agent import ( "context" - "github.com/thinksyncs/agents-secure-binding/agent" - "github.com/thinksyncs/agents-secure-binding/internal/errors" - "github.com/thinksyncs/agents-secure-binding/pkg/clients" - "github.com/thinksyncs/agents-secure-binding/pkg/clients/grpc" - "github.com/thinksyncs/agents-secure-binding/pkg/tls" + "github.com/ToppyMicroServices/agents-secure-binding/v2/agent" + "github.com/ToppyMicroServices/agents-secure-binding/v2/internal/errors" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/clients" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/clients/grpc" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/tls" grpchealth "google.golang.org/grpc/health/grpc_health_v1" ) diff --git a/pkg/clients/grpc/agent/agent_test.go b/pkg/clients/grpc/agent/agent_test.go index 762f8ad2..ca747dfc 100644 --- a/pkg/clients/grpc/agent/agent_test.go +++ b/pkg/clients/grpc/agent/agent_test.go @@ -9,13 +9,13 @@ import ( "testing" "time" + "github.com/ToppyMicroServices/agents-secure-binding/v2/agent" + agentgrpc "github.com/ToppyMicroServices/agents-secure-binding/v2/agent/api/grpc" + "github.com/ToppyMicroServices/agents-secure-binding/v2/agent/mocks" + "github.com/ToppyMicroServices/agents-secure-binding/v2/internal/errors" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/clients" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/thinksyncs/agents-secure-binding/agent" - agentgrpc "github.com/thinksyncs/agents-secure-binding/agent/api/grpc" - "github.com/thinksyncs/agents-secure-binding/agent/mocks" - "github.com/thinksyncs/agents-secure-binding/internal/errors" - "github.com/thinksyncs/agents-secure-binding/pkg/clients" "google.golang.org/grpc" "google.golang.org/grpc/health" grpchealth "google.golang.org/grpc/health/grpc_health_v1" diff --git a/pkg/clients/grpc/attestation-agent/client.go b/pkg/clients/grpc/attestation-agent/client.go index a0183d84..9feca9bf 100644 --- a/pkg/clients/grpc/attestation-agent/client.go +++ b/pkg/clients/grpc/attestation-agent/client.go @@ -8,9 +8,9 @@ import ( "strings" "time" - "github.com/thinksyncs/agents-secure-binding/internal/errors" - aa "github.com/thinksyncs/agents-secure-binding/internal/proto/attestation-agent" - "github.com/thinksyncs/agents-secure-binding/internal/runtime/netguard" + "github.com/ToppyMicroServices/agents-secure-binding/v2/internal/errors" + aa "github.com/ToppyMicroServices/agents-secure-binding/v2/internal/proto/attestation-agent" + "github.com/ToppyMicroServices/agents-secure-binding/v2/internal/runtime/netguard" "google.golang.org/grpc" "google.golang.org/grpc/credentials/insecure" ) diff --git a/pkg/clients/grpc/attestation-agent/client_test.go b/pkg/clients/grpc/attestation-agent/client_test.go index 3e77ca0f..e7cf8b4e 100644 --- a/pkg/clients/grpc/attestation-agent/client_test.go +++ b/pkg/clients/grpc/attestation-agent/client_test.go @@ -12,9 +12,9 @@ import ( "testing" "time" + aa "github.com/ToppyMicroServices/agents-secure-binding/v2/internal/proto/attestation-agent" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - aa "github.com/thinksyncs/agents-secure-binding/internal/proto/attestation-agent" "google.golang.org/grpc" ) diff --git a/pkg/clients/grpc/attestation/client.go b/pkg/clients/grpc/attestation/client.go index d7a18f3d..30fdc57f 100644 --- a/pkg/clients/grpc/attestation/client.go +++ b/pkg/clients/grpc/attestation/client.go @@ -7,8 +7,8 @@ import ( "fmt" "time" - attestation_v1 "github.com/thinksyncs/agents-secure-binding/internal/proto/attestation/v1" - "github.com/thinksyncs/agents-secure-binding/pkg/attestation" + attestation_v1 "github.com/ToppyMicroServices/agents-secure-binding/v2/internal/proto/attestation/v1" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/attestation" "google.golang.org/grpc" "google.golang.org/grpc/credentials/insecure" ) diff --git a/pkg/clients/grpc/attestation/client_test.go b/pkg/clients/grpc/attestation/client_test.go index b66c45b6..4277c487 100644 --- a/pkg/clients/grpc/attestation/client_test.go +++ b/pkg/clients/grpc/attestation/client_test.go @@ -10,10 +10,10 @@ import ( "testing" "time" + attestation_v1 "github.com/ToppyMicroServices/agents-secure-binding/v2/internal/proto/attestation/v1" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/attestation" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - attestation_v1 "github.com/thinksyncs/agents-secure-binding/internal/proto/attestation/v1" - "github.com/thinksyncs/agents-secure-binding/pkg/attestation" "google.golang.org/grpc" ) diff --git a/pkg/clients/grpc/connect_test.go b/pkg/clients/grpc/connect_test.go index 5aa9711f..9db1e5de 100644 --- a/pkg/clients/grpc/connect_test.go +++ b/pkg/clients/grpc/connect_test.go @@ -18,12 +18,12 @@ import ( "testing" "time" + "github.com/ToppyMicroServices/agents-secure-binding/v2/internal/errors" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/atls/identitypolicy" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/clients" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/tls" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/thinksyncs/agents-secure-binding/internal/errors" - "github.com/thinksyncs/agents-secure-binding/pkg/atls/identitypolicy" - "github.com/thinksyncs/agents-secure-binding/pkg/clients" - "github.com/thinksyncs/agents-secure-binding/pkg/tls" ) func TestNewClient(t *testing.T) { diff --git a/pkg/clients/grpc/cvm/cvm.go b/pkg/clients/grpc/cvm/cvm.go index cd3a1662..fb16e457 100644 --- a/pkg/clients/grpc/cvm/cvm.go +++ b/pkg/clients/grpc/cvm/cvm.go @@ -3,9 +3,9 @@ package cvm import ( - "github.com/thinksyncs/agents-secure-binding/agent/cvms" - "github.com/thinksyncs/agents-secure-binding/pkg/clients" - "github.com/thinksyncs/agents-secure-binding/pkg/clients/grpc" + "github.com/ToppyMicroServices/agents-secure-binding/v2/agent/cvms" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/clients" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/clients/grpc" ) // NewManagerClient creates new manager gRPC client instance. diff --git a/pkg/clients/grpc/cvm/cvm_test.go b/pkg/clients/grpc/cvm/cvm_test.go index 461427b9..cd1d3dae 100644 --- a/pkg/clients/grpc/cvm/cvm_test.go +++ b/pkg/clients/grpc/cvm/cvm_test.go @@ -8,13 +8,13 @@ import ( "testing" "time" + "github.com/ToppyMicroServices/agents-secure-binding/v2/agent" + agentgrpc "github.com/ToppyMicroServices/agents-secure-binding/v2/agent/api/grpc" + "github.com/ToppyMicroServices/agents-secure-binding/v2/agent/mocks" + "github.com/ToppyMicroServices/agents-secure-binding/v2/internal/errors" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/clients" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/thinksyncs/agents-secure-binding/agent" - agentgrpc "github.com/thinksyncs/agents-secure-binding/agent/api/grpc" - "github.com/thinksyncs/agents-secure-binding/agent/mocks" - "github.com/thinksyncs/agents-secure-binding/internal/errors" - "github.com/thinksyncs/agents-secure-binding/pkg/clients" "google.golang.org/grpc" "google.golang.org/grpc/health" grpchealth "google.golang.org/grpc/health/grpc_health_v1" diff --git a/pkg/clients/grpc/grpc.go b/pkg/clients/grpc/grpc.go index 4d08688a..1306aa70 100644 --- a/pkg/clients/grpc/grpc.go +++ b/pkg/clients/grpc/grpc.go @@ -9,11 +9,11 @@ import ( "net" "strings" - "github.com/thinksyncs/agents-secure-binding/internal/errors" - "github.com/thinksyncs/agents-secure-binding/internal/runtime/netguard" - "github.com/thinksyncs/agents-secure-binding/pkg/atls" - "github.com/thinksyncs/agents-secure-binding/pkg/clients" - "github.com/thinksyncs/agents-secure-binding/pkg/tls" + "github.com/ToppyMicroServices/agents-secure-binding/v2/internal/errors" + "github.com/ToppyMicroServices/agents-secure-binding/v2/internal/runtime/netguard" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/atls" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/clients" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/tls" "go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc" "google.golang.org/grpc" "google.golang.org/grpc/credentials" diff --git a/pkg/clients/grpc/log/client.go b/pkg/clients/grpc/log/client.go index 2ad18174..4d24ecbf 100644 --- a/pkg/clients/grpc/log/client.go +++ b/pkg/clients/grpc/log/client.go @@ -6,7 +6,7 @@ import ( "context" "time" - "github.com/thinksyncs/agents-secure-binding/agent/log" + "github.com/ToppyMicroServices/agents-secure-binding/v2/agent/log" "google.golang.org/grpc" "google.golang.org/grpc/credentials/insecure" "google.golang.org/protobuf/types/known/timestamppb" diff --git a/pkg/clients/grpc/log/client_test.go b/pkg/clients/grpc/log/client_test.go index b857b5a7..e3df9e19 100644 --- a/pkg/clients/grpc/log/client_test.go +++ b/pkg/clients/grpc/log/client_test.go @@ -11,9 +11,9 @@ import ( "testing" "time" + "github.com/ToppyMicroServices/agents-secure-binding/v2/agent/log" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/thinksyncs/agents-secure-binding/agent/log" "google.golang.org/grpc" "google.golang.org/protobuf/types/known/emptypb" "google.golang.org/protobuf/types/known/timestamppb" diff --git a/pkg/clients/grpc/manager/manager.go b/pkg/clients/grpc/manager/manager.go index 8fc2f15f..f7bd07d6 100644 --- a/pkg/clients/grpc/manager/manager.go +++ b/pkg/clients/grpc/manager/manager.go @@ -3,9 +3,9 @@ package manager import ( - "github.com/thinksyncs/agents-secure-binding/manager" - "github.com/thinksyncs/agents-secure-binding/pkg/clients" - "github.com/thinksyncs/agents-secure-binding/pkg/clients/grpc" + "github.com/ToppyMicroServices/agents-secure-binding/v2/manager" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/clients" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/clients/grpc" ) // NewManagerClient creates new manager gRPC client instance. diff --git a/pkg/clients/grpc/manager/manager_test.go b/pkg/clients/grpc/manager/manager_test.go index 3c584a28..fc32da40 100644 --- a/pkg/clients/grpc/manager/manager_test.go +++ b/pkg/clients/grpc/manager/manager_test.go @@ -5,9 +5,9 @@ package manager import ( "testing" + "github.com/ToppyMicroServices/agents-secure-binding/v2/internal/errors" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/clients" "github.com/stretchr/testify/assert" - "github.com/thinksyncs/agents-secure-binding/internal/errors" - "github.com/thinksyncs/agents-secure-binding/pkg/clients" ) func TestNewManagerClient(t *testing.T) { diff --git a/pkg/clients/grpc/runner/client.go b/pkg/clients/grpc/runner/client.go index f77310cf..bb5a320f 100644 --- a/pkg/clients/grpc/runner/client.go +++ b/pkg/clients/grpc/runner/client.go @@ -6,7 +6,7 @@ import ( "context" "time" - pb "github.com/thinksyncs/agents-secure-binding/agent/runner" + pb "github.com/ToppyMicroServices/agents-secure-binding/v2/agent/runner" "google.golang.org/grpc" "google.golang.org/grpc/credentials/insecure" "google.golang.org/protobuf/types/known/emptypb" diff --git a/pkg/clients/grpc/runner/client_test.go b/pkg/clients/grpc/runner/client_test.go index f5a86cc4..9ef6718b 100644 --- a/pkg/clients/grpc/runner/client_test.go +++ b/pkg/clients/grpc/runner/client_test.go @@ -10,9 +10,9 @@ import ( "testing" "time" + pb "github.com/ToppyMicroServices/agents-secure-binding/v2/agent/runner" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - pb "github.com/thinksyncs/agents-secure-binding/agent/runner" "google.golang.org/grpc" "google.golang.org/protobuf/types/known/emptypb" ) diff --git a/pkg/clients/grpc/runner/mocks/client.go b/pkg/clients/grpc/runner/mocks/client.go index b6f38544..0ea2cb4e 100644 --- a/pkg/clients/grpc/runner/mocks/client.go +++ b/pkg/clients/grpc/runner/mocks/client.go @@ -10,8 +10,8 @@ package mocks import ( "context" + "github.com/ToppyMicroServices/agents-secure-binding/v2/agent/runner" mock "github.com/stretchr/testify/mock" - "github.com/thinksyncs/agents-secure-binding/agent/runner" "google.golang.org/protobuf/types/known/emptypb" ) diff --git a/pkg/clients/http/client.go b/pkg/clients/http/client.go index 1d433a7e..67cc8beb 100644 --- a/pkg/clients/http/client.go +++ b/pkg/clients/http/client.go @@ -11,9 +11,9 @@ import ( "strings" "time" - "github.com/thinksyncs/agents-secure-binding/pkg/atls" - "github.com/thinksyncs/agents-secure-binding/pkg/clients" - "github.com/thinksyncs/agents-secure-binding/pkg/tls" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/atls" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/clients" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/tls" ) type Client interface { diff --git a/pkg/clients/http/client_test.go b/pkg/clients/http/client_test.go index 5d914d6f..88506aeb 100644 --- a/pkg/clients/http/client_test.go +++ b/pkg/clients/http/client_test.go @@ -18,10 +18,10 @@ import ( "testing" "time" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/atls/identitypolicy" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/clients" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/tls" "github.com/stretchr/testify/assert" - "github.com/thinksyncs/agents-secure-binding/pkg/atls/identitypolicy" - "github.com/thinksyncs/agents-secure-binding/pkg/clients" - "github.com/thinksyncs/agents-secure-binding/pkg/tls" ) func TestConfig_Configuration(t *testing.T) { diff --git a/pkg/clients/identity_jwt.go b/pkg/clients/identity_jwt.go index ccd64a90..87d091eb 100644 --- a/pkg/clients/identity_jwt.go +++ b/pkg/clients/identity_jwt.go @@ -16,8 +16,8 @@ import ( "unicode" "unicode/utf8" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/atls/identitypolicy" "github.com/golang-jwt/jwt/v5" - "github.com/thinksyncs/agents-secure-binding/pkg/atls/identitypolicy" ) var ( diff --git a/pkg/clients/identity_jwt_v2_test.go b/pkg/clients/identity_jwt_v2_test.go index 1de73afd..dc1b509b 100644 --- a/pkg/clients/identity_jwt_v2_test.go +++ b/pkg/clients/identity_jwt_v2_test.go @@ -12,8 +12,8 @@ import ( "testing" "time" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/atls/identitypolicy" "github.com/golang-jwt/jwt/v5" - "github.com/thinksyncs/agents-secure-binding/pkg/atls/identitypolicy" ) const ( diff --git a/pkg/crypto/decrypt.go b/pkg/crypto/decrypt.go index 3e794c1d..8025b439 100644 --- a/pkg/crypto/decrypt.go +++ b/pkg/crypto/decrypt.go @@ -11,7 +11,7 @@ import ( "encoding/base64" "encoding/json" - "github.com/thinksyncs/agents-secure-binding/internal/errors" + "github.com/ToppyMicroServices/agents-secure-binding/v2/internal/errors" "golang.org/x/crypto/hkdf" ) diff --git a/pkg/ingress/adapter.go b/pkg/ingress/adapter.go index 29972abc..466918b2 100644 --- a/pkg/ingress/adapter.go +++ b/pkg/ingress/adapter.go @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 package ingress -import "github.com/thinksyncs/agents-secure-binding/agent" +import "github.com/ToppyMicroServices/agents-secure-binding/v2/agent" // AgentConfigToProxyConfig converts agent.AgentConfig to ProxyConfig. func AgentConfigToProxyConfig(cfg agent.AgentConfig) ProxyConfig { diff --git a/pkg/ingress/adapter_test.go b/pkg/ingress/adapter_test.go index db0645d5..6aadaa65 100644 --- a/pkg/ingress/adapter_test.go +++ b/pkg/ingress/adapter_test.go @@ -5,8 +5,8 @@ package ingress import ( "testing" + "github.com/ToppyMicroServices/agents-secure-binding/v2/agent" "github.com/stretchr/testify/assert" - "github.com/thinksyncs/agents-secure-binding/agent" ) // TestAgentConfigToProxyConfig tests conversion from AgentConfig to ProxyConfig. diff --git a/pkg/ingress/proxy.go b/pkg/ingress/proxy.go index 241d52f5..4c8fa4b1 100644 --- a/pkg/ingress/proxy.go +++ b/pkg/ingress/proxy.go @@ -15,7 +15,7 @@ import ( "os" "sync" - "github.com/thinksyncs/agents-secure-binding/pkg/atls" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/atls" "golang.org/x/net/http2" "golang.org/x/net/http2/h2c" ) diff --git a/pkg/ingress/proxy_test.go b/pkg/ingress/proxy_test.go index 35b15263..42c1d680 100644 --- a/pkg/ingress/proxy_test.go +++ b/pkg/ingress/proxy_test.go @@ -23,9 +23,9 @@ import ( "testing" "time" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/atls/mocks" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/thinksyncs/agents-secure-binding/pkg/atls/mocks" "golang.org/x/net/http2" "golang.org/x/net/http2/h2c" ) diff --git a/pkg/production/binding.go b/pkg/production/binding.go index 9b78c115..4548bee6 100644 --- a/pkg/production/binding.go +++ b/pkg/production/binding.go @@ -12,8 +12,8 @@ import ( "errors" "strings" - eaattestation "github.com/thinksyncs/agents-secure-binding/pkg/atls/eaattestation" - "github.com/thinksyncs/agents-secure-binding/pkg/atls/identitypolicy" + eaattestation "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/atls/eaattestation" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/atls/identitypolicy" ) var ErrInvalidAcceptedBinding = errors.New("production: invalid accepted binding input") diff --git a/pkg/production/profile.go b/pkg/production/profile.go index 6ad4507f..6588aac6 100644 --- a/pkg/production/profile.go +++ b/pkg/production/profile.go @@ -15,8 +15,8 @@ import ( "strings" "time" - "github.com/thinksyncs/agents-secure-binding/pkg/atls/identitypolicy" - "github.com/thinksyncs/agents-secure-binding/pkg/clients" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/atls/identitypolicy" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/clients" ) var ( diff --git a/pkg/production/profile_test.go b/pkg/production/profile_test.go index 97aa7d1b..bbb7a2a3 100644 --- a/pkg/production/profile_test.go +++ b/pkg/production/profile_test.go @@ -14,9 +14,9 @@ import ( "testing" "time" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/atls/identitypolicy" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/clients" "github.com/golang-jwt/jwt/v5" - "github.com/thinksyncs/agents-secure-binding/pkg/atls/identitypolicy" - "github.com/thinksyncs/agents-secure-binding/pkg/clients" ) const ( diff --git a/pkg/production/software_only.go b/pkg/production/software_only.go index ea2bb5ed..c3ff4f72 100644 --- a/pkg/production/software_only.go +++ b/pkg/production/software_only.go @@ -10,7 +10,7 @@ import ( "strings" "time" - "github.com/thinksyncs/agents-secure-binding/pkg/atls/identitypolicy" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/atls/identitypolicy" ) var ErrUnexpectedAttestationBinding = errors.New("production: software-only profile forbids attestation binding") diff --git a/pkg/production/software_only_test.go b/pkg/production/software_only_test.go index 93428dfd..365f1ec1 100644 --- a/pkg/production/software_only_test.go +++ b/pkg/production/software_only_test.go @@ -9,9 +9,9 @@ import ( "testing" "time" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/atls/identitypolicy" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/clients" "github.com/golang-jwt/jwt/v5" - "github.com/thinksyncs/agents-secure-binding/pkg/atls/identitypolicy" - "github.com/thinksyncs/agents-secure-binding/pkg/clients" ) type softwareOnlyFixture struct { diff --git a/pkg/progressbar/progress_test.go b/pkg/progressbar/progress_test.go index 07936ba1..16f46b76 100644 --- a/pkg/progressbar/progress_test.go +++ b/pkg/progressbar/progress_test.go @@ -10,11 +10,11 @@ import ( "strings" "testing" + "github.com/ToppyMicroServices/agents-secure-binding/v2/agent" + "github.com/ToppyMicroServices/agents-secure-binding/v2/agent/mocks" + "github.com/ToppyMicroServices/agents-secure-binding/v2/internal/errors" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/mock" - "github.com/thinksyncs/agents-secure-binding/agent" - "github.com/thinksyncs/agents-secure-binding/agent/mocks" - "github.com/thinksyncs/agents-secure-binding/internal/errors" ) func TestNew(t *testing.T) { diff --git a/pkg/progressbar/progressbar.go b/pkg/progressbar/progressbar.go index bddf3851..53766405 100644 --- a/pkg/progressbar/progressbar.go +++ b/pkg/progressbar/progressbar.go @@ -8,9 +8,9 @@ import ( "os" "strings" + "github.com/ToppyMicroServices/agents-secure-binding/v2/agent" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/attestation/vtpm" "github.com/fatih/color" - "github.com/thinksyncs/agents-secure-binding/agent" - "github.com/thinksyncs/agents-secure-binding/pkg/attestation/vtpm" "golang.org/x/term" ) diff --git a/pkg/sdk/agent.go b/pkg/sdk/agent.go index fc4f7d76..6afd7ca8 100644 --- a/pkg/sdk/agent.go +++ b/pkg/sdk/agent.go @@ -16,11 +16,11 @@ import ( "strconv" "time" - "github.com/thinksyncs/agents-secure-binding/agent" - "github.com/thinksyncs/agents-secure-binding/agent/api/grpc" - "github.com/thinksyncs/agents-secure-binding/agent/auth" - "github.com/thinksyncs/agents-secure-binding/internal/errors" - "github.com/thinksyncs/agents-secure-binding/pkg/progressbar" + "github.com/ToppyMicroServices/agents-secure-binding/v2/agent" + "github.com/ToppyMicroServices/agents-secure-binding/v2/agent/api/grpc" + "github.com/ToppyMicroServices/agents-secure-binding/v2/agent/auth" + "github.com/ToppyMicroServices/agents-secure-binding/v2/internal/errors" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/progressbar" "google.golang.org/grpc/metadata" ) diff --git a/pkg/sdk/agent_test.go b/pkg/sdk/agent_test.go index 01a91c85..a11f8c50 100644 --- a/pkg/sdk/agent_test.go +++ b/pkg/sdk/agent_test.go @@ -14,13 +14,13 @@ import ( "os" "testing" + "github.com/ToppyMicroServices/agents-secure-binding/v2/agent" + "github.com/ToppyMicroServices/agents-secure-binding/v2/internal/errors" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/attestation/vtpm" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/sdk" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/mock" "github.com/stretchr/testify/require" - "github.com/thinksyncs/agents-secure-binding/agent" - "github.com/thinksyncs/agents-secure-binding/internal/errors" - "github.com/thinksyncs/agents-secure-binding/pkg/attestation/vtpm" - "github.com/thinksyncs/agents-secure-binding/pkg/sdk" "golang.org/x/crypto/sha3" "google.golang.org/grpc" "google.golang.org/grpc/credentials/insecure" diff --git a/pkg/sdk/setup_test.go b/pkg/sdk/setup_test.go index bd5087f1..098c85ea 100644 --- a/pkg/sdk/setup_test.go +++ b/pkg/sdk/setup_test.go @@ -10,9 +10,9 @@ import ( "os" "testing" - "github.com/thinksyncs/agents-secure-binding/agent" - agentgrpc "github.com/thinksyncs/agents-secure-binding/agent/api/grpc" - "github.com/thinksyncs/agents-secure-binding/agent/mocks" + "github.com/ToppyMicroServices/agents-secure-binding/v2/agent" + agentgrpc "github.com/ToppyMicroServices/agents-secure-binding/v2/agent/api/grpc" + "github.com/ToppyMicroServices/agents-secure-binding/v2/agent/mocks" "google.golang.org/grpc" "google.golang.org/grpc/test/bufconn" ) diff --git a/pkg/taskcoord/asbbinding/canonical.go b/pkg/taskcoord/asbbinding/canonical.go index befe4545..77528df8 100644 --- a/pkg/taskcoord/asbbinding/canonical.go +++ b/pkg/taskcoord/asbbinding/canonical.go @@ -16,7 +16,7 @@ import ( "unicode" "unicode/utf8" - "github.com/thinksyncs/agents-secure-binding/pkg/taskcoord" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/taskcoord" ) const ( diff --git a/pkg/taskcoord/asbbinding/canonical_test.go b/pkg/taskcoord/asbbinding/canonical_test.go index f844c258..66bf173c 100644 --- a/pkg/taskcoord/asbbinding/canonical_test.go +++ b/pkg/taskcoord/asbbinding/canonical_test.go @@ -8,7 +8,7 @@ import ( "testing" "time" - "github.com/thinksyncs/agents-secure-binding/pkg/taskcoord" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/taskcoord" ) const ( diff --git a/pkg/taskcoord/asbbinding/ingress.go b/pkg/taskcoord/asbbinding/ingress.go index d6a9618b..e980fd74 100644 --- a/pkg/taskcoord/asbbinding/ingress.go +++ b/pkg/taskcoord/asbbinding/ingress.go @@ -21,11 +21,11 @@ import ( "time" "unicode/utf8" - eaattestation "github.com/thinksyncs/agents-secure-binding/pkg/atls/eaattestation" - "github.com/thinksyncs/agents-secure-binding/pkg/atls/identitypolicy" - "github.com/thinksyncs/agents-secure-binding/pkg/clients" - "github.com/thinksyncs/agents-secure-binding/pkg/taskcoord" - "github.com/thinksyncs/agents-secure-binding/schemas" + eaattestation "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/atls/eaattestation" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/atls/identitypolicy" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/clients" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/taskcoord" + "github.com/ToppyMicroServices/agents-secure-binding/v2/schemas" ) const ( diff --git a/pkg/taskcoord/asbbinding/ingress_test.go b/pkg/taskcoord/asbbinding/ingress_test.go index 5a4bbf3f..4ee4f8d7 100644 --- a/pkg/taskcoord/asbbinding/ingress_test.go +++ b/pkg/taskcoord/asbbinding/ingress_test.go @@ -23,10 +23,10 @@ import ( "testing" "time" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/atls/identitypolicy" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/clients" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/taskcoord" "github.com/golang-jwt/jwt/v5" - "github.com/thinksyncs/agents-secure-binding/pkg/atls/identitypolicy" - "github.com/thinksyncs/agents-secure-binding/pkg/clients" - "github.com/thinksyncs/agents-secure-binding/pkg/taskcoord" ) const ( diff --git a/pkg/taskcoord/asbbinding/profile.go b/pkg/taskcoord/asbbinding/profile.go index b14e2a52..4640da11 100644 --- a/pkg/taskcoord/asbbinding/profile.go +++ b/pkg/taskcoord/asbbinding/profile.go @@ -10,9 +10,9 @@ import ( "strings" "time" - "github.com/thinksyncs/agents-secure-binding/pkg/atls/identitypolicy" - "github.com/thinksyncs/agents-secure-binding/pkg/clients" - "github.com/thinksyncs/agents-secure-binding/pkg/taskcoord" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/atls/identitypolicy" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/clients" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/taskcoord" ) var ( diff --git a/pkg/taskcoord/asbbinding/profile_test.go b/pkg/taskcoord/asbbinding/profile_test.go index 04e515e4..49c4fb53 100644 --- a/pkg/taskcoord/asbbinding/profile_test.go +++ b/pkg/taskcoord/asbbinding/profile_test.go @@ -11,10 +11,10 @@ import ( "testing" "time" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/atls/identitypolicy" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/clients" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/taskcoord" "github.com/golang-jwt/jwt/v5" - "github.com/thinksyncs/agents-secure-binding/pkg/atls/identitypolicy" - "github.com/thinksyncs/agents-secure-binding/pkg/clients" - "github.com/thinksyncs/agents-secure-binding/pkg/taskcoord" ) const ( diff --git a/pkg/tls/tls.go b/pkg/tls/tls.go index 9a1a3c4b..4a5471e6 100644 --- a/pkg/tls/tls.go +++ b/pkg/tls/tls.go @@ -8,8 +8,8 @@ import ( "crypto/x509" "os" - "github.com/thinksyncs/agents-secure-binding/internal/errors" - "github.com/thinksyncs/agents-secure-binding/pkg/attestation" + "github.com/ToppyMicroServices/agents-secure-binding/v2/internal/errors" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/attestation" ) // Security represents the type of TLS security configuration. diff --git a/schemas/task-participant-v1.schema.json b/schemas/task-participant-v1.schema.json index 725231b2..e9ecaf37 100644 --- a/schemas/task-participant-v1.schema.json +++ b/schemas/task-participant-v1.schema.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://github.com/thinksyncs/agents-secure-binding/schemas/task-participant-v1.schema.json", + "$id": "https://github.com/ToppyMicroServices/agents-secure-binding/schemas/task-participant-v1.schema.json", "title": "ASB Task Participant v1 documents", "oneOf": [ { "$ref": "#/$defs/participant" }, diff --git a/schemas/task_participant_schema_test.go b/schemas/task_participant_schema_test.go index f0e18e00..4c23c793 100644 --- a/schemas/task_participant_schema_test.go +++ b/schemas/task_participant_schema_test.go @@ -9,8 +9,8 @@ import ( "testing" "time" + "github.com/ToppyMicroServices/agents-secure-binding/v2/pkg/taskcoord" "github.com/santhosh-tekuri/jsonschema/v6" - "github.com/thinksyncs/agents-secure-binding/pkg/taskcoord" ) const taskParticipantSchemaFile = "task-participant-v1.schema.json" diff --git a/test/cvms/main.go b/test/cvms/main.go index de8899d0..a7e72472 100644 --- a/test/cvms/main.go +++ b/test/cvms/main.go @@ -14,13 +14,13 @@ import ( "strconv" "strings" + "github.com/ToppyMicroServices/agents-secure-binding/v2/agent/cvms" + cvmsgrpc "github.com/ToppyMicroServices/agents-secure-binding/v2/agent/cvms/api/grpc" + "github.com/ToppyMicroServices/agents-secure-binding/v2/internal" + mglog "github.com/ToppyMicroServices/agents-secure-binding/v2/internal/runtime/logging" + smqserver "github.com/ToppyMicroServices/agents-secure-binding/v2/internal/runtime/server" + grpcserver "github.com/ToppyMicroServices/agents-secure-binding/v2/internal/runtime/server/grpc" "github.com/caarlos0/env/v11" - "github.com/thinksyncs/agents-secure-binding/agent/cvms" - cvmsgrpc "github.com/thinksyncs/agents-secure-binding/agent/cvms/api/grpc" - "github.com/thinksyncs/agents-secure-binding/internal" - mglog "github.com/thinksyncs/agents-secure-binding/internal/runtime/logging" - smqserver "github.com/thinksyncs/agents-secure-binding/internal/runtime/server" - grpcserver "github.com/thinksyncs/agents-secure-binding/internal/runtime/server/grpc" "golang.org/x/sync/errgroup" "google.golang.org/grpc" "google.golang.org/grpc/credentials"