fix minor bugs (#303)

Signed-off-by: Sammy Oina <sammyoina@gmail.com>
This commit is contained in:
Sammy Kerata Oina
2024-11-07 16:40:23 +03:00
committed by GitHub
parent 46b94204df
commit 9b7f105691
4 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -83,4 +83,4 @@ require (
gopkg.in/yaml.v3 v3.0.1 // indirect
)
replace github.com/virtee/sev-snp-measure-go => github.com/sammyoina/sev-snp-measure-go v0.0.0-20240918192515-70b6b9542aa5
replace github.com/virtee/sev-snp-measure-go => github.com/sammyoina/sev-snp-measure-go v0.0.0-20241107131320-81decec431be
+2 -2
View File
@@ -105,8 +105,8 @@ github.com/prometheus/procfs v0.13.0/go.mod h1:cd4PFCR54QLnGKPaKGA6l+cfuNXtht43Z
github.com/rogpeppe/go-internal v1.12.0 h1:exVL4IDcn6na9z1rAb56Vxr+CgyK3nn3O+epU5NdKM8=
github.com/rogpeppe/go-internal v1.12.0/go.mod h1:E+RYuTGaKKdloAfM02xzb0FW3Paa99yedzYV+kq4uf4=
github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
github.com/sammyoina/sev-snp-measure-go v0.0.0-20240918192515-70b6b9542aa5 h1:w5R0cZgvakKxBsIrzboOb0DcHdkzEQ4tcQ6wLEn/FWo=
github.com/sammyoina/sev-snp-measure-go v0.0.0-20240918192515-70b6b9542aa5/go.mod h1:dEkBe8JnxU5itNjZDEQINFd7f7l4DtjfqRuzPQcit4w=
github.com/sammyoina/sev-snp-measure-go v0.0.0-20241107131320-81decec431be h1:V4ASMLZl1UEdXFaeld95JBzZLZvmLndyLgPm/P+aIkU=
github.com/sammyoina/sev-snp-measure-go v0.0.0-20241107131320-81decec431be/go.mod h1:dEkBe8JnxU5itNjZDEQINFd7f7l4DtjfqRuzPQcit4w=
github.com/sirupsen/logrus v1.9.3 h1:dueUQJ1C2q9oE3F7wvmSGAaVtTmUizReu6fjN8uqzbQ=
github.com/sirupsen/logrus v1.9.3/go.mod h1:naHLuLoDiP4jHNo9R0sCBMtWGeIprob74mVsIT4qYEQ=
github.com/spf13/cobra v1.8.1 h1:e5/vxKd/rZsfSJMUX1agtjeTDf+qv1/JdBF8gg5k9ZM=
+1
View File
@@ -126,6 +126,7 @@ func (ms *managerService) Run(ctx context.Context, c *ComputationRunReq) (string
ServerCAFile: c.AgentConfig.ServerCaFile,
ClientCAFile: c.AgentConfig.ClientCaFile,
LogLevel: c.AgentConfig.LogLevel,
AttestedTls: c.AgentConfig.AttestedTls,
},
}
if len(c.Algorithm.Hash) != hashLength {
+1 -1
View File
@@ -63,7 +63,7 @@ cd ../..
./build/cocos-cli backend hostdata '<host-data>' '<backend_info.json>'
# For attested TLS, also define the path to the backend_info.json that contains reference values for the fields of the attestation report
export AGENT_GRPC_MANIFEST=./scripts/backend_info/backend_info.json
export AGENT_GRPC_BACKEND_INFO=./scripts/backend_info/backend_info.json
export AGENT_GRPC_ATTESTED_TLS=true
# Retieve Attestation