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

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
.build
*.swp
.vscode
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ go_version_full := $(shell cat .go-version)
go_version := $(go_version_full:.0=.0)
go_dir := $(build_dir)/go/$(go_version)
go_bin_dir := $(go_dir)/bin
go_url = https://storage.googleapis.com/golang/go$(go_version).$(os1)-$(arch2).tar.gz
go_url = https://go.dev/dl/golang/go$(go_version).$(os1)-$(arch2).tar.gz
go_path := PATH="$(go_bin_dir):$(PATH)"

# go-check checks to see if there is a version of Go available matching the
Expand Down
18 changes: 14 additions & 4 deletions proto/spire/api/server/agent/v1/agent.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions proto/spire/api/server/agent/v1/agent.proto
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,9 @@ message AgentX509SVIDParams {
message PostStatusRequest {
// Required. Serial number of the bundle currently being served by the agent
uint64 current_bundle_serial = 1;

// Optional. The version of the agent.
string agent_version = 2;
}

message PostStatusResponse {
Expand Down
42 changes: 32 additions & 10 deletions proto/spire/api/server/svid/v1/svid.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions proto/spire/api/server/svid/v1/svid.proto
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,10 @@ message MintWITSVIDRequest {
// may be lower depending on the remaining lifetime of the active SPIRE
// Server CA.
int32 ttl = 3;

// Required. The signing algorithm to specify in the key. This must be one
// of the values supported by the WIT-SVID specification.
string signing_algorithm = 4;
}

message MintWITSVIDResponse {
Expand Down Expand Up @@ -200,4 +204,8 @@ message NewWITSVIDParams {

// Required. The ASN.1 DER encoded public key.
bytes public_key = 2;

// Required. The signing algorithm to specify in the key. This must be one
// of the values supported by the WIT-SVID specification.
string signing_algorithm = 3;
}
30 changes: 25 additions & 5 deletions proto/spire/api/types/agent.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions proto/spire/api/types/agent.proto
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ message Agent {

// Output only. Whether or not the agent can re-attest.
bool can_reattest = 7;

// Output only. Optional. The version of the agent.
string agent_version = 8;
}

message AgentMask {
Expand All @@ -47,4 +50,7 @@ message AgentMask {

// can_reattest field mask
bool can_reattest = 7;

// agent_version field mask
bool agent_version = 8;
}
Loading