Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uid key (not finished but this is the changes I have made so far) #561

Draft
wants to merge 10 commits into
base: main
Choose a base branch
from
Prev Previous commit
Next Next commit
fix inputs to handle this uid update
  • Loading branch information
ArnavPawar committed Dec 3, 2024
commit ba707d5f5dbd5218655d5dae854ce29f84d461d7
2 changes: 2 additions & 0 deletions api/agent/handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ import (
"net/http"
"strings"

"github.com/google/uuid"
trustdomain "github.com/spiffe/spire-api-sdk/proto/spire/api/server/trustdomain/v1"
"github.com/spiffe/tornjak/pkg/agent/types"
"google.golang.org/protobuf/encoding/protojson"
)

Expand Down
2 changes: 1 addition & 1 deletion api/agent/server.go
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package api

import (
"crypto/tls"
"encoding/json"
"fmt"
"io"
"github.com/google/uuid"
"log"
"net"
"net/http"
Expand Down