Skip to content
This repository was archived by the owner on Jan 22, 2025. It is now read-only.

Commit 15145da

Browse files
committed
Rename module to match github repo name: bot-sshca
Also fix a linting error that popped up
1 parent c9be4a5 commit 15145da

15 files changed

Lines changed: 35 additions & 35 deletions

File tree

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module github.com/keybase/bot-ssh-ca
1+
module github.com/keybase/bot-sshca
22

33
go 1.12
44

src/cmd/keybaseca/keybaseca.go

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,16 @@ import (
1212
"sync"
1313
"syscall"
1414

15-
"github.com/keybase/bot-ssh-ca/src/keybaseca/constants"
15+
"github.com/keybase/bot-sshca/src/keybaseca/constants"
1616

1717
"github.com/google/uuid"
1818

19-
"github.com/keybase/bot-ssh-ca/src/keybaseca/bot"
20-
"github.com/keybase/bot-ssh-ca/src/keybaseca/config"
21-
klog "github.com/keybase/bot-ssh-ca/src/keybaseca/log"
22-
"github.com/keybase/bot-ssh-ca/src/keybaseca/sshutils"
23-
"github.com/keybase/bot-ssh-ca/src/kssh"
24-
"github.com/keybase/bot-ssh-ca/src/shared"
19+
"github.com/keybase/bot-sshca/src/keybaseca/bot"
20+
"github.com/keybase/bot-sshca/src/keybaseca/config"
21+
klog "github.com/keybase/bot-sshca/src/keybaseca/log"
22+
"github.com/keybase/bot-sshca/src/keybaseca/sshutils"
23+
"github.com/keybase/bot-sshca/src/kssh"
24+
"github.com/keybase/bot-sshca/src/shared"
2525

2626
"github.com/urfave/cli"
2727
)

src/cmd/kssh/kssh.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ import (
88
"strings"
99
"time"
1010

11-
"github.com/keybase/bot-ssh-ca/src/keybaseca/sshutils"
11+
"github.com/keybase/bot-sshca/src/keybaseca/sshutils"
1212

1313
"github.com/google/uuid"
14-
"github.com/keybase/bot-ssh-ca/src/kssh"
15-
"github.com/keybase/bot-ssh-ca/src/shared"
14+
"github.com/keybase/bot-sshca/src/kssh"
15+
"github.com/keybase/bot-sshca/src/shared"
1616
log "github.com/sirupsen/logrus"
1717

1818
"golang.org/x/crypto/ssh"

src/cmd/kssh/kssh_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"os"
77
"testing"
88

9-
"github.com/keybase/bot-ssh-ca/src/shared"
9+
"github.com/keybase/bot-sshca/src/shared"
1010
"github.com/stretchr/testify/require"
1111
)
1212

@@ -26,7 +26,7 @@ func copyKeyFromTestFixture(t *testing.T, name, destination string) {
2626
}
2727

2828
func TestIsValidCert(t *testing.T) {
29-
certTestFilename := "/tmp/bot-ssh-ca-test-is-valid-cert"
29+
certTestFilename := "/tmp/bot-sshca-test-is-valid-cert"
3030

3131
os.Remove(certTestFilename)
3232
os.Remove(shared.KeyPathToPubKey(certTestFilename))

src/keybaseca/bot/bot.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ import (
55
"fmt"
66
"strings"
77

8-
"github.com/keybase/bot-ssh-ca/src/keybaseca/botwrapper"
8+
"github.com/keybase/bot-sshca/src/keybaseca/botwrapper"
99

10-
"github.com/keybase/bot-ssh-ca/src/keybaseca/log"
10+
"github.com/keybase/bot-sshca/src/keybaseca/log"
1111

12-
"github.com/keybase/bot-ssh-ca/src/keybaseca/sshutils"
12+
"github.com/keybase/bot-sshca/src/keybaseca/sshutils"
1313

14-
"github.com/keybase/bot-ssh-ca/src/keybaseca/config"
15-
"github.com/keybase/bot-ssh-ca/src/shared"
14+
"github.com/keybase/bot-sshca/src/keybaseca/config"
15+
"github.com/keybase/bot-sshca/src/shared"
1616
"github.com/keybase/go-keybase-chat-bot/kbchat"
1717
)
1818

src/keybaseca/config/config.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ import (
66
"os"
77
"strings"
88

9-
"github.com/keybase/bot-ssh-ca/src/keybaseca/constants"
9+
"github.com/keybase/bot-sshca/src/keybaseca/constants"
1010

11-
"github.com/keybase/bot-ssh-ca/src/keybaseca/botwrapper"
11+
"github.com/keybase/bot-sshca/src/keybaseca/botwrapper"
1212

13-
"github.com/keybase/bot-ssh-ca/src/shared"
13+
"github.com/keybase/bot-sshca/src/shared"
1414
)
1515

1616
// Represents a loaded and validated config for keybaseca

src/keybaseca/constants/kbfs.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package constants
22

3-
import "github.com/keybase/bot-ssh-ca/src/shared"
3+
import "github.com/keybase/bot-sshca/src/shared"
44

55
// Get the default KBFSOperation struct used for KBFS operations. Currently keybaseca does not support running with a
66
// custom keybase binary path

src/keybaseca/log/log.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ import (
66
"strings"
77
"time"
88

9-
"github.com/keybase/bot-ssh-ca/src/keybaseca/constants"
9+
"github.com/keybase/bot-sshca/src/keybaseca/constants"
1010

11-
"github.com/keybase/bot-ssh-ca/src/keybaseca/config"
11+
"github.com/keybase/bot-sshca/src/keybaseca/config"
1212
)
1313

1414
// Log attempts to log the given string to a file. If conf.GetStrictLogging() it will panic if it fails

src/keybaseca/sshutils/generate_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ import (
66
"strings"
77
"testing"
88

9-
"github.com/keybase/bot-ssh-ca/src/shared"
9+
"github.com/keybase/bot-sshca/src/shared"
1010
"github.com/stretchr/testify/require"
1111
)
1212

1313
// Test generating a new SSH key
1414
func TestGenerateNewSSHKey(t *testing.T) {
15-
filename := "/tmp/bot-ssh-ca-integration-test-generate-key"
15+
filename := "/tmp/bot-sshca-integration-test-generate-key"
1616
os.Remove(filename)
1717

1818
err := GenerateNewSSHKey(filename, false, false)

src/keybaseca/sshutils/generate_windows.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111
"io/ioutil"
1212
"os"
1313

14-
"github.com/keybase/bot-ssh-ca/src/shared"
14+
"github.com/keybase/bot-sshca/src/shared"
1515
"golang.org/x/crypto/ssh"
1616
)
1717

0 commit comments

Comments
 (0)