Skip to content

Commit

Permalink
Add support for detached signatures (#56)
Browse files Browse the repository at this point in the history
Implement spec change open-telemetry/opamp-spec#69
  • Loading branch information
tigrannajaryan authored Mar 18, 2022
1 parent 5255de5 commit 3c62aca
Show file tree
Hide file tree
Showing 3 changed files with 222 additions and 198 deletions.
8 changes: 8 additions & 0 deletions internal/proto/opamp.proto
Original file line number Diff line number Diff line change
Expand Up @@ -356,6 +356,14 @@ message DownloadableFile {
// The hash of the file content. Can be used by the Agent to verify that the file
// was downloaded correctly.
bytes content_hash = 2;

// Optional signature of the file content. Can be used by the Agent to verify the
// authenticity of the downloaded file, for example can be the
// [detached GPG signature](https://www.gnupg.org/gph/en/manual/x135.html#AEN160).
// The exact signing and verification method is Agent specific. See
// https://github.com/open-telemetry/opamp-spec/blob/main/specification.md#code-signing
// for recommendations.
bytes signature = 3;
}

message ServerErrorResponse {
Expand Down
2 changes: 1 addition & 1 deletion protobufs/anyvalue.pb.go

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

Loading

0 comments on commit 3c62aca

Please sign in to comment.