aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRasmus Dahlberg <rasmus@mullvad.net>2022-04-13 15:18:12 +0200
committerRasmus Dahlberg <rasmus@mullvad.net>2022-04-13 15:18:12 +0200
commit7d0cbd048ce258893b2420e7f3568f4d0cf6aaf8 (patch)
tree7cb45e708689dd2f687a4c9016fad21f33a61d1e
parent76b67507b902cebe701bd2e2b59beb455f96c923 (diff)
switch to sigsum-go
Updates import paths only.
-rw-r--r--cmd/sigsum-debug/genkey.go2
-rw-r--r--cmd/sigsum-debug/hashkey.go4
-rw-r--r--cmd/sigsum-debug/hashleaf.go4
-rw-r--r--cmd/sigsum-debug/pubkey.go2
-rw-r--r--cmd/sigsum-debug/sign.go4
-rw-r--r--cmd/sigsum-debug/util.go2
-rw-r--r--cmd/sigsum/cmd.go4
-rw-r--r--go.mod2
-rw-r--r--go.sum6
-rw-r--r--pkg/client/api/api.go4
-rw-r--r--pkg/client/api/network_client.go4
-rw-r--r--pkg/client/submitter.go4
-rw-r--r--pkg/policy/default.go2
-rw-r--r--pkg/policy/policy.go2
-rw-r--r--pkg/signatures/minisign/minisign.go2
-rw-r--r--pkg/signatures/signatures.go2
-rw-r--r--pkg/signatures/signify/signify.go2
-rw-r--r--pkg/signatures/ssh/ssh.go2
18 files changed, 26 insertions, 28 deletions
diff --git a/cmd/sigsum-debug/genkey.go b/cmd/sigsum-debug/genkey.go
index 87175a5..71eb17d 100644
--- a/cmd/sigsum-debug/genkey.go
+++ b/cmd/sigsum-debug/genkey.go
@@ -5,7 +5,7 @@ import (
"crypto/rand"
"fmt"
- "git.sigsum.org/sigsum-lib-go/pkg/hex"
+ "git.sigsum.org/sigsum-go/pkg/hex"
)
func CmdGenKey() error {
diff --git a/cmd/sigsum-debug/hashkey.go b/cmd/sigsum-debug/hashkey.go
index d9b37dd..6163a1e 100644
--- a/cmd/sigsum-debug/hashkey.go
+++ b/cmd/sigsum-debug/hashkey.go
@@ -4,8 +4,8 @@ import (
"crypto/ed25519"
"fmt"
- "git.sigsum.org/sigsum-lib-go/pkg/hex"
- "git.sigsum.org/sigsum-lib-go/pkg/types"
+ "git.sigsum.org/sigsum-go/pkg/hex"
+ "git.sigsum.org/sigsum-go/pkg/types"
)
func CmdHashKey() error {
diff --git a/cmd/sigsum-debug/hashleaf.go b/cmd/sigsum-debug/hashleaf.go
index 2b4910d..368e14b 100644
--- a/cmd/sigsum-debug/hashleaf.go
+++ b/cmd/sigsum-debug/hashleaf.go
@@ -4,8 +4,8 @@ import (
"fmt"
"crypto/ed25519"
- "git.sigsum.org/sigsum-lib-go/pkg/hex"
- "git.sigsum.org/sigsum-lib-go/pkg/types"
+ "git.sigsum.org/sigsum-go/pkg/hex"
+ "git.sigsum.org/sigsum-go/pkg/types"
)
func CmdHashLeaf(optPriv string, optShardHint uint64) error {
diff --git a/cmd/sigsum-debug/pubkey.go b/cmd/sigsum-debug/pubkey.go
index 586d19a..f74992a 100644
--- a/cmd/sigsum-debug/pubkey.go
+++ b/cmd/sigsum-debug/pubkey.go
@@ -4,7 +4,7 @@ import (
"crypto/ed25519"
"fmt"
- "git.sigsum.org/sigsum-lib-go/pkg/hex"
+ "git.sigsum.org/sigsum-go/pkg/hex"
)
func CmdPubKey() error {
diff --git a/cmd/sigsum-debug/sign.go b/cmd/sigsum-debug/sign.go
index 130a649..61d6d13 100644
--- a/cmd/sigsum-debug/sign.go
+++ b/cmd/sigsum-debug/sign.go
@@ -3,8 +3,8 @@ package main
import (
"fmt"
- "git.sigsum.org/sigsum-lib-go/pkg/hex"
- "git.sigsum.org/sigsum-lib-go/pkg/types"
+ "git.sigsum.org/sigsum-go/pkg/hex"
+ "git.sigsum.org/sigsum-go/pkg/types"
)
func CmdSign(optPriv string, optShardHint uint64) error {
diff --git a/cmd/sigsum-debug/util.go b/cmd/sigsum-debug/util.go
index 8d2cd4e..f2778b0 100644
--- a/cmd/sigsum-debug/util.go
+++ b/cmd/sigsum-debug/util.go
@@ -8,7 +8,7 @@ import (
"os"
"crypto/ed25519"
- "git.sigsum.org/sigsum-lib-go/pkg/hex"
+ "git.sigsum.org/sigsum-go/pkg/hex"
)
func readStdin() ([]byte, error) {
diff --git a/cmd/sigsum/cmd.go b/cmd/sigsum/cmd.go
index c57d9e3..7b9450a 100644
--- a/cmd/sigsum/cmd.go
+++ b/cmd/sigsum/cmd.go
@@ -7,8 +7,8 @@ import (
"io/ioutil"
"time"
- "git.sigsum.org/sigsum-lib-go/pkg/requests"
- "git.sigsum.org/sigsum-lib-go/pkg/types"
+ "git.sigsum.org/sigsum-go/pkg/requests"
+ "git.sigsum.org/sigsum-go/pkg/types"
"git.sigsum.org/sigsum-tools-go/pkg/client"
"git.sigsum.org/sigsum-tools-go/pkg/policy"
"git.sigsum.org/sigsum-tools-go/pkg/signatures"
diff --git a/go.mod b/go.mod
index 4328384..f2946c3 100644
--- a/go.mod
+++ b/go.mod
@@ -3,6 +3,6 @@ module git.sigsum.org/sigsum-tools-go
go 1.15
require (
- git.sigsum.org/sigsum-lib-go v0.0.3
+ git.sigsum.org/sigsum-go v0.0.4
golang.org/x/crypto v0.0.0-20220321153916-2c7772ba3064
)
diff --git a/go.sum b/go.sum
index d21009f..5a22cc2 100644
--- a/go.sum
+++ b/go.sum
@@ -1,7 +1,5 @@
-git.sigsum.org/sigsum-lib-go v0.0.2 h1:1FwdnraPaasw1D1Lb+flRMJRGLTuZrp17AZ6tx+iT/0=
-git.sigsum.org/sigsum-lib-go v0.0.2/go.mod h1:DVmlcf0MBHy4IZdnZ5DcbsKkGEd0EkOAoLINhLgcndY=
-git.sigsum.org/sigsum-lib-go v0.0.3 h1:VXtUC/LOPVb990P8dFitQkYx8a1M54hKFcsK7MiZ514=
-git.sigsum.org/sigsum-lib-go v0.0.3/go.mod h1:DVmlcf0MBHy4IZdnZ5DcbsKkGEd0EkOAoLINhLgcndY=
+git.sigsum.org/sigsum-go v0.0.4 h1:X9Fn81Jrol8WUYsyiYYTSo7go1wfp25l7tAgNE+ZdAY=
+git.sigsum.org/sigsum-go v0.0.4/go.mod h1:atThndG2UQarpAMDfAWmgm9YYIvuYwbeTDx12kztD0w=
golang.org/x/crypto v0.0.0-20220321153916-2c7772ba3064 h1:S25/rfnfsMVgORT4/J61MJ7rdyseOZOyvLIrZEZ7s6s=
golang.org/x/crypto v0.0.0-20220321153916-2c7772ba3064/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4=
golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
diff --git a/pkg/client/api/api.go b/pkg/client/api/api.go
index d773bcc..38406df 100644
--- a/pkg/client/api/api.go
+++ b/pkg/client/api/api.go
@@ -6,8 +6,8 @@
package api
import (
- "git.sigsum.org/sigsum-lib-go/pkg/requests"
- "git.sigsum.org/sigsum-lib-go/pkg/types"
+ "git.sigsum.org/sigsum-go/pkg/requests"
+ "git.sigsum.org/sigsum-go/pkg/types"
)
type API interface {
diff --git a/pkg/client/api/network_client.go b/pkg/client/api/network_client.go
index f7baf76..051645c 100644
--- a/pkg/client/api/network_client.go
+++ b/pkg/client/api/network_client.go
@@ -8,8 +8,8 @@ import (
"log"
"net/http"
- "git.sigsum.org/sigsum-lib-go/pkg/requests"
- "git.sigsum.org/sigsum-lib-go/pkg/types"
+ "git.sigsum.org/sigsum-go/pkg/requests"
+ "git.sigsum.org/sigsum-go/pkg/types"
)
type NetworkClient struct {
diff --git a/pkg/client/submitter.go b/pkg/client/submitter.go
index 287bac3..fe40b63 100644
--- a/pkg/client/submitter.go
+++ b/pkg/client/submitter.go
@@ -8,8 +8,8 @@ import (
"net/http"
"time"
- "git.sigsum.org/sigsum-lib-go/pkg/requests"
- "git.sigsum.org/sigsum-lib-go/pkg/types"
+ "git.sigsum.org/sigsum-go/pkg/requests"
+ "git.sigsum.org/sigsum-go/pkg/types"
"git.sigsum.org/sigsum-tools-go/pkg/client/api"
"git.sigsum.org/sigsum-tools-go/pkg/policy"
)
diff --git a/pkg/policy/default.go b/pkg/policy/default.go
index 6f35fa4..e9a1d49 100644
--- a/pkg/policy/default.go
+++ b/pkg/policy/default.go
@@ -3,7 +3,7 @@ package policy
import (
"fmt"
- "git.sigsum.org/sigsum-lib-go/pkg/types"
+ "git.sigsum.org/sigsum-go/pkg/types"
)
type DefaultPolicy struct{}
diff --git a/pkg/policy/policy.go b/pkg/policy/policy.go
index b4fe920..8ce6cdc 100644
--- a/pkg/policy/policy.go
+++ b/pkg/policy/policy.go
@@ -1,7 +1,7 @@
package policy
import (
- "git.sigsum.org/sigsum-lib-go/pkg/types"
+ "git.sigsum.org/sigsum-go/pkg/types"
)
type Policy interface {
diff --git a/pkg/signatures/minisign/minisign.go b/pkg/signatures/minisign/minisign.go
index 8d8a9c4..0daa04f 100644
--- a/pkg/signatures/minisign/minisign.go
+++ b/pkg/signatures/minisign/minisign.go
@@ -4,7 +4,7 @@ import (
"fmt"
"io"
- "git.sigsum.org/sigsum-lib-go/pkg/types"
+ "git.sigsum.org/sigsum-go/pkg/types"
)
type Parser struct{}
diff --git a/pkg/signatures/signatures.go b/pkg/signatures/signatures.go
index 184c8f3..6f528fb 100644
--- a/pkg/signatures/signatures.go
+++ b/pkg/signatures/signatures.go
@@ -3,7 +3,7 @@ package signatures
import (
"io"
- "git.sigsum.org/sigsum-lib-go/pkg/types"
+ "git.sigsum.org/sigsum-go/pkg/types"
)
type Parser interface {
diff --git a/pkg/signatures/signify/signify.go b/pkg/signatures/signify/signify.go
index 6dbbf07..9903ceb 100644
--- a/pkg/signatures/signify/signify.go
+++ b/pkg/signatures/signify/signify.go
@@ -7,7 +7,7 @@ import (
"io"
"io/ioutil"
- "git.sigsum.org/sigsum-lib-go/pkg/types"
+ "git.sigsum.org/sigsum-go/pkg/types"
)
type Parser struct{}
diff --git a/pkg/signatures/ssh/ssh.go b/pkg/signatures/ssh/ssh.go
index 99b2a48..3588a8e 100644
--- a/pkg/signatures/ssh/ssh.go
+++ b/pkg/signatures/ssh/ssh.go
@@ -7,7 +7,7 @@ import (
"encoding/pem"
sshLib "golang.org/x/crypto/ssh"
- "git.sigsum.org/sigsum-lib-go/pkg/types"
+ "git.sigsum.org/sigsum-go/pkg/types"
)
type Parser struct{}