Skip to content

Commit

Permalink
Rename tcg_dice to riot
Browse files Browse the repository at this point in the history
Signed-off-by: Yogesh Deshpande <[email protected]>
  • Loading branch information
yogeshbdeshpande committed Oct 5, 2023
1 parent 054b9f1 commit bef3b24
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion scheme/tcg-dice/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# SPDX-License-Identifier: Apache-2.0
.DEFAULT_GOAL := test

GOPKG := github.com/veraison/services/scheme/tcg-dice
GOPKG := github.com/veraison/services/scheme/riot
SRCS := $(wildcard *.go)

SUBDIR += plugin
Expand Down
4 changes: 2 additions & 2 deletions scheme/tcg-dice/evidence_handler.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright 2021-2023 Contributors to the Veraison project.
// SPDX-License-Identifier: Apache-2.0

package tcg_dice
package riot

import (
"crypto/x509"
Expand All @@ -22,7 +22,7 @@ type EvidenceHandler struct {
}

func (s EvidenceHandler) GetName() string {
return "tcg-dice-evidence-handler"
return "riot-evidence-handler"
}

func (s EvidenceHandler) GetAttestationScheme() string {
Expand Down
2 changes: 1 addition & 1 deletion scheme/tcg-dice/evidence_handler_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright 2021-2023 Contributors to the Veraison project.
// SPDX-License-Identifier: Apache-2.0

package tcg_dice
package riot

import (
"os"
Expand Down
4 changes: 2 additions & 2 deletions scheme/tcg-dice/plugin/combined/Makefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Copyright 2021 Contributors to the Veraison project.
# SPDX-License-Identifier: Apache-2.0

PLUGIN := ../../../bin/tcg-dice.plugin
GOPKG := github.com/veraison/services/scheme/tcg-dice
PLUGIN := ../../../bin/riot.plugin
GOPKG := github.com/veraison/services/scheme/riot
SRCS := main.go

include ../../../../mk/common.mk
Expand Down
4 changes: 2 additions & 2 deletions scheme/tcg-dice/scheme.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// Copyright 2023 Contributors to the Veraison project.
// SPDX-License-Identifier: Apache-2.0
package tcg_dice
package riot

const SchemeName = "TCG_DICE"
const SchemeName = "riot"

var EvidenceMediaTypes = []string{
"application/pem-certificate-chain",
Expand Down

0 comments on commit bef3b24

Please sign in to comment.