Wade Simmons 5 年之前
父節點
當前提交
df43f6466e

+ 1 - 1
cmd/nebula-cert/ca.go

@@ -10,8 +10,8 @@ import (
 	"strings"
 	"strings"
 	"time"
 	"time"
 
 
-	"golang.org/x/crypto/ed25519"
 	"github.com/slackhq/nebula/cert"
 	"github.com/slackhq/nebula/cert"
+	"golang.org/x/crypto/ed25519"
 )
 )
 
 
 type caFlags struct {
 type caFlags struct {

+ 1 - 1
cmd/nebula-cert/ca_test.go

@@ -9,8 +9,8 @@ import (
 	"testing"
 	"testing"
 	"time"
 	"time"
 
 
-	"github.com/stretchr/testify/assert"
 	"github.com/slackhq/nebula/cert"
 	"github.com/slackhq/nebula/cert"
+	"github.com/stretchr/testify/assert"
 )
 )
 
 
 //TODO: test file permissions
 //TODO: test file permissions

+ 1 - 1
cmd/nebula-cert/keygen_test.go

@@ -6,8 +6,8 @@ import (
 	"os"
 	"os"
 	"testing"
 	"testing"
 
 
-	"github.com/stretchr/testify/assert"
 	"github.com/slackhq/nebula/cert"
 	"github.com/slackhq/nebula/cert"
+	"github.com/stretchr/testify/assert"
 )
 )
 
 
 //TODO: test file permissions
 //TODO: test file permissions

+ 1 - 1
cmd/nebula-cert/print.go

@@ -4,10 +4,10 @@ import (
 	"encoding/json"
 	"encoding/json"
 	"flag"
 	"flag"
 	"fmt"
 	"fmt"
+	"github.com/slackhq/nebula/cert"
 	"io"
 	"io"
 	"io/ioutil"
 	"io/ioutil"
 	"os"
 	"os"
-	"github.com/slackhq/nebula/cert"
 	"strings"
 	"strings"
 )
 )
 
 

+ 1 - 1
cmd/nebula-cert/print_test.go

@@ -2,10 +2,10 @@ package main
 
 
 import (
 import (
 	"bytes"
 	"bytes"
+	"github.com/slackhq/nebula/cert"
 	"github.com/stretchr/testify/assert"
 	"github.com/stretchr/testify/assert"
 	"io/ioutil"
 	"io/ioutil"
 	"os"
 	"os"
-	"github.com/slackhq/nebula/cert"
 	"testing"
 	"testing"
 	"time"
 	"time"
 )
 )

+ 1 - 1
cmd/nebula-cert/sign_test.go

@@ -10,9 +10,9 @@ import (
 	"testing"
 	"testing"
 	"time"
 	"time"
 
 
+	"github.com/slackhq/nebula/cert"
 	"github.com/stretchr/testify/assert"
 	"github.com/stretchr/testify/assert"
 	"golang.org/x/crypto/ed25519"
 	"golang.org/x/crypto/ed25519"
-	"github.com/slackhq/nebula/cert"
 )
 )
 
 
 //TODO: test file permissions
 //TODO: test file permissions

+ 1 - 1
cmd/nebula-cert/verify.go

@@ -3,10 +3,10 @@ package main
 import (
 import (
 	"flag"
 	"flag"
 	"fmt"
 	"fmt"
+	"github.com/slackhq/nebula/cert"
 	"io"
 	"io"
 	"io/ioutil"
 	"io/ioutil"
 	"os"
 	"os"
-	"github.com/slackhq/nebula/cert"
 	"strings"
 	"strings"
 	"time"
 	"time"
 )
 )

+ 1 - 1
cmd/nebula-cert/verify_test.go

@@ -3,11 +3,11 @@ package main
 import (
 import (
 	"bytes"
 	"bytes"
 	"crypto/rand"
 	"crypto/rand"
+	"github.com/slackhq/nebula/cert"
 	"github.com/stretchr/testify/assert"
 	"github.com/stretchr/testify/assert"
 	"golang.org/x/crypto/ed25519"
 	"golang.org/x/crypto/ed25519"
 	"io/ioutil"
 	"io/ioutil"
 	"os"
 	"os"
-	"github.com/slackhq/nebula/cert"
 	"testing"
 	"testing"
 	"time"
 	"time"
 )
 )

+ 1 - 1
firewall_test.go

@@ -4,10 +4,10 @@ import (
 	"encoding/binary"
 	"encoding/binary"
 	"errors"
 	"errors"
 	"github.com/rcrowley/go-metrics"
 	"github.com/rcrowley/go-metrics"
+	"github.com/slackhq/nebula/cert"
 	"github.com/stretchr/testify/assert"
 	"github.com/stretchr/testify/assert"
 	"math"
 	"math"
 	"net"
 	"net"
-	"github.com/slackhq/nebula/cert"
 	"testing"
 	"testing"
 	"time"
 	"time"
 )
 )

+ 1 - 1
ssh.go

@@ -6,12 +6,12 @@ import (
 	"flag"
 	"flag"
 	"fmt"
 	"fmt"
 	"github.com/sirupsen/logrus"
 	"github.com/sirupsen/logrus"
+	"github.com/slackhq/nebula/sshd"
 	"io/ioutil"
 	"io/ioutil"
 	"net"
 	"net"
 	"os"
 	"os"
 	"reflect"
 	"reflect"
 	"runtime/pprof"
 	"runtime/pprof"
-	"github.com/slackhq/nebula/sshd"
 	"strings"
 	"strings"
 	"syscall"
 	"syscall"
 )
 )