Skip to content

Commit a62cba7

Browse files
committed
go.mod:
* Change module path in go.mod file * Change module path in pkg accordingly Signed-off-by: Christopher Meis <[email protected]>
1 parent 2aa9cf3 commit a62cba7

File tree

18 files changed

+47
-47
lines changed

18 files changed

+47
-47
lines changed

README.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# go-tcg-storage
22

3-
[![Workflow](https://github.com/bluecmd/go-tcg-storage/workflows/Release/badge.svg)](https://github.com/bluecmd/go-tcg-storage/actions/workflows/release.yml)
4-
[![Go Report Card](https://goreportcard.com/badge/github.com/bluecmd/go-tcg-storage)](https://goreportcard.com/report/github.com/bluecmd/go-tcg-storage)
5-
[![GoDoc](https://godoc.org/github.com/bluecmd/go-tcg-storage?status.svg)](https://pkg.go.dev/github.com/bluecmd/go-tcg-storage@main)
3+
[![Workflow](https://github.com/open-source-firmware/go-tcg-storage/workflows/Release/badge.svg)](https://github.com/open-source-firmware/go-tcg-storage/actions/workflows/release.yml)
4+
[![Go Report Card](https://goreportcard.com/badge/github.com/open-source-firmware/go-tcg-storage)](https://goreportcard.com/report/github.com/open-source-firmware/go-tcg-storage)
5+
[![GoDoc](https://godoc.org/github.com/open-source-firmware/go-tcg-storage?status.svg)](https://pkg.go.dev/github.com/open-source-firmware/go-tcg-storage@main)
66
[![Slack](https://slack.osfw.dev/badge.svg)](https://slack.osfw.dev)
7-
[![License](https://img.shields.io/badge/License-BSD%203--Clause-blue.svg)](https://github.com/bluecmd/go-tcg-storage/blob/master/LICENSE)
7+
[![License](https://img.shields.io/badge/License-BSD%203--Clause-blue.svg)](https://github.com/open-source-firmware/go-tcg-storage/blob/master/LICENSE)
88

99
Go library for interfacing TCG Storage and Security Subsystem Class (SSC) functions on storage devices.
1010

@@ -20,13 +20,13 @@ Need support for another standard? Let us know by filing a feature request!
2020
## Tools
2121

2222
* [sedlockctl](cmd/sedlockctl/README.md) is a tool that helps you manage SED/TCG drives.<br>
23-
Install it: `go install github.com/bluecmd/go-tcg-storage/cmd/sedlockctl@main`
23+
Install it: `go install github.com/open-source-firmware/go-tcg-storage/cmd/sedlockctl@main`
2424

2525
* [tcgsdiag](cmd/tcgsdiag/README.md) lets you list a whole lot of diagnostic information about TCG drives.<br>
26-
Install it: `go install github.com/bluecmd/go-tcg-storage/cmd/tcgsdiag@main`
26+
Install it: `go install github.com/open-source-firmware/go-tcg-storage/cmd/tcgsdiag@main`
2727

2828
* [tcgdiskstat](cmd/tcgdiskstat/README.md) is like `blkid` or `lsscsi` but for TCG drives.<br>
29-
Install it: `go install github.com/bluecmd/go-tcg-storage/cmd/tcgdiskstat@main`
29+
Install it: `go install github.com/open-source-firmware/go-tcg-storage/cmd/tcgdiskstat@main`
3030

3131

3232
## Supported Transports
@@ -53,7 +53,7 @@ The most low-level interface is the `drive` interface that implements
5353
the `IF-SEND` and `IF-RECV` functions that the TCG Storage standards
5454
rely on. Likely nobody outside this library will find that library useful.
5555

56-
One abstraction up is the `core` library that implements the
56+
One abstraction up is the `core` library that implements the
5757
TCG Storage specifications in a quite verbose manner. The guiding
5858
principle with the `core` library is that you should be able to do
5959
anything with it, but it might require you to know what functions
@@ -69,9 +69,9 @@ is implementing.
6969

7070
```go
7171
import (
72-
tcg "github.com/bluecmd/go-tcg-storage/pkg/core"
73-
"github.com/bluecmd/go-tcg-storage/pkg/core/table"
74-
"github.com/bluecmd/go-tcg-storage/pkg/drive"
72+
tcg "github.com/open-source-firmware/go-tcg-storage/pkg/core"
73+
"github.com/open-source-firmware/go-tcg-storage/pkg/core/table"
74+
"github.com/open-source-firmware/go-tcg-storage/pkg/drive"
7575
)
7676

7777
func main() {
@@ -89,7 +89,7 @@ func main() {
8989

9090
// This is how you call a method on your SP:
9191
rand, err := table.ThisSP_Random(s, 8 /* bytes to generate */)
92-
92+
9393
// You can authenticate using the MSID like this:
9494
msidPin, err := table.Admin_C_PIN_MSID_GetPIN(s)
9595
if err := table.ThisSP_Authenticate(s, tcg.AuthoritySID, msidPin); err != nil {
@@ -106,8 +106,8 @@ The most minimal example looks something like this:
106106
```go
107107

108108
import (
109-
"github.com/bluecmd/go-tcg-storage/pkg/drive"
110-
"github.com/bluecmd/go-tcg-storage/pkg/locking"
109+
"github.com/open-source-firmware/go-tcg-storage/pkg/drive"
110+
"github.com/open-source-firmware/go-tcg-storage/pkg/locking"
111111
)
112112

113113
func main() {
@@ -126,8 +126,8 @@ A slightly more realistic example looks like this:
126126
```go
127127

128128
import (
129-
"github.com/bluecmd/go-tcg-storage/pkg/drive"
130-
"github.com/bluecmd/go-tcg-storage/pkg/locking"
129+
"github.com/open-source-firmware/go-tcg-storage/pkg/drive"
130+
"github.com/open-source-firmware/go-tcg-storage/pkg/locking"
131131
)
132132

133133
func main() {

cmd/sedlockctl/main.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ import (
1010
"log"
1111
"os"
1212

13-
"github.com/bluecmd/go-tcg-storage/pkg/drive"
14-
"github.com/bluecmd/go-tcg-storage/pkg/locking"
13+
"github.com/open-source-firmware/go-tcg-storage/pkg/drive"
14+
"github.com/open-source-firmware/go-tcg-storage/pkg/locking"
1515

1616
// TODO: Move to locking API when it has MBR functions
17-
"github.com/bluecmd/go-tcg-storage/pkg/core/table"
17+
"github.com/open-source-firmware/go-tcg-storage/pkg/core/table"
1818
)
1919

2020
var (

cmd/tcgdiskstat/main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ import (
1111
"strings"
1212
"text/tabwriter"
1313

14-
tcg "github.com/bluecmd/go-tcg-storage/pkg/core"
15-
"github.com/bluecmd/go-tcg-storage/pkg/drive"
14+
tcg "github.com/open-source-firmware/go-tcg-storage/pkg/core"
15+
"github.com/open-source-firmware/go-tcg-storage/pkg/drive"
1616
)
1717

1818
var (

cmd/tcgsdiag/main.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ import (
1010
"log"
1111
"os"
1212

13-
tcg "github.com/bluecmd/go-tcg-storage/pkg/core"
14-
"github.com/bluecmd/go-tcg-storage/pkg/core/table"
15-
"github.com/bluecmd/go-tcg-storage/pkg/drive"
1613
"github.com/davecgh/go-spew/spew"
14+
tcg "github.com/open-source-firmware/go-tcg-storage/pkg/core"
15+
"github.com/open-source-firmware/go-tcg-storage/pkg/core/table"
16+
"github.com/open-source-firmware/go-tcg-storage/pkg/drive"
1717
)
1818

1919
func TestComID(d tcg.DriveIntf) tcg.ComID {

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module github.com/bluecmd/go-tcg-storage
1+
module github.com/open-source-firmware/go-tcg-storage
22

33
go 1.15
44

pkg/core/communication.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import (
1212
"errors"
1313
"fmt"
1414

15-
"github.com/bluecmd/go-tcg-storage/pkg/drive"
15+
"github.com/open-source-firmware/go-tcg-storage/pkg/drive"
1616
)
1717

1818
var (

pkg/core/core.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ import (
1414
"io"
1515
"io/ioutil"
1616

17-
"github.com/bluecmd/go-tcg-storage/pkg/core/feature"
18-
"github.com/bluecmd/go-tcg-storage/pkg/drive"
17+
"github.com/open-source-firmware/go-tcg-storage/pkg/core/feature"
18+
"github.com/open-source-firmware/go-tcg-storage/pkg/drive"
1919
)
2020

2121
type DriveIntf interface {

pkg/core/method.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ import (
1212
"fmt"
1313
"time"
1414

15-
"github.com/bluecmd/go-tcg-storage/pkg/core/stream"
16-
"github.com/bluecmd/go-tcg-storage/pkg/drive"
15+
"github.com/open-source-firmware/go-tcg-storage/pkg/core/stream"
16+
"github.com/open-source-firmware/go-tcg-storage/pkg/drive"
1717
)
1818

1919
type InvokingID [8]byte

pkg/core/session.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ import (
1212
"math/rand"
1313
"time"
1414

15-
"github.com/bluecmd/go-tcg-storage/pkg/core/stream"
16-
"github.com/bluecmd/go-tcg-storage/pkg/drive"
15+
"github.com/open-source-firmware/go-tcg-storage/pkg/core/stream"
16+
"github.com/open-source-firmware/go-tcg-storage/pkg/drive"
1717
)
1818

1919
type SPID [8]byte

pkg/core/table/admin.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ package table
99
import (
1010
"fmt"
1111

12-
"github.com/bluecmd/go-tcg-storage/pkg/core"
13-
"github.com/bluecmd/go-tcg-storage/pkg/core/stream"
12+
"github.com/open-source-firmware/go-tcg-storage/pkg/core"
13+
"github.com/open-source-firmware/go-tcg-storage/pkg/core/stream"
1414
)
1515

1616
var (

0 commit comments

Comments
 (0)